Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLazyCommand ¶
func ParseAndExecuteExpr ¶
ParseAndExecuteExpr parse and execute expr
Types ¶
type Command ¶
type Command struct {
ValCommand []VarCommand
IfCommand []IfCommand
RangeCommand []RangeCommand
}
func ParseLazyCommand ¶
type RangeAction ¶
type RangeCommand ¶
type RangeCommand struct {
Expr string // judgment condition
Scope int // affected scope
Loop int
TagId int // slot tag id
Counter int
Action [][][]RangeAction
}
func ParseAndExecuteRangeExpr ¶
func ParseAndExecuteRangeExpr(order RangeCommand, attrs map[string]interface{}) (RangeCommand, error)
ParseAndExecuteRangeExpr parse and execute range expr
type VarCommand ¶
Click to show internal directories.
Click to hide internal directories.