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