public override Expression VisitExpressionValue(QLMainParser.ExpressionValueContext context) { return(context.value().Accept(new LiteralVisitor())); }
public override IExpression VisitExpressionValue(QLMainParser.ExpressionValueContext context) { return(new Container(context.GetText(), context.value().Accept(new LiteralVisitor()), Position.PositionFormParserRuleContext(context))); }
/// <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)); }