/// <summary> /// Visit a parse tree produced by the <c>binAndExpression</c> /// labeled alternative in <see cref="DaedalusParser.expression"/>. /// <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 VisitBinAndExpression([NotNull] DaedalusParser.BinAndExpressionContext context) { return(VisitChildren(context)); }
public override void ExitBinAndExpression(DaedalusParser.BinAndExpressionContext context) { _assemblyBuilder.ExpressionEnd(); }
public override ASTNode VisitBinAndExpression([NotNull] DaedalusParser.BinAndExpressionContext context) { return(CreateBinaryExpressionNode(GetLocation(context), context.oper, context.expression())); }
public override void EnterBinAndExpression(DaedalusParser.BinAndExpressionContext context) { _assemblyBuilder.ExpressionStart(); }
/// <summary> /// Exit a parse tree produced by the <c>binAndExpression</c> /// labeled alternative in <see cref="DaedalusParser.expression"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitBinAndExpression([NotNull] DaedalusParser.BinAndExpressionContext context) { }