Show / Hide Table of Contents

    Class IntrinsicAttribute

    Describes a named attribute that is well-understood by the compiler.

    Inheritance
    System.Object
    IntrinsicAttribute
    Implements
    IAttribute
    Inherited Members
    System.Object.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 IntrinsicAttribute : IAttribute

    Constructors

    | Improve this Doc View Source

    IntrinsicAttribute(String)

    Creates an intrinsic attribute with the given name and an empty argument list.

    Declaration
    public IntrinsicAttribute(string name)
    Parameters
    Type Name Description
    System.String name

    The attribute's name.

    | Improve this Doc View Source

    IntrinsicAttribute(String, IReadOnlyList<Constant>)

    Creates an intrinsic attribute with the given name and argument list.

    Declaration
    public IntrinsicAttribute(string name, IReadOnlyList<Constant> arguments)
    Parameters
    Type Name Description
    System.String name

    The attribute's name.

    System.Collections.Generic.IReadOnlyList<Constant> arguments

    The attribute's list of arguments.

    Properties

    | Improve this Doc View Source

    Arguments

    Gets the list of arguments that is supplied to this intrinsic attribute.

    Declaration
    public IReadOnlyList<Constant> Arguments { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<Constant>

    The argument list.

    | Improve this Doc View Source

    AttributeType

    Gets the type for this attribute.

    Declaration
    public IType AttributeType { get; }
    Property Value
    Type Description
    IType

    The attribute type.

    | Improve this Doc View Source

    Name

    Gets the name of this intrinsic attribute.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    The name of the intrinsic attribute.

    Methods

    | Improve this Doc View Source

    GetIntrinsicAttributeType(String)

    Gets the intrinsic attribute type for a particular intrinsic attribute name.

    Declaration
    public static IType GetIntrinsicAttributeType(string name)
    Parameters
    Type Name Description
    System.String name

    The name to find an intrinsic attribute type for.

    Returns
    Type Description
    IType

    An intrinsic attribute type.

    Implements

    IAttribute
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX