Searched refs:newToken (Results 1 – 25 of 33) sorted by relevance
12
2874 return newToken(EOF); in nextToken()2917 private Token newToken(int type, String text, boolean hidden) { in newToken() method in smaliFlexLexer2930 private Token newToken(int type, String text) { in newToken() method in smaliFlexLexer2931 return newToken(type, text, false); in newToken()2934 private Token newToken(int type, boolean hidden) { in newToken() method in smaliFlexLexer2935 return newToken(type, yytext(), hidden); in newToken()2938 private Token newToken(int type) { in newToken() method in smaliFlexLexer2939 return newToken(type, yytext(), false); in newToken()3354 { return newToken(INSTRUCTION_FORMAT22b); in yylex()3358 { return newToken(VTABLE_INDEX); in yylex()[all …]
48 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);235 ".class" { return newToken(CLASS_DIRECTIVE); }236 ".super" { return newToken(SUPER_DIRECTIVE); }[all …]
293 pANTLR3_COMMON_TOKEN newToken; in createToken() local295 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 …]
62 static pANTLR3_COMMON_TOKEN newToken (void);79 token = newToken(); in antlr3CommonTokenNew()107 factory->newToken = newPoolToken; in antlr3TokenFactoryNew()304 newToken(void) in newToken() function
651 token = lexer->rec->state->tokFactory->newToken(lexer->rec->state->tokFactory); in emit()
2198 token = recognizer->state->tokFactory->newToken(recognizer->state->tokFactory); in getMissingSymbol()
17 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 …]
192 newToken();// in apply()203 newToken(); in apply()205 newToken(); in apply()216 newToken(); in apply()218 newToken(); in apply()237 newToken(); in apply()242 newToken(); in apply()247 newToken(); in apply()253 newToken(); in apply()255 newToken(); in apply()[all …]
77 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 …]
52 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 *) newToken80 + (ANTLRCommonToken *) newToken:(id<ANTLRCharStream>)anInput Type:(NSInteger)aTType Channel:(NSInte…85 + (ANTLRCommonToken *) newToken:(ANTLRTokenType)tokenType90 + (ANTLRCommonToken *) newToken:(NSInteger)tokenType Text:(NSString *)tokenText104 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];
54 + (id<ANTLRToken>) newToken;55 + (id<ANTLRToken>) newToken:(id<ANTLRCharStream>)anInput60 + (id<ANTLRToken>) newToken:(ANTLRTokenType)aType;61 + (id<ANTLRToken>) newToken:(NSInteger)tokenType Text:(NSString *)tokenText;
113 token = [[ANTLRCommonToken newToken:aTokenType] retain];128 token = [[ANTLRCommonToken newToken:aTokenType Text:theText] retain];
112 return [ANTLRCommonToken newToken:expectedTokenType Text:tokenText];174 e.token = [ANTLRCommonToken newToken:[adaptor getType:e.node]
108 ANTLRCommonToken *t = [[ANTLRCommonToken newToken:expectedTokenType Text:tokenText] retain];
127 ANTLRCommonToken *eof = [ANTLRCommonToken newToken:input204 id<ANTLRToken> aToken = [ANTLRCommonToken newToken:input
152 id<ANTLRToken> wildcardPayload = [ANTLRCommonToken newToken:0 Text:@"."];
96 id<ANTLRToken> fromToken = [ANTLRCommonToken newToken:tokenType Text:text];
39 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];
40 …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 …]
346 pANTLR3_COMMON_TOKEN (*newToken) (struct ANTLR3_TOKEN_FACTORY_struct * factory); member
640 newToken (); in parameterDescriptor()742 private void newToken () in newToken() method in Types.methodDescriptorCompiler
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
158 …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…
1240 <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…
2192 var newToken = this.nextToken();2193 this.peeked = newToken;2194 return newToken;