类 VarRefOptimal
java.lang.Object
org.beetl.core.statement.ASTNode
org.beetl.core.statement.Expression
org.beetl.core.statement.VarRef
org.beetl.core.statement.optimal.VarRefOptimal
- 所有已实现的接口:
Serializable,IVarIndex
user.name
- 作者:
- xiandafu
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 org.beetl.core.statement.VarRef
VarRef.Result -
字段概要
字段从类继承的字段 org.beetl.core.statement.VarRef
attributes, firstToken, hasSafe, safe -
构造器概要
构造器 -
方法概要
从类继承的方法 org.beetl.core.statement.VarRef
evaluateUntilLast, getValue
-
字段详细资料
-
attribute
-
varIndex
public int varIndex
-
-
构造器详细资料
-
VarRefOptimal
-
-
方法详细资料
-
evaluate
-
setVarIndex
public void setVarIndex(int index) 从接口复制的说明:IVarIndex设置变量在context中的索引为index- 指定者:
setVarIndex在接口中IVarIndex- 覆盖:
setVarIndex在类中VarRef- 参数:
index- 索引值,应该是一个大于等于0的整数
-
getVarIndex
public int getVarIndex()从接口复制的说明:IVarIndex获取变量在context中的索引值- 指定者:
getVarIndex在接口中IVarIndex- 覆盖:
getVarIndex在类中VarRef- 返回:
- 变量在context中的索引值
-