text/template/parse.IdentifierNode.SetPos (method)
5 uses
text/template/parse (current package)
node.go#L358: func (i *IdentifierNode) SetPos(pos Pos) *IdentifierNode {
node.go#L384: return NewIdentifier(i.Ident).SetTree(i.tr).SetPos(i.Pos)
parse.go#L736: return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
html/template
escape.go#L283: lastCmd.Args[0] = parse.NewIdentifier("_eval_args_").SetTree(nil).SetPos(lastCmd.Args[0].Position())
escape.go#L407: Args: []parse.Node{parse.NewIdentifier(identifier).SetTree(nil).SetPos(pos)}, // TODO: SetTree.
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)