public override Expression VisitExpressionValue(QLMainParser.ExpressionValueContext context)
 {
     return(context.value().Accept(new LiteralVisitor()));
 }
Ejemplo n.º 2
0
 public override IExpression VisitExpressionValue(QLMainParser.ExpressionValueContext context)
 {
     return(new Container(context.GetText(),
                          context.value().Accept(new LiteralVisitor()),
                          Position.PositionFormParserRuleContext(context)));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Visit a parse tree produced by <see cref="QLMainParser.ExpressionValue"/>.
 /// <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 VisitExpressionValue([NotNull] QLMainParser.ExpressionValueContext context)
 {
     return(VisitChildren(context));
 }