程序包 org.xmeta
类 Bindings
- 所有已实现的接口:
Serializable,Cloneable,Map<String,Object>
动作上下文中栈点保存的就是Bindings,Bindings是一个Map,用于保存变量和一些函数调用相关的数据。
-
嵌套类概要
从类继承的嵌套类/接口 java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidinthashCode()booleanbooleanremoveData(Object... keys) voidsetActionListener(Thing actionListener) 设置动作监听器模型。voidsetActionListenerProvider(ActionListenerProvider actionListenerProvider) 设置动作监听器提供者。voidvoidvoidsetParameterScope(boolean parameterScope) void标记为本地变量栈层。toString()从类继承的方法 java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values从类继承的方法 java.util.AbstractMap
equals
-
字段详细资料
-
world
-
disableGlobalContext
public boolean disableGlobalContext是否关闭全局模型动作监听器,如果关闭子函数也都关闭
-
-
构造器详细资料
-
Bindings
public Bindings()构造一个空的StackMap。
-
-
方法详细资料
-
isVarScopeFlag
public boolean isVarScopeFlag() -
setVarScopeFlag
public void setVarScopeFlag()标记为本地变量栈层。 -
getCaller
-
setCaller
-
getContexts
-
getCallerMethod
-
hashCode
public int hashCode() -
setActionListener
设置动作监听器模型。子动作的执行都会触发监听器。。- 参数:
actionListener- 动作监听器模型
-
setActionListenerProvider
设置动作监听器提供者。如果要清除,设置为null。- 参数:
actionListenerProvider- 动作监听器提供者
-
getActionListenerProvider
-
toString
- 覆盖:
toString在类中AbstractMap<String,Object>
-
isParameterScope
public boolean isParameterScope() -
setParameterScope
public void setParameterScope(boolean parameterScope) -
getDataMap
-
setData
-
getData
-
removeData
-
clearData
-