MCPcopy Create free account
hub / github.com/google/re2j / op

Method op

java/com/google/re2j/Parser.java:215–219  ·  view source on GitHub ↗
(Regexp.Op op)

Source from the content-addressed store, hash-verified

213 // op pushes a regexp with the given op onto the stack
214 // and returns that regexp.
215 private Regexp op(Regexp.Op op) {
216 Regexp re = newRegexp(op);
217 re.flags = flags;
218 return push(re);
219 }
220
221 // repeat replaces the top stack element with itself repeated according to
222 // op, min, max. beforePos is the start position of the repetition operator.

Callers 3

parseInternalMethod · 0.95
parsePerlFlagsMethod · 0.95
parseVerticalBarMethod · 0.95

Calls 2

newRegexpMethod · 0.95
pushMethod · 0.95

Tested by

no test coverage detected