MCPcopy Index your code
hub / github.com/aptly-dev/aptly / parse

Function parse

query/syntax.go:19–29  ·  view source on GitHub ↗
(input *lexer)

Source from the content-addressed store, hash-verified

17}
18
19func parse(input *lexer) (deb.PackageQuery, error) {
20 p := &parser{
21 name: input.name,
22 input: input,
23 }
24 query := p.parse()
25 if p.err != nil {
26 return nil, p.err
27 }
28 return query, nil
29}
30
31// Entry into parser
32func (p *parser) parse() deb.PackageQuery {

Callers 3

ParseFunction · 0.85
TestParsingMethod · 0.85
TestParsingErrorsMethod · 0.85

Calls 1

parseMethod · 0.95

Tested by 2

TestParsingMethod · 0.68
TestParsingErrorsMethod · 0.68