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

Method addLookaround

classpath/java/util/regex/Compiler.java:84–91  ·  view source on GitHub ↗
(PikeVM lookaround)

Source from the content-addressed store, hash-verified

82 }
83
84 public int addLookaround(PikeVM lookaround) {
85 if (program == null) {
86 return -1;
87 }
88 int result = lookarounds.size();
89 lookarounds.add(lookaround);
90 return result;
91 }
92 }
93
94 private abstract class Expression {

Callers 1

writeCodeMethod · 0.80

Calls 2

sizeMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected