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

Method match

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

Source from the content-addressed store, hash-verified

664
665 // Return true and skip if "syntax" is next in the stream.
666 private boolean match (String syntax) { return _lexer.match (syntax); }
667 // Match must be "exact", not be followed by more id letters
668 private boolean matchx(String syntax) { return _lexer.matchx(syntax); }
669 // Return true and do NOT skip if 'ch' is next

Callers 11

parseStatementMethod · 0.95
typeMethod · 0.95
parseDeclMethod · 0.95
parseComparisonMethod · 0.95
parseAdditionMethod · 0.95
parseMultiplicationMethod · 0.95
parseUnaryMethod · 0.95
parsePrimaryMethod · 0.95
parsePostfixMethod · 0.95
requireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected