Documentation ¶
Index ¶
- func And(x, y meta.ConstValue) meta.ConstValue
- func BitAnd(x, y meta.ConstValue) meta.ConstValue
- func BitOr(x, y meta.ConstValue) meta.ConstValue
- func Concat(x, y meta.ConstValue) meta.ConstValue
- func Eval(st *meta.ClassParseState, e ir.Node) meta.ConstValue
- func Minus(x, y meta.ConstValue) meta.ConstValue
- func Mul(x, y meta.ConstValue) meta.ConstValue
- func Neg(x meta.ConstValue) meta.ConstValue
- func Not(x meta.ConstValue) meta.ConstValue
- func Or(x, y meta.ConstValue) meta.ConstValue
- func Plus(x, y meta.ConstValue) meta.ConstValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func And ¶
func And(x, y meta.ConstValue) meta.ConstValue
And performs logical "&&". Also works for "and" operator.
func Concat ¶
func Concat(x, y meta.ConstValue) meta.ConstValue
Concat performs string "." operation.
func Eval ¶
func Eval(st *meta.ClassParseState, e ir.Node) meta.ConstValue
Eval tries to compute the e using the constant expressions folding. In case of failure, meta.UnknownValue is returned.
func Or ¶
func Or(x, y meta.ConstValue) meta.ConstValue
Or performs logical "||". Also works for "or" operator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.