示例#1
0
 /// <summary>
 /// Permet d'aller a la regle Unary de la grammaire
 /// </summary>
 /// <param name="context">la partie droite de la regle de la grammaire</param>
 /// <returns>Le Terme remonte par la visite de la regle Unary</returns>
 public override Term VisitToUnary([NotNull] TableurParser.ToUnaryContext context)
 {
     return(this.Visit(context.unary()));
 }
示例#2
0
 /// <summary>
 /// Visit a parse tree produced by the <c>ToUnary</c>
 /// labeled alternative in <see cref="TableurParser.multdivmod"/>.
 /// <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 VisitToUnary([NotNull] TableurParser.ToUnaryContext context)
 {
     return(VisitChildren(context));
 }
示例#3
0
 /// <summary>
 /// Exit a parse tree produced by the <c>ToUnary</c>
 /// labeled alternative in <see cref="TableurParser.multdivmod"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitToUnary([NotNull] TableurParser.ToUnaryContext context)
 {
 }