Search Results for

    Show / Hide Table of Contents

    Class IrAssembly

    An assembly that is decoded from a Flame IR field LNode.

    Inheritance
    object
    IrMember
    IrAssembly
    Implements
    IAssembly
    IMember
    Inherited Members
    IrMember.Node
    IrMember.Decoder
    IrMember.FullName
    IrMember.Name
    IrMember.Attributes
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Flame.Ir
    Assembly: Flame.Ir.dll
    Syntax
    public sealed class IrAssembly : IrMember, IAssembly, IMember

    Constructors

    | Edit this page View Source

    IrAssembly(LNode, DecoderState)

    Creates a Flame IR assembly from an appropriately-encoded LNode.

    Declaration
    public IrAssembly(LNode node, DecoderState decoder)
    Parameters
    Type Name Description
    LNode node

    The node to decode.

    DecoderState decoder

    The decoder to use.

    Properties

    | Edit this page View Source

    Types

    Gets a list of all top-level types defined in this assembly.

    Declaration
    public IReadOnlyList<IType> Types { get; }
    Property Value
    Type Description
    IReadOnlyList<IType>

    A list of types that are defined in this assembly.

    Methods

    | Edit this page View Source

    Decode(LNode, DecoderState)

    Decodes an assembly from an LNode.

    Declaration
    public static IrAssembly Decode(LNode data, DecoderState state)
    Parameters
    Type Name Description
    LNode data

    The LNode to decode.

    DecoderState state

    The decoder to use.

    Returns
    Type Description
    IrAssembly

    A decoded assembly if the node can be decoded; otherwise, null.

    | Edit this page View Source

    Encode(IAssembly, EncoderState)

    Encodes an assembly as an LNode.

    Declaration
    public static LNode Encode(IAssembly value, EncoderState state)
    Parameters
    Type Name Description
    IAssembly value

    The assembly to encode.

    EncoderState state

    The encoder to use.

    Returns
    Type Description
    LNode

    An LNode that represents the assembly.

    Implements

    IAssembly
    IMember

    Extension Methods

    AccessModifierAttribute.GetAccessModifier(IMember)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX