public override SqlObject VisitArrayScalarExpression([NotNull] sqlParser.ArrayScalarExpressionContext context)
        {
            Contract.Requires(context != null);

            SqlQuery sqlQuery = (SqlQuery)this.Visit(context.sql_query());

            return(SqlArrayScalarExpression.Create(sqlQuery));
        }
Example #2
0
 /// <summary>
 /// Visit a parse tree produced by the <c>ArrayScalarExpression</c>
 /// labeled alternative in <see cref="sqlParser.scalar_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 VisitArrayScalarExpression([NotNull] sqlParser.ArrayScalarExpressionContext context)
 {
     return(VisitChildren(context));
 }
 /// <summary>
 /// Exit a parse tree produced by the <c>ArrayScalarExpression</c>
 /// labeled alternative in <see cref="sqlParser.primary_expression"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitArrayScalarExpression([NotNull] sqlParser.ArrayScalarExpressionContext context)
 {
 }