Home
last modified time | relevance | path

Searched refs:newToken (Results 1 – 25 of 45) sorted by relevance

12

/external/smali/smali/src/main/java/org/jf/smali/
DsmaliFlexLexer.java3043 return newToken(EOF); in nextToken()
3086 private Token newToken(int type, String text, boolean hidden) { in newToken() method in smaliFlexLexer
3099 private Token newToken(int type, String text) { in newToken() method in smaliFlexLexer
3100 return newToken(type, text, false); in newToken()
3103 private Token newToken(int type, boolean hidden) { in newToken() method in smaliFlexLexer
3104 return newToken(type, yytext(), hidden); in newToken()
3107 private Token newToken(int type) { in newToken() method in smaliFlexLexer
3108 return newToken(type, yytext(), false); in newToken()
3523 { return newToken(INSTRUCTION_FORMAT22b); in yylex()
3527 { return newToken(VTABLE_INDEX); in yylex()
[all …]
/external/smali/smali/src/main/jflex/
DsmaliLexer.jflex48 return newToken(EOF);
91 private Token newToken(int type, String text, boolean hidden) {
104 private Token newToken(int type, String text) {
105 return newToken(type, text, false);
108 private Token newToken(int type, boolean hidden) {
109 return newToken(type, yytext(), hidden);
112 private Token newToken(int type) {
113 return newToken(type, yytext(), false);
250 ".class" { return newToken(CLASS_DIRECTIVE); }
251 ".super" { return newToken(SUPER_DIRECTIVE); }
[all …]
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3commontreeadaptor.c293 pANTLR3_COMMON_TOKEN newToken; in createToken() local
295 newToken = adaptor->tokenFactory->newToken(adaptor->tokenFactory); in createToken()
297 if (newToken != NULL) in createToken()
299 newToken->textState = ANTLR3_TEXT_CHARP; in createToken()
300 newToken->tokText.chars = (pANTLR3_UCHAR)text; in createToken()
301 newToken->setType(newToken, tokenType); in createToken()
302 newToken->input = adaptor->tokenFactory->input; in createToken()
303 newToken->strFactory = adaptor->strFactory; in createToken()
305 return newToken; in createToken()
329 pANTLR3_COMMON_TOKEN newToken; in createTokenFromToken() local
[all …]
Dantlr3commontoken.c62 static pANTLR3_COMMON_TOKEN newToken (void);
79 token = newToken(); in antlr3CommonTokenNew()
107 factory->newToken = newPoolToken; in antlr3TokenFactoryNew()
304 newToken(void) in newToken() function
Dantlr3lexer.c651 token = lexer->rec->state->tokFactory->newToken(lexer->rec->state->tokFactory); in emit()
Dantlr3baserecognizer.c2198 token = recognizer->state->tokFactory->newToken(recognizer->state->tokFactory); in getMissingSymbol()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/token/
DANTLRCommonTokenTest.m17 ANTLRCommonToken *token = [[ANTLRCommonToken newToken] retain];
32 ANTLRCommonToken *token = [[ANTLRCommonToken newToken:ANTLRTokenTypeUP] retain];
43 ANTLRCommonToken *token = [[ANTLRCommonToken newToken:ANTLRTokenTypeUP Text:@"<UP>"] retain];
54 …ANTLRCommonToken *token = [[ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDef…
66 …ANTLRCommonToken *token = [[ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDef…
72 ANTLRCommonToken *newToken = [[ANTLRCommonToken newTokenWithToken:token] retain];
73 STAssertNotNil(newToken, @"New token is nil!");
74 …STAssertEquals(newToken.type, token.type, @"Tokens types do not match %d:%d!", newToken.type, toke…
75 STAssertEquals(newToken.line, token.line, @"Token lines do not match!");
76 STAssertEquals(newToken.index, token.index, @"Token indexes do not match");
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeAdaptor.m77 id<ANTLRToken> newToken = [self createToken:fromToken];
78 [newToken setType:tokenType];
80 id<ANTLRBaseTree> newTree = [self create:newToken];
81 [newToken release];
93 id<ANTLRToken> newToken = [self createToken:fromToken];
94 [newToken setText:tokenText];
96 id<ANTLRBaseTree> newTree = [self create:newToken];
97 [newToken release];
109 id<ANTLRToken> newToken = [self createToken:tokenType text:tokenText];
111 id<ANTLRBaseTree> newTree = [self create:newToken];
[all …]
DANTLRCommonToken.m52 EOF_TOKEN = [ANTLRCommonToken newToken:ANTLRTokenTypeEOF Text:@"EOF"];
53 SKIP_TOKEN = [ANTLRCommonToken newToken:ANTLRTokenTypeInvalid Text:@"Skip"];
54 INVALID_TOKEN = [ANTLRCommonToken newToken:ANTLRTokenTypeInvalid Text:@"Invalid"];
75 + (ANTLRCommonToken *) newToken
80 + (ANTLRCommonToken *) newToken:(id<ANTLRCharStream>)anInput Type:(NSInteger)aTType Channel:(NSInte…
85 + (ANTLRCommonToken *) newToken:(ANTLRTokenType)tokenType
90 + (ANTLRCommonToken *) newToken:(NSInteger)tokenType Text:(NSString *)tokenText
104 EOF_TOKEN = [[ANTLRCommonToken newToken:ANTLRTokenTypeEOF Text:@"EOF"] retain];
113 SKIP_TOKEN = [[ANTLRCommonToken newToken:ANTLRTokenTypeInvalid Text:@"Skip"] retain];
122 INVALID_TOKEN = [[ANTLRCommonToken newToken:ANTLRTokenTypeInvalid Text:@"Invalid"] retain];
DANTLRCommonToken.h54 + (id<ANTLRToken>) newToken;
55 + (id<ANTLRToken>) newToken:(id<ANTLRCharStream>)anInput
60 + (id<ANTLRToken>) newToken:(ANTLRTokenType)aType;
61 + (id<ANTLRToken>) newToken:(NSInteger)tokenType Text:(NSString *)tokenText;
DANTLRCommonTree.m113 token = [[ANTLRCommonToken newToken:aTokenType] retain];
128 token = [[ANTLRCommonToken newToken:aTokenType Text:theText] retain];
DANTLRTreeParser.m112 return [ANTLRCommonToken newToken:expectedTokenType Text:tokenText];
174 e.token = [ANTLRCommonToken newToken:[adaptor getType:e.node]
DANTLRParser.m108 ANTLRCommonToken *t = [[ANTLRCommonToken newToken:expectedTokenType Text:tokenText] retain];
DANTLRLexer.m127 ANTLRCommonToken *eof = [ANTLRCommonToken newToken:input
204 id<ANTLRToken> aToken = [ANTLRCommonToken newToken:input
DANTLRTreePatternParser.m152 id<ANTLRToken> wildcardPayload = [ANTLRCommonToken newToken:0 Text:@"."];
DANTLRCommonTreeAdaptor.m96 id<ANTLRToken> fromToken = [ANTLRCommonToken newToken:tokenType Text:text];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/
DTestRewriteRuleTokenStream.m39 token1 = [ANTLRCommonToken newToken:5];
40 token2 = [ANTLRCommonToken newToken:6];
41 token3 = [ANTLRCommonToken newToken:7];
42 token4 = [ANTLRCommonToken newToken:8];
74 token1 = [ANTLRCommonToken newToken:5];
75 token2 = [ANTLRCommonToken newToken:6];
94 token1 = [ANTLRCommonToken newToken:5];
95 token2 = [ANTLRCommonToken newToken:6];
96 token3 = [ANTLRCommonToken newToken:7];
97 token4 = [ANTLRCommonToken newToken:8];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m40 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
70 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
90 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
136 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
150 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
172 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
202 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
252 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
278 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
299 …ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefa…
[all …]
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3commontoken.h346 pANTLR3_COMMON_TOKEN (*newToken) (struct ANTLR3_TOKEN_FACTORY_struct * factory); member
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java640 newToken (); in parameterDescriptor()
742 private void newToken () in newToken() method in Types.methodDescriptorCompiler
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.lucene.analysis_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/
DFuzzy.m158 …name = [[ANTLRCommonToken newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefau…
294 …name = [[ANTLRCommonToken newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefau…
541 …name = [[ANTLRCommonToken newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefau…
878 …name = [[ANTLRCommonToken newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefau…
1106 …name = [[ANTLRCommonToken newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefau…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg1240 <label> = [[<labelType> newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefault …
1303 <label> = [[<labelType> newToken:input Type:ANTLRTokenTypeInvalid Channel:ANTLRTokenChannelDefault …
1321 <labelType> <label> = [[<labelType> newToken:input Type:ANTLRTokenTypeEOF Channel:ANTLRTokenChannel…
/external/testng/ant/3rdparty/
Dcobertura.jarMETA-INF/ META-INF/MANIFEST.MF net/ net/sourceforge/ net/ ...
/external/v8/benchmarks/
Dearley-boyer.js2192 var newToken = this.nextToken();
2193 this.peeked = newToken;
2194 return newToken;

12