/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
H A D | Lexer.js | 220 getErrorMessage: function(e, tokenNames) { 242 msg = org.antlr.runtime.Lexer.superclass.getErrorMessage.call(this, e, tokenNames);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
H A D | Java.stg | 56 name, tokens, tokenNames, rules, cyclicDFAs, 200 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 206 public static final String[] tokenNames = new String[] { 207 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 240 public String[] getTokenNames() { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } 273 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, 276 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 285 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, 290 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
|
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | antlr3treeparser.c | 245 text->append8 (text, (const char *)recognizer->state->tokenNames[expectedTokenType]);
|
H A D | antlr3lexer.c | 60 static void displayRecognitionError (pANTLR3_BASE_RECOGNIZER rec, pANTLR3_UINT8 * tokenNames); 417 rec->displayRecognitionError(rec, rec->state->tokenNames); 427 displayRecognitionError (pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_UINT8 * tokenNames) argument
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
H A D | ActionScript.stg | 43 name, tokens, tokenNames, rules, cyclicDFAs, 170 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 175 public static const tokenNames:Array = [ 176 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 203 public override function get tokenNames():Array { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } 235 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType="Object", superClass="Parser", labelType="Token", members={<actions.parser.members>}) ::= << 242 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}, ASTLabelType="Object", superClass="TreeParser", members={<actions.treeparser.members>}, filterMode) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | Strip.java | 72 public void rewrite(TreeAdaptor adaptor, CommonTree t, String[] tokenNames) throws Exception { argument 73 TreeWizard wiz = new TreeWizard(adaptor, tokenNames);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | BaseRecognizer.as | 164 displayRecognitionError(this.tokenNames, e); 167 public function displayRecognitionError(tokenNames:Array, 171 var msg:String = getErrorMessage(e, tokenNames); 197 public function getErrorMessage(e:RecognitionException, tokenNames:Array):String { 207 tokenName = tokenNames[ute.expecting]; 219 tokenName = tokenNames[mite.expecting]; 230 tokenName = tokenNames[mte.expecting]; 242 tokenName = tokenNames[mtne.expecting]; 653 //trace("consumeUntil("+bitSet.toStringFromTokens(tokenNames)+")"); 656 //trace("consume during recover LA(1)="+tokenNames[inpu [all...] |
/external/smali/smali/src/main/antlr3/ |
H A D | smaliParser.g | 286 String[] tokenNames) { 299 msg = super.getErrorMessage(e, tokenNames); 304 return super.getErrorMessage(e, tokenNames); 316 s = "<"+tokenNames[t.getType()]+">"; 340 return "[@"+t.getTokenIndex()+","+ct.getStartIndex()+":"+ct.getStopIndex()+"='"+txt+"',<"+tokenNames[t.getType()]+">"+channelStr+","+t.getLine()+":"+t.getCharPositionInLine()+"]";
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
H A D | CPP.stg | 86 name, tokens, tokenNames, rules, cyclicDFAs, 166 tokenNames, 270 grammar, name, scopes, tokens, tokenNames, rules, numRules, cyclicDFAs, 277 static const char* tokenNames[] = { 278 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 293 //@TODO public String[] getTokenNames() { return tokenNames; } 310 grammar, name, scopes, tokens, tokenNames, 320 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction,
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
H A D | Scala.stg | 47 name, tokens, tokenNames, rules, cyclicDFAs, 181 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 187 val tokenNames = Array( 188 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 224 override def getTokenNames: Array[String] = tokenNames 254 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, 263 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules,
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
H A D | ObjC.stg | 89 tokenNames, 161 tokenNames, 218 tokenNames, 451 tokenNames, 482 tokenNames, 513 tokenNames, 613 tokenNames, 632 tokenNames, 651 tokenNames, 694 [ANTLRBaseRecognizer setTokenNames:[[AMutableArray arrayWithObjects:@"\<invalid>", @"\<EOR>", @"\<DOWN>", @"\<UP>", <tokenNames [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
H A D | SimpleCTP.java | 9 public static final String[] tokenNames = new String[] { field in class:SimpleCTP 50 public String[] getTokenNames() { return SimpleCTP.tokenNames; }
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
H A D | SimpleCTP.java | 9 public static final String[] tokenNames = new String[] { field in class:SimpleCTP 50 public String[] getTokenNames() { return SimpleCTP.tokenNames; }
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | tree.py | 2220 tokenText = "<missing " + self.tokenNames[expectedTokenType] + ">" 2251 def _inContext(cls, adaptor, tokenNames, t, context): 2279 ancestor = cls._getAncestor(adaptor, tokenNames, t, goal) 2285 name = tokenNames[adaptor.getType(t)] 2300 def _getAncestor(adaptor, tokenNames, t, goal): 2303 name = tokenNames[adaptor.getType(t)] 2367 def getErrorMessage(self, e, tokenNames): 2382 return BaseRecognizer.getErrorMessage(self, e, tokenNames)
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
H A D | Perl5.stg | 37 name, tokens, tokenNames, rules, cyclicDFAs, 188 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 204 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 250 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType, superClass="ANTLR::Runtime::Parser", labelType="ANTLR::Runtime::Token", members={<actions.parser.members>}) ::= << 257 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}, ASTLabelType="Object", superClass="ANTLR::Runtime::TreeParser", members={<actions.treeparser.members>}, filterMode) ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
H A D | CSharp2.stg | 45 name, tokens, tokenNames, rules, cyclicDFAs, 272 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 281 internal static readonly string[] tokenNames = new string[] { 282 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 302 public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } } 403 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, 412 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules,
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
H A D | CSharp3.stg | 46 name, tokens, tokenNames, rules, cyclicDFAs, 267 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 276 internal static readonly string[] tokenNames = new string[] { 277 "\<invalid>", "\<EOR>", "\<DOWN>", "\<UP>", <tokenNames; separator=", "> 297 public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } } 385 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, 394 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules,
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
H A D | parse.cpp | 63 const char *tokenNames[TOK_TOKEN_COUNT] = variable 179 /* printf("getToken, returning %s\n", tokenNames[result]); */ 237 error(line, "expecting %s, got %s", tokenNames[expectedToken], tokenNames[token]); 862 error(line, "Unexpected token %s", tokenNames[token]); 1073 error(line, "Unexpected token %s", tokenNames[token]); 1191 error(line, "unexpected token %s", tokenNames[token]);
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | parse.cpp | 85 const char *tokenNames[TOK_TOKEN_COUNT] = variable 201 /* printf("getToken, returning %s\n", tokenNames[result]); */ 259 error(line, "expecting %s, got %s", tokenNames[expectedToken], tokenNames[token]); 906 error(line, "Unexpected token %s", tokenNames[token]); 1126 error(line, "Unexpected token %s", tokenNames[token]); 1249 error(line, "unexpected token %s", tokenNames[token]);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
H A D | DebugTreeGrammar.cs | 28 internal static readonly string[] tokenNames = new string[] { field in class:DebugTreeGrammar 90 public override string[] TokenNames { get { return DebugTreeGrammar.tokenNames; } }
|
H A D | ProfileTreeGrammar.cs | 28 internal static readonly string[] tokenNames = new string[] { field in class:ProfileTreeGrammar 95 public override string[] TokenNames { get { return ProfileTreeGrammar.tokenNames; } }
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
H A D | C.stg | 85 tokenNames, 539 tokenNames, 1175 tokenNames, 1192 pANTLR3_UINT8 <name>TokenNames[<length(tokenNames)>+4] 1198 <tokenNames:{it |(pANTLR3_UINT8) <it>}; separator=",\n"> 1350 PSRSTATE->tokenNames = <grammar.composite.rootGrammar.recognizerName>TokenNames; 1477 tokenNames, 1496 tokenNames,
|
/external/smali/smali/src/main/java/org/jf/smali/ |
H A D | main.java | 277 System.out.println(smaliParser.tokenNames[token.getType()] + ": " + token.getText());
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
H A D | testtreewizard.py | 141 self.wizard = TreeWizard(self.adaptor, tokenNames=self.tokens) 250 tokenNames=['a', 'b'] 265 tokenNames=self.tokens
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
H A D | Delphi.stg | 61 * tokenNames: 83 name, tokens, tokenNames, rules, cyclicDFAs, 306 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules, 319 TOKEN_NAMES: array [0..<length(tokenNames)>+3] of String = ( 324 <tokenNames; separator=",\n">);<\n> 485 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType, superClass="Parser", labelType="Token", members={<actions.parser.members>}) ::= << 492 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, labelType={<ASTLabelType>}, ASTLabelType="object", superClass="TreeParser", members={<actions.treeparser.members>}, filterMode) ::= <<
|