/external/antlr/tool/src/main/java/org/antlr/ |
D | Tool.java | 478 Grammar rootGrammar = getRootGrammar(grammarFileName); in process() local 481 rootGrammar.composite.assignTokenTypes(); in process() 483 rootGrammar.addRulesForSyntacticPredicates(); in process() 484 rootGrammar.composite.defineGrammarSymbols(); in process() 485 rootGrammar.composite.createNFAs(); in process() 487 generateRecognizer(rootGrammar); in process() 490 rootGrammar.printGrammar(System.out); in process() 494 GrammarReport2 greport = new GrammarReport2(rootGrammar); in process() 502 GrammarReport greport = new GrammarReport(rootGrammar); in process() 508 String lexerGrammarStr = rootGrammar.getLexerGrammar(); in process() [all …]
|
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | GrammarReport2.java | 42 public GrammarReport2(Grammar rootGrammar) { in GrammarReport2() argument 43 this.root = rootGrammar; in GrammarReport2()
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | CSharp3Target.java | 91 Grammar rootGrammar = grammar.composite.getRootGrammar(); in genRecognizerFile() local 93 Map<String, Object> actions = rootGrammar.getActions().get(actionScope); in genRecognizerFile()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | Dbg.stg | 81 …[(Profiler)dbg examineRuleMemoization:input, ruleIndex, <grammar.composite.rootGrammar.recognizerN… 86 …nput RuleIndex:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.rootGrammar.recognizerName>…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | Dbg.stg | 71 …((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar… 76 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
|
D | CSharp3.stg | 321 …public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Dbg.stg | 67 …examineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>… 76 …((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
|
D | Java.stg | 244 …@Override public String[] getTokenNames() { return <grammar.composite.rootGrammar.recognizerName>.…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | Dbg.stg | 72 …((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar… 77 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
|
D | CSharp2.stg | 326 …public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | Dbg.stg | 103 …((Profiler)self._dbg).examineRuleMemoization(input, ruleIndex, <grammar.composite.rootGrammar.reco… 111 …((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.rec…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Dbg.stg | 103 …((Profiler)self._dbg).examineRuleMemoization(input, ruleIndex, <grammar.composite.rootGrammar.reco… 111 …((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.rec…
|
D | Python.stg | 233 from <grammar.composite.rootGrammar.recognizerName> import tokenNames<\n>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 222 require '<grammar.composite.rootGrammar.recognizerName>' 223 include <grammar.composite.rootGrammar.name>::TokenData<\n><\n> 1455 <if(grammar.grammarIsRoot)><grammar.name><else><grammar.composite.rootGrammar.name><endif>::<if(TRE…
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | Delphi.stg | 427 SetLength(Result,Length(T<grammar.composite.rootGrammar.recognizerName>.TOKEN_NAMES)); 428 for I := 0 to Length(T<grammar.composite.rootGrammar.recognizerName>.TOKEN_NAMES) - 1 do 429 Result[I] := T<grammar.composite.rootGrammar.recognizerName>.TOKEN_NAMES[I];
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 442 extern ANTLR_UINT8* <recognizer.grammar.composite.rootGrammar.recognizerName>TokenNames[]; 894 this->get_psrstate()->set_tokenNames( <grammar.composite.rootGrammar.recognizerName>TokenNames ); 940 return <grammar.composite.rootGrammar.recognizerName>TokenNames;
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 755 extern pANTLR3_UINT8 <recognizer.grammar.composite.rootGrammar.recognizerName>TokenNames[]; 1350 PSRSTATE->tokenNames = <grammar.composite.rootGrammar.recognizerName>TokenNames; 1418 return <grammar.composite.rootGrammar.recognizerName>TokenNames;
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | JavaScript.stg | 196 getTokenNames: function() { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; },
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 202 …public override function get tokenNames():Array { return <grammar.composite.rootGrammar.recognizer…
|