Package org.openl.rules.tbasic.compile
Class CompileContext
- java.lang.Object
-
- org.openl.rules.tbasic.compile.CompileContext
-
public class CompileContext extends Object
-
-
Constructor Summary
Constructors Constructor Description CompileContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOperations(List<RuntimeOperation> operations)Map<String,AlgorithmTreeNode>getExistingLables()Map<String,RuntimeOperation>getLocalLabelsRegister()List<RuntimeOperation>getOperations()booleanisLabelRegistered(String labelName)voidregisterGroupOfLabels(Map<String,AlgorithmTreeNode> labelToAdd, IBindingContext bindingContext)voidregisterNewLabel(String labelName, AlgorithmTreeNode sourceNode, IBindingContext bindingContext)voidsetLabel(String labelName, RuntimeOperation labeledOperation, IBindingContext bindingContext)
-
-
-
Method Detail
-
getExistingLables
public Map<String,AlgorithmTreeNode> getExistingLables()
-
getLocalLabelsRegister
public Map<String,RuntimeOperation> getLocalLabelsRegister()
- Returns:
- the localLabelsRegister
-
getOperations
public List<RuntimeOperation> getOperations()
- Returns:
- the operations
-
isLabelRegistered
public boolean isLabelRegistered(String labelName)
-
registerGroupOfLabels
public void registerGroupOfLabels(Map<String,AlgorithmTreeNode> labelToAdd, IBindingContext bindingContext)
-
registerNewLabel
public void registerNewLabel(String labelName, AlgorithmTreeNode sourceNode, IBindingContext bindingContext)
-
setLabel
public void setLabel(String labelName, RuntimeOperation labeledOperation, IBindingContext bindingContext)
-
addOperations
public void addOperations(List<RuntimeOperation> operations)
-
-