Ejemplo n.º 1
0
        static public MExpUnaryOperator_Sign_Negate DOMify(MExpParser.MExpUnaryOperator_NegateContext context)
        {
            if (context != null)
            {
                return(new MExpUnaryOperator_Sign_Negate(context));
            }

            return(null);
        }
Ejemplo n.º 2
0
 public MExpUnaryOperator_Sign_Negate(MExpParser.MExpUnaryOperator_NegateContext context) : this()
 {
 }
Ejemplo n.º 3
0
 public override MExpElement VisitMExpUnaryOperator_Negate(MExpParser.MExpUnaryOperator_NegateContext context)
 {
     return(MExpUnaryOperator_Sign_Negate.DOMify(context));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Visit a parse tree produced by the <c>mExpUnaryOperator_Negate</c>
 /// labeled alternative in <see cref="MExpParser.mExpUnarySignOperator"/>.
 /// <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 VisitMExpUnaryOperator_Negate([NotNull] MExpParser.MExpUnaryOperator_NegateContext context)
 {
     return(VisitChildren(context));
 }