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

Method parse

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

A Parsing entry point. @param rule rule to start with @return rule return value

(PegLegRule<V> rule)

Source from the content-addressed store, hash-verified

952 * @return rule return value
953 */
954 public RuleReturn<V> parse(PegLegRule<V> rule) { return rule.rule(); }
955
956 public SourcePosition getFarthestSuccessfulPos() { return farthestSuccessfulPos; }
957

Callers 8

testCalcMethod · 0.80
testABCMethod · 0.80
testSimpleJsonMethod · 0.80
testJSONFailuresMethod · 0.80
testDotsMethod · 0.80
testDictParserMethod · 0.80
singleObjectMethod · 0.80
matchAsNumberMethod · 0.80

Calls 1

ruleMethod · 0.65

Tested by 6

testCalcMethod · 0.64
testABCMethod · 0.64
testSimpleJsonMethod · 0.64
testJSONFailuresMethod · 0.64
testDotsMethod · 0.64
testDictParserMethod · 0.64