Ejemplo n.º 1
0
        public void ExitLiteral(QueryParser.LiteralContext context)
        {
            var op = context.NOT();

            if (op == null)
            {
                return;
            }

            var expr = _expressions.Pop();

            _expressions.Push(new NotExpression(op.Symbol.Line, op.Symbol.Column, expr));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="QueryParser.literal"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitLiteral([NotNull] QueryParser.LiteralContext context)
 {
 }
Ejemplo n.º 3
0
 public void EnterLiteral(QueryParser.LiteralContext context)
 {
 }