Documentation ¶
Index ¶
- type AST
- type BaseNode
- type BinaryOperation
- type BoolLiteral
- type CallSelector
- type EchoNode
- type Expression
- type FieldSelector
- type Filter
- type FloatLiteral
- type ForNode
- type IfNode
- type Import
- type IndentNode
- type IndexSelector
- type IntLiteral
- type NoExpression
- type Node
- type NotOperation
- type Parameter
- type Selector
- type SelectorChain
- type Silent
- type SliceSelector
- type StringLiteral
- type Template
- type TextNode
- type VarExists
- type VariableSelector
- type VisitNode
- type Visitor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryOperation ¶
type BinaryOperation struct { *BaseNode Left Expression Right Expression Operator string }
func (*BinaryOperation) String ¶
func (bo *BinaryOperation) String() string
type BoolLiteral ¶
func (*BoolLiteral) String ¶
func (bl *BoolLiteral) String() string
type CallSelector ¶
type CallSelector struct {
*BaseNode
}
func (*CallSelector) String ¶
func (cs *CallSelector) String() string
type EchoNode ¶
type EchoNode struct { *BaseNode Silent Expression Expression }
type Expression ¶
type FieldSelector ¶
func (*FieldSelector) String ¶
func (fs *FieldSelector) String() string
type Filter ¶
type Filter struct { *BaseNode Name string Expression Expression }
type FloatLiteral ¶
func (*FloatLiteral) String ¶
func (fl *FloatLiteral) String() string
type IndentNode ¶
type IndentNode struct { *BaseNode Expression Expression Nodes []Node SilentIndent Silent SilentEnd Silent }
type IndexSelector ¶
type IndexSelector struct { *BaseNode Expression Expression }
func (*IndexSelector) String ¶
func (i *IndexSelector) String() string
type IntLiteral ¶
func (*IntLiteral) String ¶
func (il *IntLiteral) String() string
type NoExpression ¶
type NoExpression struct {
*BaseNode
}
func (*NoExpression) String ¶
func (n *NoExpression) String() string
type NotOperation ¶
type NotOperation struct { *BaseNode Expression Expression }
func (*NotOperation) String ¶
func (no *NotOperation) String() string
type Parameter ¶
type Parameter struct { *BaseNode Name string Value Expression }
type Selector ¶
type Selector interface { Expression }
type SelectorChain ¶
func (*SelectorChain) String ¶
func (cs *SelectorChain) String() string
type SliceSelector ¶
type SliceSelector struct { *BaseNode From Expression To Expression }
func (*SliceSelector) String ¶
func (s *SliceSelector) String() string
type StringLiteral ¶
func (*StringLiteral) String ¶
func (sl *StringLiteral) String() string
type VariableSelector ¶
func (*VariableSelector) String ¶
func (vs *VariableSelector) String() string
Click to show internal directories.
Click to hide internal directories.