Documentation
¶
Index ¶
- type ChildrenCommandNode
- func (n *ChildrenCommandNode) AddChild(c nodeBase)
- func (n *ChildrenCommandNode) Children() []nodeBase
- func (n *ChildrenCommandNode) Indent() int
- func (n *ChildrenCommandNode) Origin() token
- func (n *ChildrenCommandNode) Source(tw *templateWriter) error
- func (n *ChildrenCommandNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *ChildrenCommandNode) Type() nodeType
- type CodeNode
- type CommentNode
- func (n *CommentNode) AddChild(c nodeBase)
- func (n *CommentNode) Children() []nodeBase
- func (n *CommentNode) Indent() int
- func (n *CommentNode) Origin() token
- func (n *CommentNode) Source(tw *templateWriter) error
- func (n *CommentNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *CommentNode) Type() nodeType
- type CssFilterNode
- func (n *CssFilterNode) AddChild(c nodeBase)
- func (n *CssFilterNode) Children() []nodeBase
- func (n *CssFilterNode) Indent() int
- func (n *CssFilterNode) Origin() token
- func (n *CssFilterNode) Source(tw *templateWriter) error
- func (n *CssFilterNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *CssFilterNode) Type() nodeType
- type DoctypeNode
- func (n *DoctypeNode) AddChild(c nodeBase)
- func (n *DoctypeNode) Children() []nodeBase
- func (n *DoctypeNode) Indent() int
- func (n *DoctypeNode) Origin() token
- func (n *DoctypeNode) Source(tw *templateWriter) error
- func (n *DoctypeNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *DoctypeNode) Type() nodeType
- type ElementNode
- func (n *ElementNode) AddChild(c nodeBase)
- func (n *ElementNode) Children() []nodeBase
- func (n *ElementNode) Indent() int
- func (n *ElementNode) Origin() token
- func (n *ElementNode) Source(tw *templateWriter) error
- func (n *ElementNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *ElementNode) Type() nodeType
- type HmltNode
- type JavaScriptFilterNode
- func (n *JavaScriptFilterNode) AddChild(c nodeBase)
- func (n *JavaScriptFilterNode) Children() []nodeBase
- func (n *JavaScriptFilterNode) Indent() int
- func (n *JavaScriptFilterNode) Origin() token
- func (n *JavaScriptFilterNode) Source(tw *templateWriter) error
- func (n *JavaScriptFilterNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *JavaScriptFilterNode) Type() nodeType
- type NewLineNode
- func (n *NewLineNode) AddChild(c nodeBase)
- func (n *NewLineNode) Children() []nodeBase
- func (n *NewLineNode) Indent() int
- func (n *NewLineNode) Origin() token
- func (n *NewLineNode) Source(tw *templateWriter) error
- func (n *NewLineNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *NewLineNode) Type() nodeType
- type OrderedMap
- type RenderCommandNode
- func (n *RenderCommandNode) AddChild(c nodeBase)
- func (n *RenderCommandNode) Children() []nodeBase
- func (n *RenderCommandNode) Indent() int
- func (n *RenderCommandNode) Origin() token
- func (n *RenderCommandNode) Source(tw *templateWriter) error
- func (n *RenderCommandNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *RenderCommandNode) Type() nodeType
- type RootNode
- type ScriptNode
- func (n *ScriptNode) AddChild(c nodeBase)
- func (n *ScriptNode) Children() []nodeBase
- func (n *ScriptNode) Indent() int
- func (n *ScriptNode) Origin() token
- func (n *ScriptNode) Source(tw *templateWriter) error
- func (n *ScriptNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *ScriptNode) Type() nodeType
- type SilentScriptNode
- func (n *SilentScriptNode) AddChild(c nodeBase)
- func (n *SilentScriptNode) Children() []nodeBase
- func (n *SilentScriptNode) Indent() int
- func (n *SilentScriptNode) Origin() token
- func (n *SilentScriptNode) Source(tw *templateWriter) error
- func (n *SilentScriptNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *SilentScriptNode) Type() nodeType
- type Template
- type TextFilterNode
- func (n *TextFilterNode) AddChild(c nodeBase)
- func (n *TextFilterNode) Children() []nodeBase
- func (n *TextFilterNode) Indent() int
- func (n *TextFilterNode) Origin() token
- func (n *TextFilterNode) Source(tw *templateWriter) error
- func (n *TextFilterNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *TextFilterNode) Type() nodeType
- type TextNode
- type UnescapeNode
- func (n *UnescapeNode) AddChild(c nodeBase)
- func (n *UnescapeNode) Children() []nodeBase
- func (n *UnescapeNode) Indent() int
- func (n *UnescapeNode) Origin() token
- func (n *UnescapeNode) Source(tw *templateWriter) error
- func (n *UnescapeNode) Tree(buf *bytes.Buffer, indent int) string
- func (n *UnescapeNode) Type() nodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildrenCommandNode ¶
type ChildrenCommandNode struct {
// contains filtered or unexported fields
}
func NewChildrenCommandNode ¶
func NewChildrenCommandNode(t token) *ChildrenCommandNode
func (*ChildrenCommandNode) Source ¶
func (n *ChildrenCommandNode) Source(tw *templateWriter) error
type CodeNode ¶
type CodeNode struct {
// contains filtered or unexported fields
}
func NewCodeNode ¶
func NewCodeNode(t token) *CodeNode
type CommentNode ¶
type CommentNode struct {
// contains filtered or unexported fields
}
func NewCommentNode ¶
func NewCommentNode(t token, indent int) *CommentNode
func (*CommentNode) Source ¶
func (n *CommentNode) Source(tw *templateWriter) error
type CssFilterNode ¶
type CssFilterNode struct {
// contains filtered or unexported fields
}
func NewCssFilterNode ¶
func NewCssFilterNode(t token, indent int) *CssFilterNode
func (*CssFilterNode) Source ¶
func (n *CssFilterNode) Source(tw *templateWriter) error
type DoctypeNode ¶
type DoctypeNode struct {
// contains filtered or unexported fields
}
func NewDoctypeNode ¶
func NewDoctypeNode(t token) *DoctypeNode
func (*DoctypeNode) Source ¶
func (n *DoctypeNode) Source(tw *templateWriter) error
type ElementNode ¶
type ElementNode struct {
// contains filtered or unexported fields
}
func NewElementNode ¶
func NewElementNode(t token, indent int) *ElementNode
func (*ElementNode) Source ¶
func (n *ElementNode) Source(tw *templateWriter) error
type HmltNode ¶
type HmltNode struct {
// contains filtered or unexported fields
}
func NewHmltNode ¶
func NewHmltNode(t token) *HmltNode
type JavaScriptFilterNode ¶
type JavaScriptFilterNode struct {
// contains filtered or unexported fields
}
func NewJavaScriptFilterNode ¶
func NewJavaScriptFilterNode(t token, indent int) *JavaScriptFilterNode
func (*JavaScriptFilterNode) Source ¶
func (n *JavaScriptFilterNode) Source(tw *templateWriter) error
type NewLineNode ¶
type NewLineNode struct {
// contains filtered or unexported fields
}
func NewNewLineNode ¶
func NewNewLineNode(t token) *NewLineNode
func (*NewLineNode) Source ¶
func (n *NewLineNode) Source(tw *templateWriter) error
type OrderedMap ¶
type OrderedMap[T any] struct { // contains filtered or unexported fields }
func NewOrderedMap ¶
func NewOrderedMap[T any]() *OrderedMap[T]
func (*OrderedMap[T]) Delete ¶
func (m *OrderedMap[T]) Delete(key string)
func (*OrderedMap[T]) Get ¶
func (m *OrderedMap[T]) Get(key string) (value T, ok bool)
func (*OrderedMap[T]) Len ¶
func (m *OrderedMap[T]) Len() int
func (*OrderedMap[T]) Range ¶
func (m *OrderedMap[T]) Range(f func(key string, value T) (bool, error)) error
func (*OrderedMap[T]) Set ¶
func (m *OrderedMap[T]) Set(key string, value T)
type RenderCommandNode ¶
type RenderCommandNode struct {
// contains filtered or unexported fields
}
func NewRenderCommandNode ¶
func NewRenderCommandNode(t token, indent int) *RenderCommandNode
func (*RenderCommandNode) Source ¶
func (n *RenderCommandNode) Source(tw *templateWriter) error
type RootNode ¶
type RootNode struct {
// contains filtered or unexported fields
}
func NewRootNode ¶
func NewRootNode() *RootNode
type ScriptNode ¶
type ScriptNode struct {
// contains filtered or unexported fields
}
func NewScriptNode ¶
func NewScriptNode(t token) *ScriptNode
func (*ScriptNode) Source ¶
func (n *ScriptNode) Source(tw *templateWriter) error
type SilentScriptNode ¶
type SilentScriptNode struct {
// contains filtered or unexported fields
}
func NewSilentScriptNode ¶
func NewSilentScriptNode(t token, indent int) *SilentScriptNode
func (*SilentScriptNode) Source ¶
func (n *SilentScriptNode) Source(tw *templateWriter) error
type TextFilterNode ¶
type TextFilterNode struct {
// contains filtered or unexported fields
}
func NewTextFilterNode ¶
func NewTextFilterNode(t token, indent int) *TextFilterNode
func (*TextFilterNode) Source ¶
func (n *TextFilterNode) Source(tw *templateWriter) error
type TextNode ¶
type TextNode struct {
// contains filtered or unexported fields
}
func NewTextNode ¶
func NewTextNode(t token) *TextNode
type UnescapeNode ¶
type UnescapeNode struct {
// contains filtered or unexported fields
}
func NewUnescapeNode ¶
func NewUnescapeNode(t token, indent int) *UnescapeNode
func (*UnescapeNode) Source ¶
func (n *UnescapeNode) Source(tw *templateWriter) error
Click to show internal directories.
Click to hide internal directories.