public class RulesModuleBindingContext extends ModuleBindingContext
| Modifier and Type | Class and Description |
|---|---|
static class |
RulesModuleBindingContext.CurrentRuntimeContextMethod |
static class |
RulesModuleBindingContext.EmptyRuntimeContextMethod |
static class |
RulesModuleBindingContext.ModifyRuntimeContextMethod |
static class |
RulesModuleBindingContext.RestoreRuntimeContextMethod |
static class |
RulesModuleBindingContext.SetRuntimeContextMethod |
| Modifier and Type | Field and Description |
|---|---|
static String |
CATEGORY_PROPERTIES_KEY |
static String |
MODULE_PROPERTIES_KEY |
delegate| Constructor and Description |
|---|
RulesModuleBindingContext(IBindingContext delegate,
ModuleOpenClass module) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(String namespace,
String typeName,
IOpenClass type) |
void |
addBinderMethod(OpenMethodHeader openMethodHeader,
RecursiveOpenMethodPreBinder method) |
IMethodCaller |
findMethodCaller(String namespace,
String methodName,
IOpenClass[] parTypes) |
IOpenClass |
findType(String namespace,
String typeName) |
TableSyntaxNode |
getTableSyntaxNode(String key) |
boolean |
isTableSyntaxNodeExist(String key) |
void |
preBindMethod(OpenMethodHeader openMethodHeader) |
void |
registerTableSyntaxNode(String key,
TableSyntaxNode tsn)
Registers the tsn by specified key.
|
getModuleaddType, addVar, findVar, getComponentOpenClassaddError, addMessage, addMessages, findBinder, findClosestClass, findFieldFor, findRange, getCast, getDelegate, getErrors, getExternalParams, getLocalVarFrameSize, getMessages, getOpenL, getReturnType, isExecutionMode, popErrors, popLocalVarContext, popMessages, pushErrors, pushLocalVarContext, pushMessages, setDelegate, setExecutionMode, setExternalParams, setReturnType, setTopDelegatepublic static final String MODULE_PROPERTIES_KEY
public static final String CATEGORY_PROPERTIES_KEY
public RulesModuleBindingContext(IBindingContext delegate, ModuleOpenClass module)
public void registerTableSyntaxNode(String key, TableSyntaxNode tsn)
key - Key that have to be same for equivalent tables.tsn - TableSyntaxNode to register.public boolean isTableSyntaxNodeExist(String key)
true if key TableSyntaxNode with specified key has already been registered.public TableSyntaxNode getTableSyntaxNode(String key)
public IMethodCaller findMethodCaller(String namespace, String methodName, IOpenClass[] parTypes)
findMethodCaller in interface IBindingContextfindMethodCaller in class ComponentBindingContextprotected void add(String namespace, String typeName, IOpenClass type)
add in class ComponentBindingContextpublic IOpenClass findType(String namespace, String typeName)
findType in interface IBindingContextfindType in class ComponentBindingContextpublic void addBinderMethod(OpenMethodHeader openMethodHeader, RecursiveOpenMethodPreBinder method)
public void preBindMethod(OpenMethodHeader openMethodHeader)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.