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

Method DefStream

parser/functype.go:141–143  ·  view source on GitHub ↗
(dst string)

Source from the content-addressed store, hash-verified

139}
140
141func (f *funcType) DefStream(dst string) string {
142 return fmt.Sprintf("%s%s%s(%s *qt%s.Writer%s)", f.defPrefix, f.prefixStream(), f.name, dst, mangleSuffix, f.args)
143}
144
145func (f *funcType) CallStream(dst string) string {
146 return fmt.Sprintf("%s%s%s(%s%s)", f.callPrefix, f.prefixStream(), f.name, dst, f.argNames)

Callers 3

parseInterfaceMethod · 0.80
emitFuncStartMethod · 0.80
testParseFuncDefSuccessFunction · 0.80

Calls 1

prefixStreamMethod · 0.95

Tested by 1

testParseFuncDefSuccessFunction · 0.64