private static void CheckupClosedToken(Tokens.Token closedToken)
 {
     if (curTok.token != closedToken)
     {
         ConsoleHelper.WriteErrorAST("Expected '" + closedToken.ToString() + "'", curTok.y, curTok.x);
         SkipToToken(Tokens.Token.SEMILICON);
     }
 }
Example #2
0
 public override void Print(string level)
 {
     Console.WriteLine(level + "[CONSOLE COMMAND]: " + command.ToString());
     if (storage != null)
     {
         Console.WriteLine(level + "[STORAGE] =");
         storage.Print(level + "\t");
     }
 }