type text/template/parse.VariableNode
16 uses
text/template/parse (current package)
node.go#L194: Decl []*VariableNode // Variables in lexical order.
node.go#L198: func (t *Tree) newPipeline(pos Pos, line int, vars []*VariableNode) *PipeNode {
node.go#L242: vars := make([]*VariableNode, len(p.Decl))
node.go#L244: vars[i] = d.Copy().(*VariableNode)
node.go#L392: type VariableNode struct {
node.go#L399: func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
node.go#L400: return &VariableNode{tr: t, NodeType: NodeVariable, Pos: pos, Ident: strings.Split(ident, ".")}
node.go#L403: func (v *VariableNode) String() string {
node.go#L409: func (v *VariableNode) writeTo(sb *strings.Builder) {
node.go#L418: func (v *VariableNode) tree() *Tree {
node.go#L422: func (v *VariableNode) Copy() Node {
node.go#L423: return &VariableNode{tr: v.tr, NodeType: NodeVariable, Pos: v.Pos, Ident: append([]string{}, v.Ident...)}
text/template
exec.go#L568: case *parse.VariableNode:
exec.go#L646: func (s *state) evalVariableNode(dot reflect.Value, variable *parse.VariableNode, args []parse.Node, final reflect.Value) reflect.Value {
exec.go#L946: case *parse.VariableNode:
exec.go#L1064: case *parse.VariableNode: