Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ Parser
Method
Parser
chapter01/src/main/java/com/seaofnodes/simple/Parser.java:27–31 ·
view source on GitHub ↗
(String source)
Source
from the content-addressed store, hash-verified
25
26
// The Lexer. Thin wrapper over a byte[] buffer with a cursor.
27
private
final
Lexer _lexer;
28
29
30
public
Parser(String source) {
31
_lexer =
new
Lexer(source);
32
Node.reset();
33
START =
new
StartNode();
34
}
Callers
nothing calls this directly
Calls
1
reset
Method · 0.95
Tested by
no test coverage detected