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

Method parse

src/stone/Parser.java:299–305  ·  view source on GitHub ↗
(Lexer lexer)

Source from the content-addressed store, hash-verified

297 factory = p.factory;
298 }
299 public ASTree parse(Lexer lexer) throws ParseException {
300 ArrayList<ASTree> results = new ArrayList<ASTree>();
301 for (Element e: elements)
302 e.parse(lexer, results);
303
304 return factory.make(results);
305 }
306 protected boolean match(Lexer lexer) throws ParseException {
307 if (elements.size() == 0)
308 return true;

Callers 9

parseMethod · 0.95
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
doShiftMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 1

makeMethod · 0.80

Tested by

no test coverage detected