(Expression expr)
| 31 | private ArrayList<PikeVM> lookarounds; |
| 32 | |
| 33 | public Output(Expression expr) { |
| 34 | // try-run to determine the code size |
| 35 | expr.writeCode(this); |
| 36 | program = new int[offset]; |
| 37 | offset = 0; |
| 38 | groupCount = -1; |
| 39 | classes = new ArrayList<CharacterMatcher>(); |
| 40 | lookarounds = new ArrayList<PikeVM>(); |
| 41 | // write it out! |
| 42 | expr.writeCode(this); |
| 43 | } |
| 44 | |
| 45 | public void add(int opcode) { |
| 46 | if (program != null) { |