Ejemplo n.º 1
0
 public void ExitPrintstatement(BASICParser.PrintstatementContext context)
 {
     if (currentPrintList.items.Count != currentPrintList.separators.Count + 1)
     {
         CompileException ex = new CompileException("Malformed print statement");
         throw ex;
     }
     finishedLine = new Statement_Print(currentPrintList);
 }
Ejemplo n.º 2
0
 public void EnterPrintstatement(BASICParser.PrintstatementContext context)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="BASICParser.printstatement"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitPrintstatement([NotNull] BASICParser.PrintstatementContext context)
 {
 }