Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ require
Method
require
chapter19/src/main/java/com/seaofnodes/simple/Parser.java:1480–1480 ·
view source on GitHub ↗
(String syntax)
Source
from the content-addressed store, hash-verified
1478
private
Type posT(
int
pos) { _lexer._position = pos;
return
null; }
1479
// Source code location
1480
Lexer loc() {
return
new
Lexer(_lexer); }
1481
1482
1483
// Require and return an identifier
Callers
14
parseStatement
Method · 0.95
parseWhile
Method · 0.95
parseFor
Method · 0.95
parseLooping
Method · 0.95
parseContinue
Method · 0.95
parseBreak
Method · 0.95
parseIf
Method · 0.95
parseReturn
Method · 0.95
parseDeclarationStatement
Method · 0.95
parseStruct
Method · 0.95
parsePrimary
Method · 0.95
alloc
Method · 0.95
Calls
2
match
Method · 0.95
errorSyntax
Method · 0.95
Tested by
no test coverage detected