public override int VisitGT(CASTExpressionGt node, object param) { ExtractSubgraphs(node, contextType.CT_EXPRESSION_GT_LEFT); ExtractSubgraphs(node, contextType.CT_EXPRESSION_GT_RIGHT); base.VisitGT(node); m_ostream.WriteLine("{0}->{1}", node.MParent.MNodeName, node.MNodeName); return(0); }
public override int VisitExpr_GT(MINICParser.Expr_GTContext context) { ASTComposite m_parent = m_parents.Peek(); CASTExpressionGt newnode = new CASTExpressionGt(context.GetText(), m_parents.Peek(), 2); m_parent.AddChild(newnode, m_parentContext.Peek()); m_parents.Push(newnode); this.VisitElementInContext(context.expression(0), m_parentContext, contextType.CT_EXPRESSION_GT_LEFT); this.VisitElementInContext(context.expression(1), m_parentContext, contextType.CT_EXPRESSION_GT_RIGHT); m_parents.Pop(); return(0); }
public virtual Result VisitGT(CASTExpressionGt node, VParam param = default(VParam)) { VisitChildren(node, param); return(default(Result)); }