MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / parse

Method parse

chapter04/src/main/java/com/seaofnodes/simple/Parser.java:69–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 private Node ctrl(Node n) { return _scope.ctrl(n); }
68
69 public ReturnNode parse() { return parse(false); }
70 public ReturnNode parse(boolean show) {
71 // Enter a new scope for the initial control and arguments
72 _scope.push();

Callers 15

testVarDeclMethod · 0.95
testVarAddMethod · 0.95
testVarScopeMethod · 0.95
testVarDistMethod · 0.95
testParseGrammarMethod · 0.95
testAddPeepholeMethod · 0.95
testSubPeepholeMethod · 0.95
testMulPeepholeMethod · 0.95
testDivPeepholeMethod · 0.95
testMinusPeepholeMethod · 0.95
testExampleMethod · 0.95

Calls 9

parseBlockMethod · 0.95
errorMethod · 0.95
showGraphMethod · 0.95
pushMethod · 0.45
defineMethod · 0.45
peepholeMethod · 0.45
popMethod · 0.45
isEOFMethod · 0.45
getAnyNextTokenMethod · 0.45

Tested by 15

testVarDeclMethod · 0.76
testVarAddMethod · 0.76
testVarScopeMethod · 0.76
testVarDistMethod · 0.76
testParseGrammarMethod · 0.76
testAddPeepholeMethod · 0.76
testSubPeepholeMethod · 0.76
testMulPeepholeMethod · 0.76
testDivPeepholeMethod · 0.76
testMinusPeepholeMethod · 0.76
testExampleMethod · 0.76