/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimLexer.cs | 278 MismatchedTokenException mte = new MismatchedTokenException(s[i], input, TokenNames); 302 MismatchedTokenException mte = new MismatchedTokenException(c, input, TokenNames); 350 DisplayRecognitionError( this.TokenNames, e ); 353 public override string GetErrorMessage( RecognitionException e, string[] tokenNames ) 393 msg = base.GetErrorMessage( e, tokenNames );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
Lexer.java | 268 public String getErrorMessage(RecognitionException e, String[] tokenNames) { 300 msg = super.getErrorMessage(e, tokenNames);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
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/ |
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, [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3treeparser.c | 245 text->append8 (text, (const char *)recognizer->state->tokenNames[expectedTokenType]);
|
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)
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
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) ::= << [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Strip.java | 72 public void rewrite(TreeAdaptor adaptor, CommonTree t, String[] tokenNames) throws Exception { 73 TreeWizard wiz = new TreeWizard(adaptor, tokenNames);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
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[input.LA(1)]) [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
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, [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
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, [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
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:{it | @<it>}; separator=", ", wrap="\n ">, nil] retain]] [all...] |
/external/smali/smalidea/src/main/antlr/ |
smalideaParser.g | 110 mark.error(getErrorMessage(e, tokenNames)); 123 mark.error(getErrorMessage(e, tokenNames)); 168 public void displayRecognitionError(String[] tokenNames, RecognitionException e) { 169 displayRecognitionError(mark(), tokenNames, e); 172 public void displayRecognitionError(@Nonnull Marker marker, String[] tokenNames, RecognitionException e) { 173 marker.error(getErrorMessage(e, tokenNames)); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCTP.java | 9 public static final String[] tokenNames = new String[] { 50 public String[] getTokenNames() { return SimpleCTP.tokenNames; }
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCTP.java | 9 public static final String[] tokenNames = new String[] { 50 public String[] getTokenNames() { return SimpleCTP.tokenNames; }
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
tree.py | [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
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) ::= << [all...] |
/external/smali/smali/src/main/antlr/ |
smaliParser.g | 276 String[] tokenNames) { 289 msg = super.getErrorMessage(e, tokenNames); 294 return super.getErrorMessage(e, tokenNames); 306 s = "<"+tokenNames[t.getType()]+">"; 330 return "[@"+t.getTokenIndex()+","+ct.getStartIndex()+":"+ct.getStopIndex()+"='"+txt+"',<"+tokenNames[t.getType()]+">"+channelStr+","+t.getLine()+":"+t.getCharPositionInLine()+"]"; [all...] |
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/ |
BindingExpressionParser.java | 60 public static final String[] tokenNames; 62 tokenNames = new String[_SYMBOLIC_NAMES.length]; 63 for (int i = 0; i < tokenNames.length; i++) { 64 tokenNames[i] = VOCABULARY.getLiteralName(i); 65 if (tokenNames[i] == null) { 66 tokenNames[i] = VOCABULARY.getSymbolicName(i); 69 if (tokenNames[i] == null) { 70 tokenNames[i] = "<INVALID>"; 78 return tokenNames; [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
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, [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
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, [all...] |
/external/icu/icu4c/source/tools/genrb/ |
parse.cpp | 93 const char *tokenNames[TOK_TOKEN_COUNT] = 209 /* printf("getToken, returning %s\n", tokenNames[result]); */ 267 error(line, "expecting %s, got %s", tokenNames[expectedToken], tokenNames[token]); 849 error(line, "Unexpected token %s", tokenNames[token]); [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/ |
SmaliTokens.java | 281 int tokenCount = smaliParser.tokenNames.length; 285 String tokenName = smaliParser.tokenNames[tokenId];
|
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/ |
XMLParser.java | 15 public static final String[] tokenNames = { 32 public String[] getTokenNames() { return tokenNames; }
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
C.stg | 85 tokenNames, 539 tokenNames, 755 extern pANTLR3_UINT8 <recognizer.grammar.composite.rootGrammar.recognizerName>TokenNames[]; [all...] |