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

Method match

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

Source from the content-addressed store, hash-verified

1168
1169 // Return true and skip if "syntax" is next in the stream.
1170 private boolean match (String syntax) { return _lexer.match (syntax); }
1171 // Match must be "exact", not be followed by more id letters
1172 private boolean matchx(String syntax) { return _lexer.matchx(syntax); }
1173 private boolean matchOpx(char c0, char c1) { return _lexer.matchOpx(c0,c1); }

Callers 15

parseStatementMethod · 0.95
parseForMethod · 0.95
parseTrinaryMethod · 0.95
parseDeclarationMethod · 0.95
typeMethod · 0.95
parseExpressionMethod · 0.95
parseBitwiseMethod · 0.95
parseComparisonMethod · 0.95
parseShiftMethod · 0.95
parseAdditionMethod · 0.95
parseMultiplicationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected