statements

package
v0.0.0-...-6939cd4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 *tokens.Token
}

func (*CommentStmt) Position

func (stmt *CommentStmt) Position() *tokens.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 *nodes.StatementBlock) error

func (*CycleStatement) Position

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

func (*CycleStatement) String

func (stmt *CycleStatement) String() string

type FirstofStmt

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

func (*FirstofStmt) Execute

func (stmt *FirstofStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error

func (*FirstofStmt) Position

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

func (*FirstofStmt) String

func (stmt *FirstofStmt) String() string

type IfChangedStmt

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

func (*IfChangedStmt) Execute

func (stmt *IfChangedStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error

func (*IfChangedStmt) Position

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

func (*IfChangedStmt) String

func (stmt *IfChangedStmt) String() string

type IfEqualStmt

type IfEqualStmt struct {
	Location *tokens.Token
	// contains filtered or unexported fields
}

func (*IfEqualStmt) Position

func (stmt *IfEqualStmt) Position() *tokens.Token

func (*IfEqualStmt) String

func (stmt *IfEqualStmt) String() string

type IfNotEqualStmt

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

func (*IfNotEqualStmt) Position

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

func (*IfNotEqualStmt) String

func (stmt *IfNotEqualStmt) String() string

type LoremStmt

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

func (*LoremStmt) Execute

func (stmt *LoremStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error

func (*LoremStmt) Position

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

func (*LoremStmt) String

func (stmt *LoremStmt) String() string

type SpacelessStmt

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

func (*SpacelessStmt) Execute

func (stmt *SpacelessStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error

func (*SpacelessStmt) Position

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

func (*SpacelessStmt) String

func (stmt *SpacelessStmt) String() string

type TemplateTagStmt

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

func (*TemplateTagStmt) Execute

func (node *TemplateTagStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error

func (*TemplateTagStmt) Position

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

func (*TemplateTagStmt) String

func (stmt *TemplateTagStmt) String() string

type WidthRatioStmt

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

func (*WidthRatioStmt) Execute

func (stmt *WidthRatioStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error

func (*WidthRatioStmt) Position

func (stmt *WidthRatioStmt) Position() *tokens.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