Пример #1
0
        public override int VisitLte(CLte node)
        {
            ExtractSubgraphs(node, CLte.CT_LEFT, CLte.ContextNames);
            ExtractSubgraphs(node, CLte.CT_RIGHT, CLte.ContextNames);

            base.VisitLte(node);

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

            return(0);
        }
Пример #2
0
        public override int VisitLte(CLte node)
        {
            int context = m_parentContexts.Peek();
            CEmmitableCodeContainer rep = m_parents.Peek() as CEmmitableCodeContainer;

            foreach (ASTVisitableElement child in
                     node.GetChildrenContext(CLte.CT_LEFT))
            {
                Visit(child);
            }
            rep.AddCode(" <= ", context);

            foreach (ASTVisitableElement child in
                     node.GetChildrenContext(CLte.CT_RIGHT))
            {
                Visit(child);
            }

            return(0);
        }
Пример #3
0
 public virtual T VisitLte(CLte node)
 {
     return(VisitChildren(node));
 }