type text/template/parse.CommentNode
11 uses
text/template/parse (current package)
node.go#L154: type CommentNode struct {
node.go#L161: func (t *Tree) newComment(pos Pos, text string) *CommentNode {
node.go#L162: return &CommentNode{tr: t, NodeType: NodeComment, Pos: pos, Text: text}
node.go#L165: func (c *CommentNode) String() string {
node.go#L171: func (c *CommentNode) writeTo(sb *strings.Builder) {
node.go#L177: func (c *CommentNode) tree() *Tree {
node.go#L181: func (c *CommentNode) Copy() Node {
node.go#L182: return &CommentNode{tr: c.tr, NodeType: NodeComment, Pos: c.Pos, Text: c.Text}
parse.go#L270: case *CommentNode:
text/template
exec.go#L259: case *parse.CommentNode:
html/template
escape.go#L127: case *parse.CommentNode:
![]() |
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. |