()
| 64 | } |
| 65 | |
| 66 | public PikeVM toVM() { |
| 67 | CharacterMatcher[] classes = new CharacterMatcher[this.classes.size()]; |
| 68 | this.classes.toArray(classes); |
| 69 | PikeVM[] lookarounds = new PikeVM[this.lookarounds.size()]; |
| 70 | this.lookarounds.toArray(lookarounds); |
| 71 | return new PikeVM(program, findPreambleSize, groupCount, classes, |
| 72 | lookarounds); |
| 73 | } |
| 74 | |
| 75 | public int addClass(CharacterMatcher characterClass) { |
| 76 | if (program == null) { |