MCPcopy 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
209func newParser(r io.Reader) *parser {
210 scanner := newScanner(r)
211
212 scanner.scan()
213
214 return &parser{
215 scanner: scanner,
216 }
217}
218
219func (p *parser) parseExpr() expr {
220 s := p.scanner

Callers 5

TestParseFunction · 0.85
evalMethod · 0.85
readFileMethod · 0.85
loopMethod · 0.85
readExprFunction · 0.85

Calls 2

newScannerFunction · 0.85
scanMethod · 0.80

Tested by 1

TestParseFunction · 0.68