- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for NilNode (0.15 sec)
-
src/text/template/parse/node.go
} func (d *DotNode) Copy() Node { return d.tr.newDot(d.Pos) } // NilNode holds the special identifier 'nil' representing an untyped nil constant. type NilNode struct { NodeType Pos tr *Tree } func (t *Tree) newNil(pos Pos) *NilNode { return &NilNode{tr: t, NodeType: NodeNil, Pos: pos} } func (n *NilNode) Type() NodeType { // Override method on embedded NodeType for API compatibility.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/text/template/exec.go
case *parse.DotNode: return dot case *parse.FieldNode: return s.evalFieldNode(dot, n, nil, missingVal) case *parse.IdentifierNode: return s.evalFunction(dot, n, n, nil, missingVal) case *parse.NilNode: // NilNode is handled in evalArg, the only place that calls here. s.errorf("evalEmptyInterface: nil (can't happen)") case *parse.NumberNode: return s.idealConstant(n) case *parse.StringNode:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
api/go1.4.txt
# CL 130620043 text/template: add back pointer to Nodes for better error generation, Rob Pike <******@****.***> pkg text/template/parse, type DotNode struct, embedded NodeType pkg text/template/parse, type NilNode struct, embedded NodeType pkg text/template/parse, method (*BranchNode) Copy() Node pkg text/template/parse, method (*IdentifierNode) SetTree(*Tree) *IdentifierNode pkg html/template, type Error struct, Node parse.Node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(*IfNode).String", Method, 0}, {"(*ListNode).Copy", Method, 0}, {"(*ListNode).CopyList", Method, 0}, {"(*ListNode).String", Method, 0}, {"(*NilNode).Copy", Method, 1}, {"(*NilNode).String", Method, 1}, {"(*NilNode).Type", Method, 1}, {"(*NumberNode).Copy", Method, 0}, {"(*NumberNode).String", Method, 0}, {"(*PipeNode).Copy", Method, 0}, {"(*PipeNode).CopyPipe", Method, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.1.txt
pkg text/template/parse, method (*IdentifierNode) SetPos(Pos) *IdentifierNode pkg text/template/parse, method (*NilNode) Copy() Node pkg text/template/parse, method (*NilNode) String() string pkg text/template/parse, method (*NilNode) Type() NodeType pkg text/template/parse, method (*Tree) ErrorContext(Node) (string, string) pkg text/template/parse, method (ActionNode) Position() Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)