Documentation ¶
Index ¶
- type ExpressionEngineGoExpress
- func (it *ExpressionEngineGoExpress) Eval(lexerResult interface{}, arg interface{}, operation int) (interface{}, error)
- func (it *ExpressionEngineGoExpress) Lexer(expression string) (interface{}, error)
- func (it *ExpressionEngineGoExpress) LexerAndEval(lexerArg string, arg interface{}) (interface{}, error)
- func (it *ExpressionEngineGoExpress) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExpressionEngineGoExpress ¶
type ExpressionEngineGoExpress struct { }
func (*ExpressionEngineGoExpress) Eval ¶
func (it *ExpressionEngineGoExpress) Eval(lexerResult interface{}, arg interface{}, operation int) (interface{}, error)
执行一个表达式 参数:lexerResult=编译结果,arg=参数 返回:执行结果,错误
func (*ExpressionEngineGoExpress) Lexer ¶
func (it *ExpressionEngineGoExpress) Lexer(expression string) (interface{}, error)
编译一个表达式 参数:lexerArg 表达式内容 返回:interface{} 编译结果,error 错误
func (*ExpressionEngineGoExpress) LexerAndEval ¶
func (it *ExpressionEngineGoExpress) LexerAndEval(lexerArg string, arg interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.