Home
last modified time | relevance | path

Searched refs:rootGrammar (Results 1 – 19 of 19) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/
DTool.java478 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/
DGrammarReport2.java42 public GrammarReport2(Grammar rootGrammar) { in GrammarReport2() argument
43 this.root = rootGrammar; in GrammarReport2()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCSharp3Target.java91 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/
DDbg.stg81 …[(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/
DDbg.stg71 …((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar
76 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
DCSharp3.stg321 …public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DDbg.stg67 …examineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>…
76 …((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
DJava.stg244 …@Override public String[] getTokenNames() { return <grammar.composite.rootGrammar.recognizerName>.…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DDbg.stg72 …((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar
77 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
DCSharp2.stg326 …public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DDbg.stg103 …((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/
DDbg.stg103 …((Profiler)self._dbg).examineRuleMemoization(input, ruleIndex, <grammar.composite.rootGrammar.reco…
111 …((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.rec…
DPython.stg233 from <grammar.composite.rootGrammar.recognizerName> import tokenNames<\n>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg222 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/
DDelphi.stg427 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/
DCpp.stg442 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/
DC.stg755 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/
DJavaScript.stg196 getTokenNames: function() { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; },
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg202 …public override function get tokenNames():Array { return <grammar.composite.rootGrammar.recognizer…