Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusStart = 0 StatusOfValue = 1 StatusOfOperator = 2 )
------------------------------------------
View Source
const VarPrefix = "${"
View Source
const VarSuffix = "}"
Variables ¶
This section is empty.
Functions ¶
func BenchmarkNewEvaluableExpression ¶
func BenchmarkNewEvaluableExpression()
Types ¶
type BoolExpression ¶
type BoolExpression struct { RawExpression string // contains filtered or unexported fields }
func NewBoolExpression ¶
func NewBoolExpression(expression string) (*BoolExpression, error)
func (*BoolExpression) Evaluate ¶
func (exp *BoolExpression) Evaluate(params map[string]interface{}) bool
type LiteralValue ¶
type SimpleExpression ¶
------------------------------------------
func (SimpleExpression) Bool ¶
func (e SimpleExpression) Bool() bool
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
<recommend-cond>
</recommend-cond>
func ToPostfixExpression ¶
Click to show internal directories.
Click to hide internal directories.