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

Method parse

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

Source from the content-addressed store, hash-verified

51
52 public Parser(String source) {
53 _lexer = new Lexer(source);
54 PARSER = this;
55 Node.reset();
56 _scope = new ScopeNode();

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 5

parseBlockMethod · 0.95
errorMethod · 0.95
showGraphMethod · 0.95
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