Documentation
¶
Index ¶
- type ElementValue
- func (element ElementValue) Bool() (bool, error)
- func (element ElementValue) Compare(cond *condition.CondValue) (result bool, err error)
- func (element ElementValue) EvaluateCondition(expr condition.ExprAST) bool
- func (element ElementValue) Float() (float64, error)
- func (element ElementValue) Int() (int64, error)
- func (element ElementValue) Interface() (interface{}, error)
- func (element ElementValue) MustBool(args ...bool) bool
- func (element ElementValue) MustFloat(args ...float64) float64
- func (element ElementValue) MustInt(args ...int64) int64
- func (element ElementValue) MustInterface(args ...interface{}) interface{}
- func (element ElementValue) MustString(args ...string) string
- func (element ElementValue) String() (string, error)
- type Elements
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElementValue ¶
func (ElementValue) Bool ¶
func (element ElementValue) Bool() (bool, error)
func (ElementValue) Compare ¶
func (element ElementValue) Compare(cond *condition.CondValue) (result bool, err error)
func (ElementValue) EvaluateCondition ¶
func (element ElementValue) EvaluateCondition(expr condition.ExprAST) bool
func (ElementValue) Float ¶
func (element ElementValue) Float() (float64, error)
func (ElementValue) Int ¶
func (element ElementValue) Int() (int64, error)
func (ElementValue) Interface ¶
func (element ElementValue) Interface() (interface{}, error)
func (ElementValue) MustBool ¶
func (element ElementValue) MustBool(args ...bool) bool
func (ElementValue) MustFloat ¶
func (element ElementValue) MustFloat(args ...float64) float64
func (ElementValue) MustInt ¶
func (element ElementValue) MustInt(args ...int64) int64
func (ElementValue) MustInterface ¶
func (element ElementValue) MustInterface(args ...interface{}) interface{}
func (ElementValue) MustString ¶
func (element ElementValue) MustString(args ...string) string
func (ElementValue) String ¶
func (element ElementValue) String() (string, error)
Click to show internal directories.
Click to hide internal directories.