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

Method peek

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

Source from the content-addressed store, hash-verified

965 private String requireId() {
966 String id = _lexer.matchId();
967 if (id != null && !KEYWORDS.contains(id) ) return id;
968 throw error("Expected an identifier, found '"+id+"'");
969 }
970

Callers 4

parseBlockMethod · 0.95
parseAsgnMethod · 0.95
parseStructMethod · 0.95
parsePrimaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected