Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gokcehan/lf
/ newParser
Function
newParser
parse.go:209–217 ·
view source on GitHub ↗
(r io.Reader)
Source
from the content-addressed store, hash-verified
207
}
208
209
func
newParser(r io.Reader) *parser {
210
scanner := newScanner(r)
211
212
scanner.scan()
213
214
return
&parser{
215
scanner: scanner,
216
}
217
}
218
219
func
(p *parser) parseExpr() expr {
220
s := p.scanner
Callers
5
TestParse
Function · 0.85
eval
Method · 0.85
readFile
Method · 0.85
loop
Method · 0.85
readExpr
Function · 0.85
Calls
2
newScanner
Function · 0.85
scan
Method · 0.80
Tested by
1
TestParse
Function · 0.68