Ejemplo n.º 1
0
 public override int VisitNOT(CASTExpressionNot node, object param)
 {
     ExtractSubgraphs(node, contextType.CT_EXPRESSION_NOT);
     base.VisitNOT(node);
     m_ostream.WriteLine("{0}->{1}", node.MParent.MNodeName, node.MNodeName);
     return(0);
 }
Ejemplo n.º 2
0
        public override int VisitExpr_NOT(MINICParser.Expr_NOTContext context)
        {
            ASTComposite      m_parent = m_parents.Peek();
            CASTExpressionNot newnode  = new CASTExpressionNot(context.GetText(), m_parents.Peek(), 1);

            m_parent.AddChild(newnode, m_parentContext.Peek());
            m_parents.Push(newnode);

            this.VisitElementInContext(context.expression(), m_parentContext, contextType.CT_EXPRESSION_NOT);

            m_parents.Pop();
            return(0);
        }
Ejemplo n.º 3
0
 public virtual Result VisitNOT(CASTExpressionNot node, VParam param = default(VParam))
 {
     VisitChildren(node, param);
     return(default(Result));
 }