public override int VisitPlus(CPlus node)
        {
            ExtractSubgraphs(node, CPlus.CT_EXPRESSION, CPlus.ContextNames);

            base.VisitPlus(node);

            m_ostream.WriteLine("{0}->{1}", currentParent.M_GraphVizName, node.M_GraphVizName);

            return(0);
        }
        public override int VisitPlus(CPlus node)
        {
            int context = m_parentContexts.Peek();
            CEmmitableCodeContainer rep = m_parents.Peek() as CEmmitableCodeContainer;

            rep.AddCode("(+", context);

            foreach (ASTVisitableElement child in
                     node.GetChildrenContext(CPlus.CT_EXPRESSION))
            {
                Visit(child);
            }

            rep.AddCode(")", context);

            return(0);
        }
Exemple #3
0
 public virtual T VisitPlus(CPlus node)
 {
     return(VisitChildren(node));
 }