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

Method match

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

Source from the content-addressed store, hash-verified

284 private boolean matchx(String syntax) { return _lexer.matchx(syntax); }
285 // Return true and do NOT skip if 'ch' is next
286 private boolean peek(char ch) { return _lexer.peek(ch); }
287
288 // Require and return an identifier
289 private String requireId() {

Callers 7

parseStatementMethod · 0.95
parseComparisonMethod · 0.95
parseAdditionMethod · 0.95
parseMultiplicationMethod · 0.95
parseUnaryMethod · 0.95
parsePrimaryMethod · 0.95
requireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected