/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliFlexLexer.java | 2975 return newToken(EOF); in nextToken() 3018 private Token newToken(int type, String text, boolean hidden) { in newToken() method in smaliFlexLexer 3031 private Token newToken(int type, String text) { in newToken() method in smaliFlexLexer 3032 return newToken(type, text, false); in newToken() 3035 private Token newToken(int type, boolean hidden) { in newToken() method in smaliFlexLexer 3036 return newToken(type, yytext(), hidden); in newToken() 3039 private Token newToken(int type) { in newToken() method in smaliFlexLexer 3040 return newToken(type, yytext(), false); in newToken() 3488 return newToken(EOF); in yylex() 3522 { return newToken(POSITIVE_INTEGER_LITERAL); in yylex() [all …]
|
/external/smali/smali/src/main/jflex/ |
D | smaliLexer.jflex | 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); 250 ".class" { return newToken(CLASS_DIRECTIVE); } 251 ".super" { return newToken(SUPER_DIRECTIVE); } [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3commontreeadaptor.c | 293 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 …]
|
D | antlr3commontoken.c | 62 static pANTLR3_COMMON_TOKEN newToken (void); 79 token = newToken(); in antlr3CommonTokenNew() 107 factory->newToken = newPoolToken; in antlr3TokenFactoryNew() 304 newToken(void) in newToken() function
|
D | antlr3lexer.c | 651 token = lexer->rec->state->tokFactory->newToken(lexer->rec->state->tokFactory); in emit()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/token/ |
D | ANTLRCommonTokenTest.m | 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 …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | JavaToken.java | 706 public void insert(JavaToken newToken) { in insert() argument 707 assertNotNull(newToken); in insert() 709 p.nextToken = newToken; in insert() 710 newToken.previousToken = p; in insert() 712 previousToken = newToken; in insert() 713 newToken.nextToken = this; in insert() 719 public void insertAfter(JavaToken newToken) { in insertAfter() argument 720 assertNotNull(newToken); in insertAfter() 722 n.previousToken = newToken; in insertAfter() 723 newToken.nextToken = n; in insertAfter() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTreeAdaptor.m | 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 …]
|
D | ANTLRCommonToken.m | 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 *) 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];
|
D | ANTLRCommonToken.h | 54 + (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;
|
D | ANTLRTreeParser.m | 112 return [ANTLRCommonToken newToken:expectedTokenType Text:tokenText]; 174 e.token = [ANTLRCommonToken newToken:[adaptor getType:e.node]
|
D | ANTLRCommonTree.m | 113 token = [[ANTLRCommonToken newToken:aTokenType] retain]; 128 token = [[ANTLRCommonToken newToken:aTokenType Text:theText] retain];
|
D | ANTLRParser.m | 108 ANTLRCommonToken *t = [[ANTLRCommonToken newToken:expectedTokenType Text:tokenText] retain];
|
D | ANTLRLexer.m | 127 ANTLRCommonToken *eof = [ANTLRCommonToken newToken:input 204 id<ANTLRToken> aToken = [ANTLRCommonToken newToken:input
|
D | ANTLRTreePatternParser.m | 152 id<ANTLRToken> wildcardPayload = [ANTLRCommonToken newToken:0 Text:@"."];
|
D | ANTLRCommonTreeAdaptor.m | 96 id<ANTLRToken> fromToken = [ANTLRCommonToken newToken:tokenType Text:text];
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/ |
D | TestRewriteRuleTokenStream.m | 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];
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
D | Token.java | 129 public static Token newToken(int ofKind, String image) in newToken() method in Token 137 public static Token newToken(int ofKind) in newToken() method in Token 139 return newToken(ofKind, null); in newToken()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/ |
D | Token.java | 129 public static Token newToken(int ofKind, String image) in newToken() method in Token 137 public static Token newToken(int ofKind) in newToken() method in Token 139 return newToken(ofKind, null); in newToken()
|
D | ASTParserTokenManager.java | 2345 t = ASTParser.GTToken.newToken(jjmatchedKind, curTokenImage); in jjFillToken()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
D | ANTLRCommonTreeTest.m | 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 …]
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3commontoken.h | 346 pANTLR3_COMMON_TOKEN (*newToken) (struct ANTLR3_TOKEN_FACTORY_struct * factory); member
|
/external/emma/core/java12/com/vladium/jcd/lib/ |
D | Types.java | 640 newToken (); in parameterDescriptor() 742 private void newToken () in newToken() method in Types.methodDescriptorCompiler
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/ |
D | Fuzzy.m | 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…
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ObjC.stg | 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…
|