Searched refs:actionAST (Results 1 – 8 of 8) sorted by relevance
/external/antlr/tool/src/main/java/org/antlr/analysis/ |
D | ActionLabel.java | 34 public GrammarAST actionAST; field in ActionLabel 36 public ActionLabel(GrammarAST actionAST) { in ActionLabel() argument 38 this.actionAST = actionAST; in ActionLabel() 53 return "{"+actionAST+"}"; in toString()
|
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | ActionAnalysis.g | 54 public ActionAnalysis(Grammar grammar, String ruleName, GrammarAST actionAST) 56 this(new ANTLRStringStream(actionAST.token.getText())); 59 this.actionToken = actionAST.token; 60 this.outerAltNum = actionAST.outerAltNum;
|
D | DefineGrammarItemsWalker.g | 100 protected final void trackInlineAction( GrammarAST actionAST ) { 103 r.trackInlineAction( actionAST ); 167 GrammarAST nameAST=null, actionAST=null; 171 {scope=$id1.text; nameAST=$id2; actionAST=$a1;} 173 {scope=null; nameAST=$id1; actionAST=$a2;} 177 grammar.defineNamedAction($amp,scope,nameAST,actionAST);
|
D | ActionTranslator.g | 59 GrammarAST actionAST) 61 this(new ANTLRStringStream(actionAST.token.getText())); 65 this.actionToken = actionAST.token; 66 this.outerAltNum = actionAST.outerAltNum;
|
/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | AttributeScope.java | 145 public final void defineNamedAction(GrammarAST nameAST, GrammarAST actionAST) in defineNamedAction() argument 155 actions.put(actionName, actionAST); in defineNamedAction()
|
D | Rule.java | 498 GrammarAST actionAST) in defineNamedAction() argument 509 actions.put(actionName,actionAST); in defineNamedAction() 513 public void trackInlineAction(GrammarAST actionAST) { in trackInlineAction() argument 514 inlineActions.add(actionAST); in trackInlineAction()
|
D | Grammar.java | 1537 GrammarAST actionAST) in defineNamedAction() argument 1556 scopeActions.put(actionName,actionAST); in defineNamedAction() 1564 delegate.defineNamedAction(ampersandAST, scope, nameAST, actionAST); in defineNamedAction() 1932 GrammarAST actionAST = actions.get(i); in examineAllExecutableActions() local 1934 new ActionAnalysis(this, r.name, actionAST); in examineAllExecutableActions() 1940 GrammarAST actionAST = (GrammarAST)namedAction; in examineAllExecutableActions() local 1942 new ActionAnalysis(this, r.name, actionAST); in examineAllExecutableActions()
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | CodeGenerator.java | 494 GrammarAST actionAST = in verifyActionScopesOkForTarget() local 498 actionAST.getToken(),scope, in verifyActionScopesOkForTarget() 525 GrammarAST actionAST = (GrammarAST)entry.getValue(); in translateActionAttributeReferencesForSingleScope() local 526 List<?> chunks = translateAction(ruleName,actionAST); in translateActionAttributeReferencesForSingleScope()
|