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

Method prefixStream

parser/functype.go:174–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func (f *funcType) prefixStream() string {
175 s := "stream"
176 if isUpper(f.name[0]) {
177 s = "Stream"
178 }
179 return s
180}
181
182func getCallName(ce *ast.CallExpr) (string, string, error) {
183 callPrefix := ""

Callers 2

DefStreamMethod · 0.95
CallStreamMethod · 0.95

Calls 1

isUpperFunction · 0.85

Tested by

no test coverage detected