Documentation
¶
Index ¶
- Variables
- func CreatePrimitiveValue(rtype reflect.Type, s string) (reflect.Value, error)
- func EnumerateCallable(v interface{}) map[string]reflect.Value
- func EvalRemove(this interface{}, expr string) error
- func EvalSet(this interface{}, expr string, v interface{}) error
- func EvalView(this interface{}, expr string) (result interface{}, err error)
- func FormatToString(v interface{}) string
- func InvokeCallable(callable reflect.Value, args []string) (outResult, outErr interface{}, err error)
- func IsFloat(kind reflect.Kind) bool
- func IsInteger(kind reflect.Kind) bool
- func IsInterfaceNil(c interface{}) bool
- func IsNumber(kind reflect.Kind) bool
- func IsPrimitive(kind reflect.Kind) bool
- func IsUnsigned(kind reflect.Kind) bool
- func ParseCallExpr(expr string) (fnName string, params []string, outErr error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreatePrimitiveValue ¶
解析字符串的值到value
func EvalRemove ¶
在`this`上, 删除对应`expr`的节点,只有map和slice可以有删除操作
func FormatToString ¶
func FormatToString(v interface{}) string
func InvokeCallable ¶
func IsUnsigned ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.