text/template/parse.Pos.Position (method)
8 uses
text/template/parse (current package)
node.go#L42: func (p Pos) Position() Pos {
parse.go#L509: return pipe.Position(), pipe.Line, pipe, list, elseList
parse.go#L668: node = t.newField(chain.Position(), chain.String())
parse.go#L670: node = t.newVariable(chain.Position(), chain.String())
github.com/google/safehtml/template
escape.go#L194: p.Cmds = append(p.Cmds, newIdentCmd(esc, p.Position()))
escape.go#L218: newCmds = append(newCmds, newIdentCmd(name, p.Position()))
html/template
escape.go#L266: p.Cmds = appendCmd(p.Cmds, newIdentCmd(esc, p.Position()))
escape.go#L302: newCmds = appendCmd(newCmds, newIdentCmd(name, p.Position()))
 |
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. |