| 80 | public static Map<String, TypeStruct> OBJS = new HashMap<>(); |
| 81 | |
| 82 | public Parser(String source, TypeInteger arg) { |
| 83 | Node.reset(); |
| 84 | IterPeeps.reset(); |
| 85 | OBJS.clear(); |
| 86 | SCHEDULED = false; |
| 87 | _lexer = new Lexer(source); |
| 88 | _scope = new ScopeNode(); |
| 89 | _continueScope = _breakScope = null; |
| 90 | START = new StartNode(new Type[]{ Type.CONTROL, arg }); |
| 91 | STOP = new StopNode(source); |
| 92 | ZERO = new ConstantNode(TypeInteger.constant(0)).peephole().keep(); |
| 93 | XCTRL= new XCtrlNode().peephole().keep(); |
| 94 | } |
| 95 | |
| 96 | public Parser(String source) { |
| 97 | this(source, TypeInteger.BOT); |