/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
H A D | CodeGenTreeWalker.g | 983 Grammar scopeG = grammar.composite.getGrammar(scope.getText()); 996 if ( this.grammar != rdef.grammar.composite.delegateGrammarTreeRoot.grammar ) { 998 rdef.grammar.composite.delegateGrammarTreeRoot.grammar); 1046 Grammar scopeG = grammar.composite.getGrammar(scope.getText());
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
H A D | Tool.java | 462 rootGrammar.composite.assignTokenTypes(); 463 //rootGrammar.composite.translateLeftRecursiveRules(); 465 rootGrammar.composite.defineGrammarSymbols(); 466 rootGrammar.composite.createNFAs(); 507 lexerGrammar.composite.watchNFAConversion = internalOption_watchNFAConversion; 519 lexerGrammar.composite.assignTokenTypes(); 521 lexerGrammar.composite.defineGrammarSymbols(); 522 lexerGrammar.composite.createNFAs(); 597 // create the necessary composite in case it's got delegates; even 599 CompositeGrammar composite [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
H A D | NFA.java | 54 return grammar.composite.getNewNFAStateNumber(); 58 grammar.composite.addState(state); 62 return grammar.composite.getState(s);
|
H A D | NFAToDFAConverter.java | 87 if ( dfa.nfa.grammar.composite.watchNFAConversion ) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | CSharp3Target.java | 86 Grammar rootGrammar = grammar.composite.getRootGrammar();
|
H A D | CodeGenerator.java | 321 grammar.composite.getRootGrammar().atLeastOneBacktrackOption ||
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | AssignTokenTypesBehavior.java | 132 grammar.composite.lexerRules.add(t.getText()); 147 Grammar parent = grammar.composite.getDelegator(grammar);
|
H A D | BuildDependencyGenerator.java | 144 grammar.composite.getDelegates(grammar.composite.getRootGrammar()); 168 grammar.composite.getDelegates(grammar.composite.getRootGrammar());
|
H A D | CompositeGrammar.java | 46 * We have to start out assuming a composite grammar situation as we can't 60 /** Used to assign state numbers; all grammars in composite share common 65 /** The NFA states in the NFA built from rules across grammars in composite. 176 // make sure new grammar shares this composite 177 delegate.composite = this; 383 //System.out.println("### createNFAs for composite; grammars: "+names);
|
H A D | Grammar.java | 300 /** If this grammar is part of a larger composite grammar via delegate 301 * statement, then this points at the composite. The composite holds 304 public CompositeGrammar composite; field in class:Grammar 515 public Grammar(Tool tool, String fileName, CompositeGrammar composite) { argument 516 this.composite = composite; 519 // ensure we have the composite set to something 520 if ( composite.delegateGrammarTreeRoot==null ) { 521 composite [all...] |
H A D | GrammarAST.java | 230 grammar.composite.getRootGrammar().atLeastOneBacktrackOption = true;
|
H A D | GrammarReport2.java | 49 CompositeGrammar composite = root.composite; 50 for (Grammar g : composite.getDelegates(root)) {
|
H A D | GrammarSanity.java | 62 for (int i = 0; i < grammar.composite.ruleIndexToRuleList.size(); i++) { 63 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i);
|
H A D | Interp.java | 76 CompositeGrammar composite = new CompositeGrammar(); 77 Grammar parser = new Grammar(tool, grammarFileName, composite); 78 composite.setDelegationRoot(parser); 84 parser.composite.assignTokenTypes(); 85 parser.composite.defineGrammarSymbols(); 86 parser.composite.createNFAs(); 109 lexer.composite.createNFAs();
|
H A D | NameSpaceChecker.java | 45 for (int i = CompositeGrammar.MIN_RULE_INDEX; i < grammar.composite.ruleIndexToRuleList.size(); i++) { 46 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i); 151 if ( !grammar.composite.lexerRules.contains(tokenID) && 164 Grammar scopeG = grammar.composite.getGrammar(scopeAST.getText());
|
H A D | RandomPhrase.java | 155 CompositeGrammar composite = new CompositeGrammar(); 157 Grammar parser = new Grammar(tool, grammarFileName, composite); 158 composite.setDelegationRoot(parser); 165 parser.composite.assignTokenTypes(); 166 parser.composite.defineGrammarSymbols(); 167 parser.composite.createNFAs();
|
H A D | Rule.java | 541 grammar.composite.getRootGrammar().atLeastOneBacktrackOption = true;
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
H A D | ActionScript.stg | 203 public override function get tokenNames():Array { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; }
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
H A 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/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
H A D | CSharp2.stg | 302 public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } }
|
H A D | Dbg.stg | 72 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 77 ((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
H A D | CSharp3.stg | 297 public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } }
|
H A D | Dbg.stg | 71 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]); 76 ((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[ruleIndex]);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
H A 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];
|