public override int VisitDivision(CDivision node) { ExtractSubgraphs(node, CDivision.CT_LEFT, CDivision.ContextNames); ExtractSubgraphs(node, CDivision.CT_RIGHT, CDivision.ContextNames); base.VisitDivision(node); m_ostream.WriteLine("{0}->{1}", currentParent.M_GraphVizName, node.M_GraphVizName); return(0); }
public override int VisitDivision(CDivision node) { int context = m_parentContexts.Peek(); CEmmitableCodeContainer rep = m_parents.Peek(); foreach (ASTVisitableElement child in node.GetChildrenContext(CDivision.CT_LEFT)) { Visit(child); } rep.AddCode("/", context); foreach (ASTVisitableElement child in node.GetChildrenContext(CDivision.CT_RIGHT)) { Visit(child); } return(0); }
public virtual T VisitDivision(CDivision node) { return(VisitChildren(node)); }