Home
last modified time | relevance | path

Searched refs:treeST (Results 1 – 3 of 3) sorted by relevance

/external/antlr/antlr-3.4/runtime/Python/antlr3/
Ddottreegen.py80 def toDOT(self, tree, adaptor=None, treeST=_treeST, edgeST=_edgeST): argument
84 treeST = treeST.getInstanceOf()
87 self.toDOTDefineNodes(tree, adaptor, treeST)
90 self.toDOTDefineEdges(tree, adaptor, treeST, edgeST)
91 return treeST
94 def toDOTDefineNodes(self, tree, adaptor, treeST, knownNodes=None): argument
111 treeST.setAttribute("nodes", parentNodeST)
121 treeST.setAttribute("nodes", nodeST)
124 self.toDOTDefineNodes(child, adaptor, treeST, knownNodes)
127 def toDOTDefineEdges(self, tree, adaptor, treeST, edgeST): argument
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DDOTTreeGenerator.java84 StringTemplate treeST = _treeST.getInstanceOf(); in toDOT() local
86 toDOTDefineNodes(tree, adaptor, treeST); in toDOT()
88 toDOTDefineEdges(tree, adaptor, treeST); in toDOT()
95 return treeST; in toDOT()
127 StringTemplate treeST) in toDOTDefineNodes() argument
141 treeST.setAttribute("nodes", parentNodeST); in toDOTDefineNodes()
147 treeST.setAttribute("nodes", nodeST); in toDOTDefineNodes()
148 toDOTDefineNodes(child, adaptor, treeST); in toDOTDefineNodes()
154 StringTemplate treeST) in toDOTDefineEdges() argument
179 treeST.setAttribute("edges", edgeST); in toDOTDefineEdges()
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestdottreegen.py29 treeST = stringtemplate3.StringTemplate(
42 st = toDOT(tree, self.adaptor, treeST, edgeST)