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

Method emitFuncStart

parser/parser.go:783–786  ·  view source on GitHub ↗
(f *funcType)

Source from the content-addressed store, hash-verified

781}
782
783func (p *parser) emitFuncStart(f *funcType) {
784 p.Printf("func %s {", f.DefStream("qw"+mangleSuffix))
785 p.prefix = "\t"
786}
787
788func (p *parser) emitFuncEnd(f *funcType) {
789 p.prefix = ""

Callers 1

parseFuncMethod · 0.95

Calls 2

PrintfMethod · 0.95
DefStreamMethod · 0.80

Tested by

no test coverage detected