Class PointerType
A type for pointers or references to values.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.TypeSystem
Assembly: Flame.dll
Syntax
public sealed class PointerType : ContainerType, IType, IGenericMember, IMember
Properties
| Improve this Doc View SourceKind
Gets this pointer type's kind.
Declaration
public PointerKind Kind { get; }
Property Value
Type | Description |
---|---|
PointerKind | The pointer kind. |
Methods
| Improve this Doc 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. |