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