- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BreakNode (0.28 sec)
-
src/text/template/parse/node.go
} // BreakNode represents a {{break}} action. type BreakNode struct { tr *Tree NodeType Pos Line int } func (t *Tree) newBreak(pos Pos, line int) *BreakNode { return &BreakNode{tr: t, NodeType: NodeBreak, Pos: pos, Line: line} } func (b *BreakNode) Copy() Node { return b.tr.newBreak(b.Pos, b.Line) }
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
// Also, if the action declares variables, don't print the result. val := s.evalPipeline(dot, node.Pipe) if len(node.Pipe.Decl) == 0 { s.printValue(node, val) } case *parse.BreakNode: panic(walkBreak) case *parse.CommentNode: case *parse.ContinueNode: panic(walkContinue) case *parse.IfNode: s.walkIfOrWith(parse.NodeIf, dot, node.Pipe, node.List, node.ElseList)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"BranchNode.List", Field, 0}, {"BranchNode.NodeType", Field, 0}, {"BranchNode.Pipe", Field, 0}, {"BranchNode.Pos", Field, 1}, {"BreakNode", Type, 18}, {"BreakNode.Line", Field, 18}, {"BreakNode.NodeType", Field, 18}, {"BreakNode.Pos", Field, 18}, {"ChainNode", Type, 1}, {"ChainNode.Field", Field, 1}, {"ChainNode.Node", Field, 1}, {"ChainNode.NodeType", Field, 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)