+ warning overwrite
This commit is contained in:
1 parent
7f7c210c64
commit
6bc6e63fd8
5 files changed
+41
-22
No files matched your search
@@ -3,17 +3,9 @@ from os import remove
|
||||
import re
|
||||
from typing import Callable, List, Tuple
|
||||
|
||||
from errors.custom import InterpreterError, JavaSyntaxError, ScopeNotFoundException
|
||||
from draw.Iinstruction import *
|
||||
|
||||
class InterpreterError(Exception):
|
||||
pass
|
||||
|
||||
class JavaSyntaxError(Exception):
|
||||
pass
|
||||
|
||||
class ScopeNotFoundException(Exception):
|
||||
pass
|
||||
|
||||
COMMENT_REGEX = r"""^//|^#|^COMMENT|^--"""
|
||||
REMOVE_KEYWORDS = [' ', "public", "private", "void", ';']
|
||||
|
||||
|
||||
Reference in new issue
Block a user