text/template/parse.Tree.Name (field)
12 uses
text/template/parse (current package)
parse.go#L21: Name string // name of the template represented by the tree.
parse.go#L50: Name: t.Name,
parse.go#L132: Name: name,
parse.go#L242: t.ParseName = t.Name
parse.go#L244: t.startParse(funcs, lex(t.Name, text, leftDelim, rightDelim, emitComment), treeSet)
parse.go#L254: tree := t.treeSet[t.Name]
parse.go#L256: t.treeSet[t.Name] = t
parse.go#L260: t.errorf("template: multiple definition of template %q", t.Name)
parse.go#L326: t.Name, err = strconv.Unquote(name.val)
github.com/google/safehtml/template
escape.go#L509: dt.Tree.Name = dname
html/template
escape.go#L577: dt.Tree = &parse.Tree{Name: dname, Root: t.Root.CopyList()}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |