MCPcopy Create free account
hub / github.com/chibash/stone / option

Method option

src/stone/Parser.java:372–375  ·  view source on GitHub ↗
(Parser p)

Source from the content-addressed store, hash-verified

370 return this;
371 }
372 public Parser option(Parser p) {
373 elements.add(new Repeat(p, true));
374 return this;
375 }
376 public Parser repeat(Parser p) {
377 elements.add(new Repeat(p, false));
378 return this;

Callers 3

FuncParserMethod · 0.80
ClassParserClass · 0.80
BasicParserClass · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected