public class OpenLCellExpressionsCompiler extends Object
| Constructor and Description |
|---|
OpenLCellExpressionsCompiler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
compileMethod(OpenL openl,
IOpenSourceCodeModule source,
CompositeMethod compositeMethod,
IBindingContext bindingContext)
Compiles a method and sets meta info to the cells.
|
static List<CellMetaInfo> |
getMetaInfo(IOpenSourceCodeModule source,
CompositeMethod method) |
static List<NodeUsage> |
getNodeUsages(CompositeMethod method,
String sourceString,
int startIndex) |
static CompositeMethod |
makeMethod(OpenL openl,
IOpenSourceCodeModule source,
IOpenMethodHeader methodHeader,
IBindingContext bindingContext)
Makes a method from source using method header descriptor and sets meta info to the cells.
|
static CompositeMethod |
makeMethodWithUnknownType(OpenL openl,
IOpenSourceCodeModule source,
String methodName,
IMethodSignature signature,
IOpenClass declaringClass,
IBindingContext bindingContext)
Makes method with unknown return type from source using method name and method signature.
|
public static void compileMethod(OpenL openl, IOpenSourceCodeModule source, CompositeMethod compositeMethod, IBindingContext bindingContext)
openl - OpenL engine contextsource - method sourcecompositeMethod - CompositeMethod instancebindingContext - binding contextpublic static CompositeMethod makeMethod(OpenL openl, IOpenSourceCodeModule source, IOpenMethodHeader methodHeader, IBindingContext bindingContext)
openl - OpenL engine contextsource - sourcemethodHeader - method header descriptorbindingContext - binding contextCompositeMethod instancepublic static CompositeMethod makeMethodWithUnknownType(OpenL openl, IOpenSourceCodeModule source, String methodName, IMethodSignature signature, IOpenClass declaringClass, IBindingContext bindingContext)
openl - OpenL engine contextsource - sourcemethodName - method namesignature - method signaturedeclaringClass - open class that declare methodbindingContext - binding contextIOpenMethodHeader instancepublic static List<CellMetaInfo> getMetaInfo(IOpenSourceCodeModule source, CompositeMethod method)
public static List<NodeUsage> getNodeUsages(CompositeMethod method, String sourceString, int startIndex)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.