Beispiel #1
0
 public object visitContinueStatement(Statement.continueStmt continueStatement)
 {
     if (!isInLoop)
     {
         Lox.error(continueStatement.keyword, "Cannot use continue statement outside of a loop.");
     }
     return(null);
 }
Beispiel #2
0
 public object visitContinueStatement(Statement.continueStmt continueStatement)
 {
     _continue = true;
     return(null);
 }