Package org.openl.rules.tbasic.compile
Class AlgorithmCompiler
- java.lang.Object
-
- org.openl.rules.tbasic.compile.AlgorithmCompiler
-
public class AlgorithmCompiler extends Object
- Author:
- User
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAlgorithmCompiler.OperationPreprocessor
-
Constructor Summary
Constructors Constructor Description AlgorithmCompiler(IBindingContext context, IOpenMethodHeader header, List<AlgorithmTreeNode> nodesToCompile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompile(Algorithm algorithm, IBindingContext bindingContext)Main logicLabelManagergetLabelManager()AlgorithmOpenClassgetThisTargetClass()IOpenClassgetTypeOfField(StringValue fieldContent, IBindingContext bindingContext)IMethodCallermakeMethod(IOpenSourceCodeModule src, String methodName)IMethodCallermakeMethodWithCast(IOpenSourceCodeModule src, String methodName, IOpenClass returnType)
-
-
-
Constructor Detail
-
AlgorithmCompiler
public AlgorithmCompiler(IBindingContext context, IOpenMethodHeader header, List<AlgorithmTreeNode> nodesToCompile)
-
-
Method Detail
-
compile
public void compile(Algorithm algorithm, IBindingContext bindingContext)
Main logic
-
getLabelManager
public LabelManager getLabelManager()
-
getThisTargetClass
public AlgorithmOpenClass getThisTargetClass()
-
getTypeOfField
public IOpenClass getTypeOfField(StringValue fieldContent, IBindingContext bindingContext)
-
makeMethod
public IMethodCaller makeMethod(IOpenSourceCodeModule src, String methodName)
-
makeMethodWithCast
public IMethodCaller makeMethodWithCast(IOpenSourceCodeModule src, String methodName, IOpenClass returnType)
-
-