Show / Hide Table of Contents

    Class PointerType

    A type for pointers or references to values.

    Inheritance
    System.Object
    ContainerType
    PointerType
    Implements
    IType
    IGenericMember
    IMember
    Inherited Members
    ContainerType.Initialize(UnqualifiedName, QualifiedName, AttributeMap)
    ContainerType.ElementType
    ContainerType.Parent
    ContainerType.BaseTypes
    ContainerType.Fields
    ContainerType.Methods
    ContainerType.Properties
    ContainerType.GenericParameters
    ContainerType.NestedTypes
    ContainerType.Name
    ContainerType.FullName
    ContainerType.Attributes
    ContainerType.ToString()
    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 Source

    Kind

    Gets this pointer type's kind.

    Declaration
    public PointerKind Kind { get; }
    Property Value
    Type Description
    PointerKind

    The pointer kind.

    Methods

    | Improve this Doc View Source

    WithElementType(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.

    Overrides
    ContainerType.WithElementType(IType)

    Implements

    IType
    IGenericMember
    IMember

    Extension Methods

    TypeExtensions.GetAllInstanceFields(IType)
    TypeExtensions.GetImplementationOf(IType, IMethod)
    TypeExtensions.GetDefiningAssemblyOrNull(IType)
    TypeExtensions.IsPointerType(IType)
    TypeExtensions.IsPointerType(IType, PointerKind)
    TypeExtensions.MakePointerType(IType, PointerKind)
    TypeExtensions.MakeGenericType(IType, IReadOnlyList<IType>)
    TypeExtensions.MakeGenericType(IType, IType[])
    TypeExtensions.IsRecursiveGenericInstance(IType)
    TypeExtensions.GetRecursiveGenericDeclaration(IType)
    TypeExtensions.MakeRecursiveGenericType(IType, IReadOnlyList<IType>)
    TypeExtensions.GetRecursiveGenericArguments(IType)
    TypeExtensions.GetGenericArguments(IType)
    TypeExtensions.GetRecursiveGenericParameters(IType)
    TypeExtensions.GetRecursiveGenericArgumentMapping(IType)
    AccessModifierAttribute.GetAccessModifier(IMember)
    FlagAttribute.IsReferenceType(IType)
    FlagAttribute.IsSpecialType(IType)
    FlagAttribute.IsInterfaceType(IType)
    FlagAttribute.IsAbstract(IType)
    FlagAttribute.IsVirtual(IType)
    IntegerSpecAttribute.GetIntegerSpecOrNull(IType)
    IntegerSpecAttribute.IsIntegerType(IType)
    IntegerSpecAttribute.IsSignedIntegerType(IType)
    IntegerSpecAttribute.IsUnsignedIntegerType(IType)
    VirtualMethodSetExtensions.GetVirtualMethodSet(IType)
    VirtualMethodSetExtensions.GetMethodsAndAccessors(IType)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX