public class CompileContext extends Object
| Constructor and Description |
|---|
CompileContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperations(List<RuntimeOperation> operations) |
Map<String,AlgorithmTreeNode> |
getExistingLables() |
Map<String,RuntimeOperation> |
getLocalLabelsRegister() |
List<RuntimeOperation> |
getOperations() |
boolean |
isLabelRegistered(String labelName) |
void |
registerGroupOfLabels(Map<String,AlgorithmTreeNode> labelToAdd) |
void |
registerNewLabel(String labelName,
AlgorithmTreeNode sourceNode) |
void |
setLabel(String labelName,
RuntimeOperation labeledOperation) |
public Map<String,AlgorithmTreeNode> getExistingLables()
public Map<String,RuntimeOperation> getLocalLabelsRegister()
public List<RuntimeOperation> getOperations()
public boolean isLabelRegistered(String labelName)
public void registerGroupOfLabels(Map<String,AlgorithmTreeNode> labelToAdd) throws SyntaxNodeException
SyntaxNodeExceptionpublic void registerNewLabel(String labelName, AlgorithmTreeNode sourceNode) throws SyntaxNodeException
labelName - labeledOperation - BoundErrorSyntaxNodeExceptionpublic void setLabel(String labelName, RuntimeOperation labeledOperation) throws SyntaxNodeException
SyntaxNodeExceptionpublic void addOperations(List<RuntimeOperation> operations)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.