Searched refs:composite (Results 1 - 25 of 89) sorted by path

1234

/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-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 DCodeGenTreeWalker.g983 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 DTool.java462 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 DNFA.java54 return grammar.composite.getNewNFAStateNumber();
58 grammar.composite.addState(state);
62 return grammar.composite.getState(s);
H A DNFAToDFAConverter.java87 if ( dfa.nfa.grammar.composite.watchNFAConversion ) {
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DCSharp3Target.java86 Grammar rootGrammar = grammar.composite.getRootGrammar();
H A DCodeGenerator.java321 grammar.composite.getRootGrammar().atLeastOneBacktrackOption ||
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DAssignTokenTypesBehavior.java132 grammar.composite.lexerRules.add(t.getText());
147 Grammar parent = grammar.composite.getDelegator(grammar);
H A DBuildDependencyGenerator.java144 grammar.composite.getDelegates(grammar.composite.getRootGrammar());
168 grammar.composite.getDelegates(grammar.composite.getRootGrammar());
H A DCompositeGrammar.java46 * 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 DGrammar.java300 /** 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 DGrammarAST.java230 grammar.composite.getRootGrammar().atLeastOneBacktrackOption = true;
H A DGrammarReport2.java49 CompositeGrammar composite = root.composite;
50 for (Grammar g : composite.getDelegates(root)) {
H A DGrammarSanity.java62 for (int i = 0; i < grammar.composite.ruleIndexToRuleList.size(); i++) {
63 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i);
H A DInterp.java76 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 DNameSpaceChecker.java45 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 DRandomPhrase.java155 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 DRule.java541 grammar.composite.getRootGrammar().atLeastOneBacktrackOption = true;
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DActionScript.stg203 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 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/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DCSharp2.stg302 public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } }
H A DDbg.stg72 ((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 DCSharp3.stg297 public override string[] TokenNames { get { return <grammar.composite.rootGrammar.recognizerName>.tokenNames; } }
H A DDbg.stg71 ((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 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];

Completed in 283 milliseconds

1234