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)); }
/// <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) { }
public void EnterLiteral(QueryParser.LiteralContext context) { }