Esempio n. 1
0
 public void ExitSign(BASICParser.SignContext context)
 {
     currentSign = context.GetText().Equals("-") ? NumericConstant.Sign.MINUSSIGN : NumericConstant.Sign.PLUSSIGN;
     if (seekingSign)
     {
         currentNumericConstantSign = currentSign;
         haveSign    = true;
         seekingSign = false;
     }
 }
Esempio n. 2
0
 public void EnterSign(BASICParser.SignContext context)
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="BASICParser.sign"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitSign([NotNull] BASICParser.SignContext context)
 {
 }