MCPcopy Create free account
hub / github.com/ReadyTalk/avian / writeCode

Method writeCode

classpath/java/util/regex/Compiler.java:314–324  ·  view source on GitHub ↗
(Output output)

Source from the content-addressed store, hash-verified

312 }
313
314 @Override
315 protected void writeCode(Output output) {
316 PikeVM vm = new Output(group).toVM();
317 if (!forward) {
318 vm.reverse();
319 }
320 output.add(forward ?
321 (negative ? NEGATIVE_LOOKAHEAD : LOOKAHEAD) :
322 (negative ? NEGATIVE_LOOKAHEAD : LOOKBEHIND));
323 output.add(output.addLookaround(vm));
324 }
325
326 public String toString() {
327 String inner = group.toString();

Callers

nothing calls this directly

Calls 4

reverseMethod · 0.95
toVMMethod · 0.80
addLookaroundMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected