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

Method peek

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

Source from the content-addressed store, hash-verified

1444 private boolean matchOpx(char c0, char c1) { return _lexer.matchOpx(c0,c1); }
1445 // Return true and do NOT skip if 'ch' is next
1446 private boolean peek(char ch) { return _lexer.peek(ch); }
1447 private boolean peekIsId() { return _lexer.peekIsId(); }
1448
1449 // ch is +/- 1, means oper++ or oper-- means postfix

Callers 10

parseFunctionBodyMethod · 0.95
parseBlockMethod · 0.95
parseStatementMethod · 0.95
parseLoopingMethod · 0.95
parseStructMethod · 0.95
typeMethod · 0.95
functionCallMethod · 0.95
parseUnaryMethod · 0.45
parsePrimaryMethod · 0.45
_showMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected