statements

package
v0.0.0-...-b160839 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

All holds all builtins statements for easier registeration

Functions

This section is empty.

Types

type CommentStmt

type CommentStmt struct {
	Location *parse.Token
}

func (*CommentStmt) Position

func (stmt *CommentStmt) Position() *parse.Token

func (*CommentStmt) String

func (stmt *CommentStmt) String() string

type CycleStatement

type CycleStatement struct {
	// contains filtered or unexported fields
}

func (*CycleStatement) Execute

func (stmt *CycleStatement) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*CycleStatement) Position

func (stmt *CycleStatement) Position() *parse.Token

func (*CycleStatement) String

func (stmt *CycleStatement) String() string

type FirstofStmt

type FirstofStmt struct {
	Location *parse.Token
	Args     []parse.Expression
}

func (*FirstofStmt) Execute

func (stmt *FirstofStmt) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*FirstofStmt) Position

func (stmt *FirstofStmt) Position() *parse.Token

func (*FirstofStmt) String

func (stmt *FirstofStmt) String() string

type IfChangedStmt

type IfChangedStmt struct {
	Location *parse.Token
	// contains filtered or unexported fields
}

func (*IfChangedStmt) Execute

func (stmt *IfChangedStmt) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*IfChangedStmt) Position

func (stmt *IfChangedStmt) Position() *parse.Token

func (*IfChangedStmt) String

func (stmt *IfChangedStmt) String() string

type IfNotEqualStmt

type IfNotEqualStmt struct {
	Location *parse.Token
	// contains filtered or unexported fields
}

func (*IfNotEqualStmt) Position

func (stmt *IfNotEqualStmt) Position() *parse.Token

func (*IfNotEqualStmt) String

func (stmt *IfNotEqualStmt) String() string

type LoremStmt

type LoremStmt struct {
	Location *parse.Token
	// contains filtered or unexported fields
}

func (*LoremStmt) Execute

func (stmt *LoremStmt) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*LoremStmt) Position

func (stmt *LoremStmt) Position() *parse.Token

func (*LoremStmt) String

func (stmt *LoremStmt) String() string

type SpacelessStmt

type SpacelessStmt struct {
	Location *parse.Token
	// contains filtered or unexported fields
}

func (*SpacelessStmt) Execute

func (stmt *SpacelessStmt) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*SpacelessStmt) Position

func (stmt *SpacelessStmt) Position() *parse.Token

func (*SpacelessStmt) String

func (stmt *SpacelessStmt) String() string

type TemplateTagStmt

type TemplateTagStmt struct {
	Location *parse.Token
	// contains filtered or unexported fields
}

func (*TemplateTagStmt) Execute

func (stmt *TemplateTagStmt) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*TemplateTagStmt) Position

func (stmt *TemplateTagStmt) Position() *parse.Token

func (*TemplateTagStmt) String

func (stmt *TemplateTagStmt) String() string

type WidthRatioStmt

type WidthRatioStmt struct {
	Location *parse.Token
	// contains filtered or unexported fields
}

func (*WidthRatioStmt) Execute

func (stmt *WidthRatioStmt) Execute(r *exec.Renderer, tag *parse.StatementBlockNode)

func (*WidthRatioStmt) Position

func (stmt *WidthRatioStmt) Position() *parse.Token

func (*WidthRatioStmt) String

func (stmt *WidthRatioStmt) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL