type text/template/parse.PipeNode
30 uses
text/template/parse (current package)
node.go#L188: type PipeNode struct {
node.go#L198: func (t *Tree) newPipeline(pos Pos, line int, vars []*VariableNode) *PipeNode {
node.go#L199: return &PipeNode{tr: t, NodeType: NodePipe, Pos: pos, Line: line, Decl: vars}
node.go#L202: func (p *PipeNode) append(command *CommandNode) {
node.go#L206: func (p *PipeNode) String() string {
node.go#L212: func (p *PipeNode) writeTo(sb *strings.Builder) {
node.go#L230: func (p *PipeNode) tree() *Tree {
node.go#L234: func (p *PipeNode) CopyPipe() *PipeNode {
node.go#L250: func (p *PipeNode) Copy() Node {
node.go#L262: Pipe *PipeNode // The pipeline in the action.
node.go#L265: func (t *Tree) newAction(pos Pos, line int, pipe *PipeNode) *ActionNode {
node.go#L317: if arg, ok := arg.(*PipeNode); ok {
node.go#L560: if _, ok := c.Node.(*PipeNode); ok {
node.go#L846: Pipe *PipeNode // The pipeline to be evaluated.
node.go#L904: func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
node.go#L951: func (t *Tree) newRange(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *RangeNode {
node.go#L964: func (t *Tree) newWith(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *WithNode {
node.go#L979: Pipe *PipeNode // The command to evaluate as dot for the template.
node.go#L982: func (t *Tree) newTemplate(pos Pos, line int, name string, pipe *PipeNode) *TemplateNode {
parse.go#L442: func (t *Tree) pipeline(context string, end itemType) (pipe *PipeNode) {
parse.go#L497: func (t *Tree) checkPipeline(pipe *PipeNode, context string) {
parse.go#L512: func (t *Tree) parseControl(allowElseIf bool, context string) (pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) {
parse.go#L633: var pipe *PipeNode
text/template
exec.go#L293: func (s *state) walkIfOrWith(typ parse.NodeType, dot reflect.Value, pipe *parse.PipeNode, list, elseList *parse.ListNode) {
exec.go#L450: func (s *state) evalPipeline(dot reflect.Value, pipe *parse.PipeNode) (value reflect.Value) {
exec.go#L489: case *parse.PipeNode:
exec.go#L859: case *parse.PipeNode:
exec.go#L977: case *parse.PipeNode:
html/template
escape.go#L263: func ensurePipelineContains(p *parse.PipeNode, s []string) {