MCPcopy Create free account
hub / github.com/cschanck/single-file-java / innerStr

Method innerStr

src/main/java/org/sfj/PegLegParser.java:632–638  ·  view source on GitHub ↗
(String name, CharSequence string)

Source from the content-addressed store, hash-verified

630 }
631
632 private CharTerminal<V> innerStr(String name, CharSequence string) {
633 return new CharTerminal<>((ignoreCase) -> {
634 get().pushFrame(name);
635 boolean ret = extremelyInnerString(string, ignoreCase);
636 return get().ruleReturn(ret, ret);
637 });
638 }
639
640 /**
641 * Generates a rule for the char sequence, allowing any amount of preceding/following whitespace.

Callers 3

eolRuleMethod · 0.95
chMethod · 0.95
strMethod · 0.95

Calls 4

getMethod · 0.95
extremelyInnerStringMethod · 0.95
pushFrameMethod · 0.80
ruleReturnMethod · 0.80

Tested by

no test coverage detected