All holds all builtins statements for easier registeration
var All = exec.StatementSet{}
type CommentStmt struct {
Location *tokens.Token
}
func (stmt *CommentStmt) Position() *tokens.Token
func (stmt *CommentStmt) String() string
type CycleStatement struct {
// contains filtered or unexported fields
}
func (stmt *CycleStatement) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *CycleStatement) Position() *tokens.Token
func (stmt *CycleStatement) String() string
type FirstofStmt struct {
Location *tokens.Token
Args []nodes.Expression
}
func (stmt *FirstofStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *FirstofStmt) Position() *tokens.Token
func (stmt *FirstofStmt) String() string
type IfChangedStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (stmt *IfChangedStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *IfChangedStmt) Position() *tokens.Token
func (stmt *IfChangedStmt) String() string
type IfEqualStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (stmt *IfEqualStmt) Position() *tokens.Token
func (stmt *IfEqualStmt) String() string
type IfNotEqualStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (stmt *IfNotEqualStmt) Position() *tokens.Token
func (stmt *IfNotEqualStmt) String() string
type LoremStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (stmt *LoremStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *LoremStmt) Position() *tokens.Token
func (stmt *LoremStmt) String() string
type SpacelessStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (stmt *SpacelessStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *SpacelessStmt) Position() *tokens.Token
func (stmt *SpacelessStmt) String() string
type TemplateTagStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (node *TemplateTagStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *TemplateTagStmt) Position() *tokens.Token
func (stmt *TemplateTagStmt) String() string
type WidthRatioStmt struct {
Location *tokens.Token
// contains filtered or unexported fields
}
func (stmt *WidthRatioStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *WidthRatioStmt) Position() *tokens.Token
func (stmt *WidthRatioStmt) String() string