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

Method require

chapter19/src/main/java/com/seaofnodes/simple/Parser.java:1480–1480  ·  view source on GitHub ↗
(String syntax)

Source from the content-addressed store, hash-verified

1478 private Type posT(int pos) { _lexer._position = pos; return null; }
1479 // Source code location
1480 Lexer loc() { return new Lexer(_lexer); }
1481
1482
1483 // Require and return an identifier

Callers 14

parseStatementMethod · 0.95
parseWhileMethod · 0.95
parseForMethod · 0.95
parseLoopingMethod · 0.95
parseContinueMethod · 0.95
parseBreakMethod · 0.95
parseIfMethod · 0.95
parseReturnMethod · 0.95
parseStructMethod · 0.95
parsePrimaryMethod · 0.95
allocMethod · 0.95

Calls 2

matchMethod · 0.95
errorSyntaxMethod · 0.95

Tested by

no test coverage detected