public class AlgorithmCompiler extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AlgorithmCompiler.OperationPreprocessor |
| Constructor and Description |
|---|
AlgorithmCompiler(IBindingContext context,
IOpenMethodHeader header,
List<AlgorithmTreeNode> nodesToCompile) |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(Algorithm algorithm)
Main logic
|
LabelManager |
getLabelManager() |
AlgorithmOpenClass |
getThisTargetClass() |
IOpenClass |
getTypeOfField(StringValue fieldContent) |
IMethodCaller |
makeMethod(IOpenSourceCodeModule src,
String methodName) |
IMethodCaller |
makeMethodWithCast(IOpenSourceCodeModule src,
String methodName,
IOpenClass returnType) |
public AlgorithmCompiler(IBindingContext context, IOpenMethodHeader header, List<AlgorithmTreeNode> nodesToCompile)
public LabelManager getLabelManager()
public AlgorithmOpenClass getThisTargetClass()
public IOpenClass getTypeOfField(StringValue fieldContent)
public IMethodCaller makeMethod(IOpenSourceCodeModule src, String methodName)
public IMethodCaller makeMethodWithCast(IOpenSourceCodeModule src, String methodName, IOpenClass returnType)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.