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

Method str

src/main/java/org/sfj/PegLegParser.java:628–630  ·  view source on GitHub ↗

Generate a rule for a specific string (char sequence) @param string char sequence @return rule

(CharSequence string)

Source from the content-addressed store, hash-verified

626 * @return rule
627 */
628 public CharTerminal<V> str(CharSequence string) {
629 return innerStr("str(" + string + ")", string);
630 }
631
632 private CharTerminal<V> innerStr(String name, CharSequence string) {
633 return new CharTerminal<>((ignoreCase) -> {

Callers 3

bcMethod · 0.80
emptyAngleMethod · 0.80
StepMethod · 0.80

Calls 1

innerStrMethod · 0.95

Tested by 2

bcMethod · 0.64
emptyAngleMethod · 0.64