Searched refs:edgeST (Results 1 – 7 of 7) sorted by relevance
80 def toDOT(self, tree, adaptor=None, treeST=_treeST, edgeST=_edgeST): argument90 self.toDOTDefineEdges(tree, adaptor, treeST, edgeST)127 def toDOTDefineEdges(self, tree, adaptor, treeST, edgeST): argument145 edgeST = edgeST.getInstanceOf()146 edgeST.setAttribute("parent", parentName)147 edgeST.setAttribute("child", childName)148 edgeST.setAttribute("parentText", parentText)149 edgeST.setAttribute("childText", childText)150 treeST.setAttribute("edges", edgeST)151 self.toDOTDefineEdges(child, adaptor, treeST, edgeST)[all …]
113 ST edgeST = templates.getInstanceOf(dfaEdgeName); in walkFixedDFAGeneratingStateMachine() local115 if ( edgeST.impl.formalArguments.get("labels")!=null ) { in walkFixedDFAGeneratingStateMachine()123 edgeST.add("labels", labels); in walkFixedDFAGeneratingStateMachine()126 edgeST.add("labelExpr", in walkFixedDFAGeneratingStateMachine()140 edgeST.add("predicates", predST); in walkFixedDFAGeneratingStateMachine()149 edgeST.add("targetState", targetST); in walkFixedDFAGeneratingStateMachine()150 dfaST.add("edges", edgeST); in walkFixedDFAGeneratingStateMachine()173 ST edgeST = templates.getInstanceOf(dfaEdgeName); in walkFixedDFAGeneratingStateMachine() local174 edgeST.add("labelExpr", in walkFixedDFAGeneratingStateMachine()183 edgeST.add("targetState", targetST); in walkFixedDFAGeneratingStateMachine()[all …]
679 ST edgeST; in generateSpecialState() local682 edgeST = templates.getInstanceOf("eotDFAEdge"); in generateSpecialState()684 eotST = edgeST; in generateSpecialState()687 edgeST = templates.getInstanceOf("cyclicDFAEdge"); in generateSpecialState()690 edgeST.add("labelExpr", exprST); in generateSpecialState()692 edgeST.add("edgeNumber", Utils.integer(i + 1)); in generateSpecialState()693 edgeST.add("targetStateNumber", in generateSpecialState()704 edgeST.add("predicates", predST.render()); in generateSpecialState()708 stateST.add("edges", edgeST); in generateSpecialState()
206 ST edgeST = null; in walkRuleNFACreatingDOT() local212 edgeST = stlib.getInstanceOf("edge"); in walkRuleNFACreatingDOT()214 edgeST.add("label", "<" + rr.rule.grammar.name + "." + rr.rule.name + ">"); in walkRuleNFACreatingDOT()217 edgeST.add("label", "<" + rr.rule.name + ">"); in walkRuleNFACreatingDOT()219 edgeST.add("src", getStateLabel(s)); in walkRuleNFACreatingDOT()220 edgeST.add("target", getStateLabel(rr.followState)); in walkRuleNFACreatingDOT()221 edgeST.add("arrowhead", arrowhead); in walkRuleNFACreatingDOT()222 dot.add("edges", edgeST); in walkRuleNFACreatingDOT()227 edgeST = stlib.getInstanceOf("action-edge"); in walkRuleNFACreatingDOT()230 edgeST = stlib.getInstanceOf("epsilon-edge"); in walkRuleNFACreatingDOT()[all …]
174 StringTemplate edgeST = _edgeST.getInstanceOf(); in toDOTDefineEdges() local175 edgeST.setAttribute("parent", parentName); in toDOTDefineEdges()176 edgeST.setAttribute("child", childName); in toDOTDefineEdges()177 edgeST.setAttribute("parentText", fixString(parentText)); in toDOTDefineEdges()178 edgeST.setAttribute("childText", fixString(childText)); in toDOTDefineEdges()179 treeST.setAttribute("edges", edgeST); in toDOTDefineEdges()
37 edgeST = stringtemplate3.StringTemplate(42 st = toDOT(tree, self.adaptor, treeST, edgeST)
META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...