MCPcopy
hub / github.com/valyala/quicktemplate / parse

Function parse

parser/parser.go:41–49  ·  view source on GitHub ↗
(w io.Writer, r io.Reader, filename, pkg string, skipLineComments bool)

Source from the content-addressed store, hash-verified

39}
40
41func parse(w io.Writer, r io.Reader, filename, pkg string, skipLineComments bool) error {
42 p := &parser{
43 s: newScanner(r, filename),
44 w: w,
45 packageName: pkg,
46 skipLineComments: skipLineComments,
47 }
48 return p.parseTemplate()
49}
50
51func (p *parser) parseTemplate() error {
52 s := p.s

Callers 2

ParseFunction · 0.85
ParseNoLineCommentsFunction · 0.85

Calls 2

parseTemplateMethod · 0.95
newScannerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…