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

Method parse

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

Source from the content-addressed store, hash-verified

110 private Node ctrl(Node n) { return _scope.ctrl(n); }
111
112 public StopNode parse() { return parse(false); }
113 public StopNode parse(boolean show) {
114 _xScopes.push(_scope);
115 // Enter a new scope for the initial control and arguments

Callers 15

testPeepholeReturnMethod · 0.95
testPeepholeRotateMethod · 0.95
testPeepholeCFGMethod · 0.95
testIfIfMethod · 0.95
testIfArgIfMethod · 0.95
testMerge3With2Method · 0.95
testMerge3With1Method · 0.95
testMerge3PeepholeMethod · 0.95
testMerge3Peephole1Method · 0.95
testMerge3Peephole3Method · 0.95
testDemo1NonConstMethod · 0.95
testDemo1TrueMethod · 0.95

Calls 12

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

Tested by 15

testPeepholeReturnMethod · 0.76
testPeepholeRotateMethod · 0.76
testPeepholeCFGMethod · 0.76
testIfIfMethod · 0.76
testIfArgIfMethod · 0.76
testMerge3With2Method · 0.76
testMerge3With1Method · 0.76
testMerge3PeepholeMethod · 0.76
testMerge3Peephole1Method · 0.76
testMerge3Peephole3Method · 0.76
testDemo1NonConstMethod · 0.76
testDemo1TrueMethod · 0.76