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

Method peek

chapter13/src/main/java/com/seaofnodes/simple/Parser.java:672–672  ·  view source on GitHub ↗
(char ch)

Source from the content-addressed store, hash-verified

670 // Return true and skip if "syntax" is next in the stream.
671 private boolean match (String syntax) { return _lexer.match (syntax); }
672 // Match must be "exact", not be followed by more id letters
673 private boolean matchx(String syntax) { return _lexer.matchx(syntax); }
674 // Return true and do NOT skip if 'ch' is next
675 private boolean peek(char ch) { return _lexer.peek(ch); }

Callers 4

parseBlockMethod · 0.95
parseStructMethod · 0.95
parsePostfixMethod · 0.95
parsePrimaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected