Class PointerType
A type for pointers or references to values.
Inherited Members
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class PointerType : ContainerType, IType, IGenericMember, IMember
Properties
| Edit this page View SourceKind
Gets this pointer type's kind.
Declaration
public PointerKind Kind { get; }
Property Value
| Type | Description |
|---|---|
| PointerKind | The pointer kind. |
Methods
| Edit this page View SourceWithElementType(IType)
Creates a container type that is identical to this one except for its element type, which is set to a given type.
Declaration
public override ContainerType WithElementType(IType newElementType)
Parameters
| Type | Name | Description |
|---|---|---|
| IType | newElementType | The element type of the new container type. |
Returns
| Type | Description |
|---|---|
| ContainerType | Another container type. |