text/template/parse.IdentifierNode.SetPos (method)
7 uses
text/template/parse (current package)
node.go#L356: func (i *IdentifierNode) SetPos(pos Pos) *IdentifierNode {
node.go#L382: return NewIdentifier(i.Ident).SetTree(i.tr).SetPos(i.Pos)
parse.go#L695: return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
github.com/google/safehtml/template
escape.go#L193: lastCmd.Args[0] = parse.NewIdentifier(evalArgsFuncName).SetTree(nil).SetPos(lastCmd.Args[0].Position())
escape.go#L268: Args: []parse.Node{parse.NewIdentifier(identifier).SetTree(nil).SetPos(pos)}, // TODO: SetTree.
html/template
escape.go#L265: lastCmd.Args[0] = parse.NewIdentifier("_eval_args_").SetTree(nil).SetPos(lastCmd.Args[0].Position())
escape.go#L389: Args: []parse.Node{parse.NewIdentifier(identifier).SetTree(nil).SetPos(pos)}, // TODO: SetTree.
![]() |
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. |