/external/antlr/tool/src/main/java/org/antlr/tool/ |
D | LeftRecursiveRuleAnalyzer.java | 86 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/ |
D | LeftRecursiveRuleWalker.g | 81 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) {}
|
D | CodeGenTreeWalker.g | 1365 $code = templates.getInstanceOf("rewriteTree");
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | AST.stg | 218 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | CodeGenerator.java | 1090 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/ |
D | AST.stg | 279 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | AST.stg | 280 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | AST.stg | 303 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | AST.stg | 312 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | AST.stg | 305 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | AST.stg | 312 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | AST.stg | 291 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | AST.stg | 325 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 435 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | AST.stg | 424 rewriteTree(root,children,description,enclosingTreeLevel,treeLevel) ::= <<
|