|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.greenpineyu.fel.FelEngineImpl
public class FelEngineImpl
执行引擎
| 字段摘要 |
|---|
| 从接口 com.greenpineyu.fel.FelEngine 继承的字段 |
|---|
instance |
| 构造方法摘要 | |
|---|---|
FelEngineImpl()
|
|
FelEngineImpl(FelContext context)
|
|
| 方法摘要 | |
|---|---|
void |
addFun(Function fun)
添加函数到用户函数库中(执行表达式时,优先从用户函数库中获取函数) |
Expression |
compile(String exp,
FelContext ctx,
Optimizer... opts)
编译表达式 |
Expression |
compile(String exp,
Var... vars)
|
Object |
eval(String exp)
执行表达式,获取结果 |
Object |
eval(String exp,
FelContext ctx)
使用指定的引擎上下文执行表达式,获取结果 |
Object |
eval(String exp,
Var... vars)
|
CompileService |
getCompiler()
获取编译器 |
FelContext |
getContext()
|
FunMgr |
getFunMgr()
获取函数管理器 |
Parser |
getParser()
获取解析器 |
SecurityMgr |
getSecurityMgr()
返回安全管理器 |
FelNode |
parse(String exp)
解析表达式为节点 |
void |
setCompiler(CompileService compiler)
设置编译器 |
void |
setContext(FelContext context)
设置Context |
void |
setFunMgr(FunMgr funMgr)
设置函数管理器 |
void |
setParser(Parser parser)
设置解析器 |
void |
setSecurityMgr(SecurityMgr securityMgr)
设置安全管理器 |
String |
toString()
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public FelEngineImpl(FelContext context)
public FelEngineImpl()
| 方法详细信息 |
|---|
public SecurityMgr getSecurityMgr()
FelEngine 复制的描述
FelEngine 中的 getSecurityMgrpublic void setSecurityMgr(SecurityMgr securityMgr)
FelEngine 复制的描述
FelEngine 中的 setSecurityMgrpublic FelNode parse(String exp)
FelEngine 复制的描述
FelEngine 中的 parsepublic Object eval(String exp)
FelEngine 复制的描述
FelEngine 中的 eval
public Object eval(String exp,
Var... vars)
public Object eval(String exp,
FelContext ctx)
FelEngine 复制的描述
FelEngine 中的 evalctx - 引擎上下文
public Expression compile(String exp,
Var... vars)
public Expression compile(String exp,
FelContext ctx,
Optimizer... opts)
FelEngine 复制的描述
FelEngine 中的 compileopts - 编译优化选项
public String toString()
Object 中的 toStringpublic void addFun(Function fun)
FelEngine 复制的描述
FelEngine 中的 addFunpublic FelContext getContext()
FelEngine 中的 getContextpublic CompileService getCompiler()
FelEngine 复制的描述
FelEngine 中的 getCompilerpublic void setCompiler(CompileService compiler)
FelEngine 复制的描述
FelEngine 中的 setCompilerpublic Parser getParser()
FelEngine 复制的描述
FelEngine 中的 getParserpublic void setParser(Parser parser)
FelEngine 复制的描述
FelEngine 中的 setParserpublic FunMgr getFunMgr()
FelEngine 复制的描述
FelEngine 中的 getFunMgrpublic void setFunMgr(FunMgr funMgr)
FelEngine 复制的描述
FelEngine 中的 setFunMgrpublic void setContext(FelContext context)
FelEngine 复制的描述
FelEngine 中的 setContext
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||