/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliFlexLexer.java | 3099 return newToken(EOF); in nextToken() 3142 private Token newToken(int type, String text, boolean hidden) { in newToken() method in smaliFlexLexer 3155 private Token newToken(int type, String text) { in newToken() method in smaliFlexLexer 3156 return newToken(type, text, false); in newToken() 3159 private Token newToken(int type, boolean hidden) { in newToken() method in smaliFlexLexer 3160 return newToken(type, yytext(), hidden); in newToken() 3163 private Token newToken(int type) { in newToken() method in smaliFlexLexer 3164 return newToken(type, yytext(), false); in newToken() 3612 return newToken(EOF); in yylex() 3646 { return newToken(POSITIVE_INTEGER_LITERAL); in yylex() [all …]
|
/external/smali/smali/src/main/jflex/ |
D | smaliLexer.jflex | 49 return newToken(EOF); 92 private Token newToken(int type, String text, boolean hidden) { 105 private Token newToken(int type, String text) { 106 return newToken(type, text, false); 109 private Token newToken(int type, boolean hidden) { 110 return newToken(type, yytext(), hidden); 113 private Token newToken(int type) { 114 return newToken(type, yytext(), false); 251 ".class" { return newToken(CLASS_DIRECTIVE); } 252 ".super" { return newToken(SUPER_DIRECTIVE); } [all …]
|
/external/antlr/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() 327 newToken(void) in newToken() function
|
/external/antlr/runtime/ObjC/Framework/test/runtime/token/ |
D | CommonTokenTest.m | 17 CommonToken *token = [[CommonToken newToken] retain]; 32 CommonToken *token = [[CommonToken newToken:TokenTypeUP] retain]; 43 CommonToken *token = [[CommonToken newToken:TokenTypeUP Text:@"<UP>"] retain]; 54 …CommonToken *token = [[CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 St… 66 …CommonToken *token = [[CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 St… 72 CommonToken *newToken = [[CommonToken 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/runtime/ObjC/Framework/ |
D | TreeAdaptor.m | 77 id<Token> newToken = [self createToken:fromToken]; 78 [newToken setType:tokenType]; 80 id newTree = [self create:newToken]; 81 [newToken release]; 93 id<Token> newToken = [self createToken:fromToken]; 94 [newToken setText:tokenText]; 96 id newTree = [self create:newToken]; 97 [newToken release]; 109 id<Token> newToken = [self createToken:tokenType text:tokenText]; 111 id newTree = [self create:newToken]; [all …]
|
D | CommonToken.m | 52 EOF_TOKEN = [CommonToken newToken:TokenTypeEOF Text:@"EOF"]; 53 SKIP_TOKEN = [CommonToken newToken:TokenTypeInvalid Text:@"Skip"]; 54 INVALID_TOKEN = [CommonToken newToken:TokenTypeInvalid Text:@"Invalid"]; 75 + (CommonToken *) newToken 80 + (CommonToken *) newToken:(id<CharStream>)anInput Type:(NSInteger)aTType Channel:(NSInteger)aChann… 85 + (CommonToken *) newToken:(TokenType)tokenType 90 + (CommonToken *) newToken:(NSInteger)tokenType Text:(NSString *)tokenText 104 EOF_TOKEN = [[CommonToken newToken:TokenTypeEOF Text:@"EOF"] retain]; 113 SKIP_TOKEN = [[CommonToken newToken:TokenTypeInvalid Text:@"Skip"] retain]; 122 INVALID_TOKEN = [[CommonToken newToken:TokenTypeInvalid Text:@"Invalid"] retain];
|
D | CommonToken.h | 54 + (id<Token>) newToken; 55 + (id<Token>) newToken:(id<CharStream>)anInput 60 + (id<Token>) newToken:(TokenType)aType; 61 + (id<Token>) newToken:(NSInteger)tokenType Text:(NSString *)tokenText;
|
D | TreeParser.m | 112 return [CommonToken newToken:expectedTokenType Text:tokenText]; 174 e.token = [CommonToken newToken:[adaptor getType:(CommonTree *)e.node]
|
D | CommonTree.m | 113 token = [[CommonToken newToken:aTokenType] retain]; 128 token = [[CommonToken newToken:aTokenType Text:theText] retain];
|
D | Parser.m | 108 CommonToken *t = [[CommonToken newToken:expectedTokenType Text:tokenText] retain];
|
/external/antlr/runtime/ObjC/Framework/test/runtime/TestRewriteRuleTokenStream/ |
D | TestRewriteRuleTokenStream.m | 39 token1 = [CommonToken newToken:5]; 40 token2 = [CommonToken newToken:6]; 41 token3 = [CommonToken newToken:7]; 42 token4 = [CommonToken newToken:8]; 74 token1 = [CommonToken newToken:5]; 75 token2 = [CommonToken newToken:6]; 94 token1 = [CommonToken newToken:5]; 95 token2 = [CommonToken newToken:6]; 96 token3 = [CommonToken newToken:7]; 97 token4 = [CommonToken newToken:8];
|
/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()
|
/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-core/generated-sources/javacc/com/github/javaparser/ |
D | Token.java | 138 public static Token newToken(int ofKind, String image) in newToken() method in Token 146 public static Token newToken(int ofKind) in newToken() method in Token 148 return newToken(ofKind, null); in newToken()
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3commontreeadaptor.inl | 296 CommonTokenType* newToken = new CommonTokenType; local 298 if (newToken != NULL) 300 newToken->set_tokText( (const char*) text ); 301 newToken->setType(tokenType); 303 return newToken; 311 CommonTokenType* newToken; local 313 newToken = new CommonTokenType; 315 if (newToken != NULL) 321 newToken->set_tokText( text ); 322 newToken->setLine( fromToken->getLine() ); [all …]
|
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/ |
D | CommonTreeTest.m | 40 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 70 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 90 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 136 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 150 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 172 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 202 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 252 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 278 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… 299 …CommonToken *token = [CommonToken newToken:stream Type:555 Channel:TokenChannelDefault Start:4 Sto… [all …]
|
/external/apache-commons-bcel/src/examples/Mini/ |
D | Token.java | 91 public static Token newToken(int ofKind) in newToken() method in Token
|
/external/antlr/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/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | Pp.cpp | 187 int newToken; in CPPdefine() local 194 newToken = mac.body.getToken(parseContext, &newPpToken); in CPPdefine() 200 if (oldToken != newToken || oldPpToken != newPpToken) { in CPPdefine() 205 } while (newToken != EndOfInput); in CPPdefine()
|
D | PpScanner.cpp | 1296 int newToken = atomStrings.getAtom(ppToken.name); in tokenPaste() local 1297 if (newToken > 0) in tokenPaste() 1298 resultToken = newToken; in tokenPaste()
|
/external/angle/third_party/glslang/src/glslang/MachineIndependent/preprocessor/ |
D | Pp.cpp | 187 int newToken; in CPPdefine() local 194 newToken = mac.body.getToken(parseContext, &newPpToken); in CPPdefine() 200 if (oldToken != newToken || oldPpToken != newPpToken) { in CPPdefine() 205 } while (newToken != EndOfInput); in CPPdefine()
|
D | PpScanner.cpp | 1296 int newToken = atomStrings.getAtom(ppToken.name); in tokenPaste() local 1297 if (newToken > 0) in tokenPaste() 1298 resultToken = newToken; in tokenPaste()
|