public override void ExitProductToNegate(calcParser.ProductToNegateContext context) { base.ExitProductToNegate(context); var negate = context.negate(); double v = Annotations.ptp.Get(negate); Annotations.ptp.Put(context, v); }
/// <summary> /// Exit a parse tree produced by the <c>productToNegate</c> /// labeled alternative in <see cref="calcParser.product"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitProductToNegate([NotNull] calcParser.ProductToNegateContext context) { }