public abstract class StructureTypeInfo extends Object implements TypeInfo
StructureTypeInfo
contains metadata of a Ballerina structure entry in the program file.Modifier and Type | Field and Description |
---|---|
AttachedFunctionInfo |
defaultsValuesInitFunc |
Map<String,AttachedFunctionInfo> |
funcInfoEntries |
AttachedFunctionInfo |
initializer |
Constructor and Description |
---|
StructureTypeInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeInfo(AttributeInfo.Kind attributeKind,
AttributeInfo attributeInfo) |
void |
addFieldInfo(StructFieldInfo fieldInfo) |
AttributeInfo |
getAttributeInfo(AttributeInfo.Kind attributeKind) |
AttributeInfo[] |
getAttributeInfoEntries() |
StructFieldInfo[] |
getFieldInfoEntries() |
abstract BStructureType |
getType() |
public Map<String,AttachedFunctionInfo> funcInfoEntries
public AttachedFunctionInfo initializer
public AttachedFunctionInfo defaultsValuesInitFunc
public void addFieldInfo(StructFieldInfo fieldInfo)
public StructFieldInfo[] getFieldInfoEntries()
public AttributeInfo getAttributeInfo(AttributeInfo.Kind attributeKind)
getAttributeInfo
in interface AttributeInfoPool
public void addAttributeInfo(AttributeInfo.Kind attributeKind, AttributeInfo attributeInfo)
addAttributeInfo
in interface AttributeInfoPool
public AttributeInfo[] getAttributeInfoEntries()
getAttributeInfoEntries
in interface AttributeInfoPool
public abstract BStructureType getType()
Copyright © 2018 WSO2. All rights reserved.