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#L238: vars := make([]*VariableNode, len(p.Decl))
node.go#L240: vars[i] = d.Copy().(*VariableNode)
node.go#L389: type VariableNode struct {
node.go#L396: func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
node.go#L397: return &VariableNode{tr: t, NodeType: NodeVariable, Pos: pos, Ident: strings.Split(ident, ".")}
node.go#L400: func (v *VariableNode) String() string {
node.go#L406: func (v *VariableNode) writeTo(sb *strings.Builder) {
node.go#L415: func (v *VariableNode) tree() *Tree {
node.go#L419: func (v *VariableNode) Copy() Node {
node.go#L420: return &VariableNode{tr: v.tr, NodeType: NodeVariable, Pos: v.Pos, Ident: append([]string{}, v.Ident...)}
text/template
exec.go#L493: case *parse.VariableNode:
exec.go#L571: func (s *state) evalVariableNode(dot reflect.Value, variable *parse.VariableNode, args []parse.Node, final reflect.Value) reflect.Value {
exec.go#L857: case *parse.VariableNode:
exec.go#L975: case *parse.VariableNode: