public class BFunctionPointer extends Object implements BRefType<FunctionRefCPEntry>
{@link BFunctionPointer} represents a function pointer reference value in Ballerina.| Constructor and Description |
|---|
BFunctionPointer(FunctionRefCPEntry funcRefCPEntryIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClosureVar(BClosure closure) |
BValue |
copy()
Deep copy
BValue. |
Integer |
getAdditionalIndexCount(int type) |
List<BClosure> |
getClosureVars() |
BType |
getType() |
String |
stringValue() |
FunctionRefCPEntry |
value() |
public BFunctionPointer(FunctionRefCPEntry funcRefCPEntryIndex)
public FunctionRefCPEntry value()
value in interface BRefType<FunctionRefCPEntry>public void addClosureVar(BClosure closure)
public Integer getAdditionalIndexCount(int type)
public String stringValue()
stringValue in interface BValueCopyright © 2018 WSO2. All rights reserved.