Home
last modified time | relevance | path

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

/external/antlr/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/tool/src/main/antlr3/org/antlr/grammar/v3/
DLeftRecursiveRuleWalker.g81 public void binaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
82 public void ternaryAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
83 public void prefixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
84 public void suffixAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
85 public void otherAlt(GrammarAST altTree, GrammarAST rewriteTree, int alt) {}
DCodeGenTreeWalker.g1365 $code = templates.getInstanceOf("rewriteTree");
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DAST.stg218 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1090 GrammarAST rewriteTree = parseResult.getTree(); in translateTemplateConstructor() local
1093 CodeGenTreeWalker gen = new CodeGenTreeWalker(new CommonTreeNodeStream(rewriteTree)); in translateTemplateConstructor()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DAST.stg279 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DAST.stg280 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DAST.stg303 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DAST.stg312 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DAST.stg305 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DAST.stg312 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DAST.stg291 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DAST.stg325 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg435 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DAST.stg424 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<