Home
last modified time | relevance | path

Searched refs:rewriteTree (Results 1 – 14 of 14) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DLeftRecursiveRuleAnalyzer.java86 public void binaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) { in binaryAlt() argument
88 rewriteTree = GrammarAST.dupTree(rewriteTree); in binaryAlt()
105 rewriteTree = replaceRuleRefs(rewriteTree, "$" + nameST.render()); in binaryAlt()
106 String rewriteText = text(rewriteTree); in binaryAlt()
113 public void ternaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) { in ternaryAlt() argument
115 rewriteTree = GrammarAST.dupTree(rewriteTree); in ternaryAlt()
131 rewriteTree = replaceRuleRefs(rewriteTree, "$" + nameST.render()); in ternaryAlt()
132 String rewriteText = text(rewriteTree); in ternaryAlt()
138 public void prefixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) { in prefixAlt() argument
140 rewriteTree = GrammarAST.dupTree(rewriteTree); in prefixAlt()
[all …]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DLeftRecursiveRuleWalker.g80 public void binaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
81 public void ternaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
82 public void prefixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
83 public void suffixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
84 public void otherAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
DCodeGenTreeWalker.g1364 $code = templates.getInstanceOf("rewriteTree");
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1060 GrammarAST rewriteTree = (GrammarAST)parseResult.getTree(); in translateTemplateConstructor() local
1063 CodeGenTreeWalker gen = new CodeGenTreeWalker(new CommonTreeNodeStream(rewriteTree)); in translateTemplateConstructor()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DAST.stg218 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DAST.stg280 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
DAST.stg280 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DAST.stg279 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DAST.stg307 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DAST.stg305 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DAST.stg312 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DAST.stg325 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg435 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DAST.stg424 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<