type text/template/parse.TextNode
16 uses
text/template/parse (current package)
node.go#L128: type TextNode struct {
node.go#L135: func (t *Tree) newText(pos Pos, text string) *TextNode {
node.go#L136: return &TextNode{tr: t, NodeType: NodeText, Pos: pos, Text: []byte(text)}
node.go#L139: func (t *TextNode) String() string {
node.go#L143: func (t *TextNode) writeTo(sb *strings.Builder) {
node.go#L147: func (t *TextNode) tree() *Tree {
node.go#L151: func (t *TextNode) Copy() Node {
node.go#L152: return &TextNode{tr: t.tr, NodeType: NodeText, Pos: t.Pos, Text: append([]byte{}, t.Text...)}
parse.go#L285: case *TextNode:
text/template
exec.go#L280: case *parse.TextNode:
html/template
escape.go#L99: textNodeEdits map[*parse.TextNode][]byte
escape.go#L120: map[*parse.TextNode][]byte{},
escape.go#L155: case *parse.TextNode:
escape.go#L717: func (e *escaper) escapeText(c context, n *parse.TextNode) context {
escape.go#L864: func (e *escaper) editTextNode(n *parse.TextNode, text []byte) {
escape.go#L899: e.textNodeEdits = make(map[*parse.TextNode][]byte)