Home
last modified time | relevance | path

Searched refs:tokenText (Results 1 – 25 of 32) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/icu/
DCompareIcuOutput.java224 StringBuffer tokenText = new StringBuffer(); in parseRB() local
244 MyTokenizer.Type nextToken = tokenIterator.next(tokenText); in parseRB()
246 System.out.println(nextToken + "\t" + tokenText); in parseRB()
251 comments.add(Row.of(nextToken, tokenText.toString())); in parseRB()
261 lastLabel = lastLabel == null ? tokenText.toString() : lastLabel + " " + tokenText; in parseRB()
265 lastLabel = tokenText.toString(); in parseRB()
268 lastLabel += tokenText; in parseRB()
323 …ow new IllegalArgumentException("Illegal type in " + filename + ": " + nextToken + "\t" + tokenText in parseRB()
324 + "\t" + Utility.hex(tokenText)); in parseRB()
365 public Type next(StringBuffer tokenText) { in next() argument
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DParser.cs78 string tokenText = null; in GetMissingSymbol()
80 tokenText = "<missing EOF>"; in GetMissingSymbol()
82 tokenText = "<missing " + TokenNames[expectedTokenType] + ">"; in GetMissingSymbol()
83 CommonToken t = new CommonToken( expectedTokenType, tokenText ); in GetMissingSymbol()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DParser.cs71 string tokenText = null; in GetMissingSymbol()
73 tokenText = "<missing EOF>"; in GetMissingSymbol()
75 tokenText = "<missing " + TokenNames[expectedTokenType] + ">"; in GetMissingSymbol()
76 CommonToken t = new CommonToken(expectedTokenType, tokenText); in GetMissingSymbol()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DParser.java65 String tokenText; in getMissingSymbol() local
66 if ( expectedTokenType==Token.EOF ) tokenText = "<missing EOF>"; in getMissingSymbol()
67 else tokenText = "<missing "+getTokenNames()[expectedTokenType]+">"; in getMissingSymbol()
68 CommonToken t = new CommonToken(expectedTokenType, tokenText); in getMissingSymbol()
/external/antlr/runtime/ObjC/Framework/
DDebugTreeAdaptor.m155 - (id<BaseTree>) newTreeWithTokenType:(NSInteger)tokenType text:(NSString *)tokenText
157 id<BaseTree> newTree = [treeAdaptor newTreeWithTokenType:tokenType text:tokenText];
158 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:tokenType];
168 …e>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType text:(NSString *)tokenText
170 id<BaseTree> newTree = [treeAdaptor newTreeWithToken:fromToken tokenType:tokenType text:tokenText];
171 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:tokenType];
175 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken text:(NSString *)tokenText
177 id<BaseTree> newTree = [treeAdaptor newTreeWithToken:fromToken text:tokenText];
178 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:fromToken.type…
197 - (void) setText:(NSString *)tokenText forNode:(id<BaseTree>)aNode
DParser.m103 NSString *tokenText = nil;
105 tokenText = @"<missing EOF>";
107tokenText = [NSString stringWithFormat:@"<missing %@>\n",[[BaseRecognizer getTokenNames] objectAtI…
108 CommonToken *t = [[CommonToken newToken:expectedTokenType Text:tokenText] retain];
DTreeAdaptor.m91 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken text:(NSString *)tokenText
94 [newToken setText:tokenText];
107 - (id) createTree:(NSInteger)tokenType text:(NSString *)tokenText
109 id<Token> newToken = [self createToken:tokenType text:tokenText];
198 - (void) setText:(NSString *)tokenText forNode:(id)aNode
DCommonToken.h61 + (id<Token>) newToken:(NSInteger)tokenType Text:(NSString *)tokenText;
77 - (id) initWithType:(TokenType)aTType Text:(NSString *)tokenText;
DCommonToken.m90 + (CommonToken *) newToken:(NSInteger)tokenType Text:(NSString *)tokenText
92 return( [[CommonToken alloc] initWithType:tokenType Text:tokenText] );
196 - (id) initWithType:(TokenType)aTType Text:(NSString *)tokenText
200 self.text = [NSString stringWithString:tokenText];
DTreeParser.m109 …NSString *tokenText =[NSString stringWithFormat:@"<missing %@ %d>", [self getTokenNames], expected…
111 //return [anAdaptor createToken:expectedTokenType Text:tokenText];
112 return [CommonToken newToken:expectedTokenType Text:tokenText];
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
DSmaliWordScanner.java113 CharSequence tokenText = fileText.subSequence(tokenStart, tokenEnd); in processClassDescriptor() local
115 assert tokenText.charAt(0) == 'L' && tokenText.charAt(tokenText.length()-1) == ';'; in processClassDescriptor()
/external/deqp-deps/glslang/hlsl/
DhlslScanContext.cpp490 tokenText = ppToken.name; in tokenizeClass()
563 parserToken->string = NewPoolTString(tokenText); in tokenizeClass()
575 } else if (tokenText[0] != 0) in tokenizeClass()
576 parseContext.error(loc, "unexpected token", tokenText, ""); in tokenizeClass()
586 if (ReservedSet->find(tokenText) != ReservedSet->end()) in tokenizeIdentifier()
589 auto it = KeywordMap->find(tokenText); in tokenizeIdentifier()
858 if (strcmp("true", tokenText) == 0) in tokenizeIdentifier()
887 parserToken->string = NewPoolTString(tokenText); in identifierOrType()
898 parseContext.error(loc, "Reserved word.", tokenText, "", ""); in reservedWord()
DhlslScanContext.h103 const char* tokenText; variable
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DParser.as57 var tokenText:String = null;
58 if ( expectedTokenType==TokenConstants.EOF ) tokenText = "<missing EOF>";
59 else tokenText = "<missing "+tokenNames[expectedTokenType]+">";
60 var t:CommonToken = new CommonToken(expectedTokenType, tokenText);
/external/deqp-deps/glslang/glslang/MachineIndependent/
DScan.cpp775 tokenText = ppToken.name; in tokenize()
868 if (ReservedSet->find(tokenText) != ReservedSet->end()) in tokenizeIdentifier()
871 auto it = KeywordMap->find(tokenText); in tokenizeIdentifier()
935 if (strcmp("true", tokenText) == 0) in tokenizeIdentifier()
1614 parserToken->sType.lex.string = NewPoolTString(tokenText); in identifierOrType()
1640 parseContext.error(loc, "Reserved word.", tokenText, "", ""); in reservedWord()
1654 parseContext.warn(loc, "using future reserved keyword", tokenText, ""); in identifierOrReserved()
1669 … parseContext.warn(loc, "future reserved word in ES 300 and keyword in GLSL", tokenText, ""); in es30ReservedFromGLSL()
1685 parseContext.warn(loc, "using future keyword", tokenText, ""); in nonreservedKeyword()
1699 parseContext.warn(loc, "using ES precision qualifier keyword", tokenText, ""); in precisionKeyword()
[all …]
DScanContext.h89 const char* tokenText; variable
/external/smali/smali/src/test/java/org/jf/smali/
DLexerTest.java198 if (expectedToken.tokenText != null) { in runTest()
199 if (!expectedToken.tokenText.equals(token.getText())) { in runTest()
202 … expectedTokenIndex - 1, expectedToken.tokenText, token.getText())); in runTest()
/external/smali/smali/src/test/antlr/org/jf/smali/
DexpectedTokensTestGrammar.g85 public final String tokenText;
87 public ExpectedToken(String tokenName, String tokenText) {
89 this.tokenText = tokenText;
94 this.tokenText = null;
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DParser.js27 var tokenText =
29 var t = new org.antlr.runtime.CommonToken(expectedTokenType, tokenText);
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeParser.cs108 string tokenText = in GetMissingSymbol()
111 return adaptor.Create(new CommonToken(expectedTokenType, tokenText)); in GetMissingSymbol()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeParser.cs98 string tokenText = in GetMissingSymbol()
101 return adaptor.Create(new CommonToken(expectedTokenType, tokenText)); in GetMissingSymbol()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DTreeParser.js44 var tokenText =
46 …org.antlr.runtime.tree.CommonTree(new org.antlr.runtime.CommonToken(expectedTokenType, tokenText));
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DParseException.java152 String tokenText = tok.image; in initialise() local
153 String escapedTokenText = add_escapes(tokenText); in initialise()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DParseException.java144 String tokenText = tok.image; in initialise() local
145 String escapedTokenText = add_escapes(tokenText); in initialise()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeParser.java94 String tokenText = in getMissingSymbol() local
97 return adaptor.create(new CommonToken(expectedTokenType, tokenText)); in getMissingSymbol()

12