type text/template/parse.PipeNode
31 uses
text/template/parse (current package)
node.go#L186: type PipeNode struct {
node.go#L196: func (t *Tree) newPipeline(pos Pos, line int, vars []*VariableNode) *PipeNode {
node.go#L197: return &PipeNode{tr: t, NodeType: NodePipe, Pos: pos, Line: line, Decl: vars}
node.go#L200: func (p *PipeNode) append(command *CommandNode) {
node.go#L204: func (p *PipeNode) String() string {
node.go#L210: func (p *PipeNode) writeTo(sb *strings.Builder) {
node.go#L228: func (p *PipeNode) tree() *Tree {
node.go#L232: func (p *PipeNode) CopyPipe() *PipeNode {
node.go#L248: func (p *PipeNode) Copy() Node {
node.go#L260: Pipe *PipeNode // The pipeline in the action.
node.go#L263: func (t *Tree) newAction(pos Pos, line int, pipe *PipeNode) *ActionNode {
node.go#L315: if arg, ok := arg.(*PipeNode); ok {
node.go#L558: if _, ok := c.Node.(*PipeNode); ok {
node.go#L844: Pipe *PipeNode // The pipeline to be evaluated.
node.go#L902: func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
node.go#L915: func (t *Tree) newRange(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *RangeNode {
node.go#L928: func (t *Tree) newWith(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *WithNode {
node.go#L943: Pipe *PipeNode // The command to evaluate as dot for the template.
node.go#L946: func (t *Tree) newTemplate(pos Pos, line int, name string, pipe *PipeNode) *TemplateNode {
parse.go#L409: func (t *Tree) pipeline(context string, end itemType) (pipe *PipeNode) {
parse.go#L464: func (t *Tree) checkPipeline(pipe *PipeNode, context string) {
parse.go#L479: func (t *Tree) parseControl(allowElseIf bool, context string) (pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) {
parse.go#L593: var pipe *PipeNode
text/template
exec.go#L283: func (s *state) walkIfOrWith(typ parse.NodeType, dot reflect.Value, pipe *parse.PipeNode, list, elseList *parse.ListNode) {
exec.go#L429: func (s *state) evalPipeline(dot reflect.Value, pipe *parse.PipeNode) (value reflect.Value) {
exec.go#L468: case *parse.PipeNode:
exec.go#L806: case *parse.PipeNode:
exec.go#L924: case *parse.PipeNode:
github.com/google/safehtml/template
escape.go#L173: func ensurePipelineContains(p *parse.PipeNode, s []string) {
html/template
escape.go#L245: func ensurePipelineContains(p *parse.PipeNode, s []string) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |