Class DescribedField
A field that can be constructed incrementally in an imperative fashion.
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public class DescribedField : DescribedMember, IField, ITypeMember, IMember
Constructors
| Edit this page View SourceDescribedField(IType, UnqualifiedName, bool, IType)
Creates a field from a parent type, a name, a staticness and a type of value to store.
Declaration
public DescribedField(IType parentType, UnqualifiedName name, bool isStatic, IType fieldType)
Parameters
| Type | Name | Description |
|---|---|---|
| IType | parentType | The field's parent type. |
| UnqualifiedName | name | The field's name. |
| bool | isStatic | Tells if the field is static. |
| IType | fieldType | The type of value stored in the field. |
Properties
| Edit this page View SourceFieldType
Gets or sets the type of value stored in this field.
Declaration
public IType FieldType { get; set; }
Property Value
| Type | Description |
|---|---|
| IType | The type of value stored in this field. |
IsStatic
Gets or sets a Boolean value that tells if this field is static.
Declaration
public bool IsStatic { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
ParentType
Gets the type that defines this member, if any.
Declaration
public IType ParentType { get; }
Property Value
| Type | Description |
|---|---|
| IType | The parent type. |