Class TypeSpecialization
A base type for generic type specializations.
Inheritance
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public abstract class TypeSpecialization : IType, IGenericMember, IMember
Properties
| Improve this Doc View SourceAttributes
Gets the member's attributes.
Declaration
public AttributeMap Attributes { get; }
Property Value
Type | Description |
---|---|
AttributeMap |
BaseTypes
Gets this type's base types. Base types can be either classes or interfaces.
Declaration
public IReadOnlyList<IType> BaseTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IType> | A read-only list of base types. |
Declaration
Gets the generic type declaration this type instantiates.
Declaration
public IType Declaration { get; }
Property Value
Type | Description |
---|---|
IType | The generic type declaration. |
Fields
Gets this type's fields.
Declaration
public IReadOnlyList<IField> Fields { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IField> | A read-only list of fields. |
FullName
Gets the member's full name.
Declaration
public abstract QualifiedName FullName { get; }
Property Value
Type | Description |
---|---|
QualifiedName |
GenericParameters
Gets the list of generic parameters for this generic member.
Declaration
public abstract IReadOnlyList<IGenericParameter> GenericParameters { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IGenericParameter> | The generic parameters. |
Methods
Gets this type's methods.
Declaration
public IReadOnlyList<IMethod> Methods { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IMethod> | A read-only list of methods. |
Name
Gets the member's unqualified name.
Declaration
public abstract UnqualifiedName Name { get; }
Property Value
Type | Description |
---|---|
UnqualifiedName |
NestedTypes
Gets the nested types defined by this type.
Declaration
public IReadOnlyList<IType> NestedTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IType> | A read-only list of nested types. |
Parent
Gets the parent entity that defines and owns this type.
Declaration
public abstract TypeParent Parent { get; }
Property Value
Type | Description |
---|---|
TypeParent | The parent entity. |
Properties
Gets this type's properties.
Declaration
public IReadOnlyList<IProperty> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<IProperty> | A read-only list of properties. |
Methods
| Improve this Doc View SourceInitialize()
Initializes a generic type.
Declaration
protected void Initialize()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |