| Package | Description |
|---|---|
| org.ballerinalang.bre.bvm | |
| org.ballerinalang.model.types | |
| org.ballerinalang.util.codegen |
| Modifier and Type | Method and Description |
|---|---|
static BStruct |
BLangVMStructs.createBStruct(StructInfo structInfo,
Object... values)
Create BStruct for given StructInfo and BValues.
|
static BStruct |
BLangVMErrors.createError(Context context,
boolean attachCallStack,
StructInfo errorType,
Object... values)
Create an error Struct from given struct type and message.
|
| Modifier and Type | Field and Description |
|---|---|
StructInfo |
BStructType.structInfo |
| Constructor and Description |
|---|
BStructType(StructInfo structInfo,
String typeName,
String pkgPath,
int flags)
Create a
BStructType which represents the user defined struct type. |
| Modifier and Type | Method and Description |
|---|---|
StructInfo |
ErrorTableEntry.getError() |
StructInfo |
PackageInfo.getStructInfo(String structName) |
StructInfo[] |
PackageInfo.getStructInfoEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
PackageInfo.addStructInfo(String structName,
StructInfo structInfo) |
void |
ErrorTableEntry.setError(StructInfo error) |
Copyright © 2018 WSO2. All rights reserved.