public override Expression VisitAND(QLMainParser.ANDContext context) { return(new And( context.associative(0).Accept(this), context.associative(1).Accept(this), new PositionInText(context) )); }
public override IExpression VisitAND(QLMainParser.ANDContext context) { return(new And( context.associative(0).Accept(this), context.associative(1).Accept(this), Position.PositionFormParserRuleContext(context) )); }
/// <summary> /// Visit a parse tree produced by <see cref="QLMainParser.AND"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitAND([NotNull] QLMainParser.ANDContext context) { return(VisitChildren(context)); }