MCPcopy Create free account
hub / github.com/donatj/sqlread / Parse

Function Parse

parser.go:14–18  ·  view source on GitHub ↗

Parse creates a new parser

(l chan LexItem)

Source from the content-addressed store, hash-verified

12
13// Parse creates a new parser
14func Parse(l chan LexItem) *Parser {
15 return &Parser{
16 items: l,
17 }
18}
19
20func (p *Parser) scan() (c LexItem, ok bool) {
21 c, ok = <-p.items

Callers 3

execQueryFunction · 0.92
mainFunction · 0.92
interactiveFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected