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

Method parse

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

Source from the content-addressed store, hash-verified

86 private Node ctrl(Node n) { return _scope.ctrl(n); }
87
88 public StopNode parse() { return parse(false); }
89 public StopNode parse(boolean show) {
90 _xScopes.push(_scope);
91 // Enter a new scope for the initial control and arguments

Callers 15

testVarDeclMethod · 0.95
testVarAddMethod · 0.95
testVarScopeMethod · 0.95
testVarDistMethod · 0.95
testIfStmtMethod · 0.95
testTestMethod · 0.95
testReturn2Method · 0.95
testIfMergeBMethod · 0.95
testIfMerge2Method · 0.95
testMerge3Method · 0.95
testMerge4Method · 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
testIfStmtMethod · 0.76
testTestMethod · 0.76
testReturn2Method · 0.76
testIfMergeBMethod · 0.76
testIfMerge2Method · 0.76
testMerge3Method · 0.76
testMerge4Method · 0.76