Documentation
¶
Index ¶
- type BaseNode
- type Content
- type Expression
- type ExpressionsList
- type Function
- type HtmlAttribute
- type HtmlElement
- type HtmlRaw
- type Indexed
- type Loop
- type Node
- type Number
- type Operator
- type Parentheses
- type RawExpression
- type SsrAssets
- type SsrCondition
- type SsrConditionData
- type SsrContent
- type String
- type StructField
- type TernaryIf
- type Text
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
func (*Content) WriteGoCode ¶
type Expression ¶
func (*Expression) WriteGoCode ¶
func (n *Expression) WriteGoCode(buf *gobuf.GoBuf)
type ExpressionsList ¶
func (*ExpressionsList) WriteGoCode ¶
func (n *ExpressionsList) WriteGoCode(buf *gobuf.GoBuf)
type Function ¶
type Function struct { BaseNode Expr Node Arguments *ExpressionsList }
func (*Function) WriteGoCode ¶
type HtmlAttribute ¶
type HtmlElement ¶
type HtmlElement struct { BaseNode TagName string Attributes []HtmlAttribute SelfClosed bool Children []Node }
func (*HtmlElement) WriteGoCode ¶
func (n *HtmlElement) WriteGoCode(buf *gobuf.GoBuf)
type HtmlRaw ¶
func (*HtmlRaw) WriteGoCode ¶
type Indexed ¶
func (*Indexed) WriteGoCode ¶
type Loop ¶
func (*Loop) WriteGoCode ¶
type Number ¶
func (*Number) WriteGoCode ¶
type Operator ¶
func (*Operator) WriteGoCode ¶
type Parentheses ¶
func (*Parentheses) WriteGoCode ¶
func (n *Parentheses) WriteGoCode(buf *gobuf.GoBuf)
type RawExpression ¶
func (*RawExpression) WriteGoCode ¶
func (n *RawExpression) WriteGoCode(buf *gobuf.GoBuf)
type SsrCondition ¶
type SsrCondition struct { BaseNode Conditions []SsrConditionData ElseBody Node }
func (*SsrCondition) WriteGoCode ¶
func (n *SsrCondition) WriteGoCode(buf *gobuf.GoBuf)
type SsrConditionData ¶
type SsrContent ¶
func (*SsrContent) WriteGoCode ¶
func (n *SsrContent) WriteGoCode(buf *gobuf.GoBuf)
type String ¶
func (*String) WriteGoCode ¶
type StructField ¶
func (*StructField) WriteGoCode ¶
func (n *StructField) WriteGoCode(buf *gobuf.GoBuf)
type TernaryIf ¶
func (*TernaryIf) WriteGoCode ¶
type Text ¶
func (*Text) WriteGoCode ¶
Click to show internal directories.
Click to hide internal directories.