Search Results for

    Show / Hide Table of Contents

    Struct BlockParameter

    A parameter to a basic block.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Flame.Compiler
    Assembly: Flame.Compiler.dll
    Syntax
    public struct BlockParameter

    Constructors

    | Edit this page View Source

    BlockParameter(IType)

    Creates a block parameter from a type. An anonymous tag is automatically generated for the block parameter.

    Declaration
    public BlockParameter(IType type)
    Parameters
    Type Name Description
    IType type

    The block parameter's type.

    | Edit this page View Source

    BlockParameter(IType, ValueTag)

    Creates a block parameter from a type and a tag.

    Declaration
    public BlockParameter(IType type, ValueTag tag)
    Parameters
    Type Name Description
    IType type

    The block parameter's type.

    ValueTag tag

    The block parameter's tag.

    | Edit this page View Source

    BlockParameter(IType, string)

    Creates a block parameter from a type and a name.

    Declaration
    public BlockParameter(IType type, string name)
    Parameters
    Type Name Description
    IType type

    The block parameter's type.

    string name

    The name to assign to an automatically-created block parameter tag.

    Properties

    | Edit this page View Source

    Tag

    Gets this block parameter's tag.

    Declaration
    public readonly ValueTag Tag { get; }
    Property Value
    Type Description
    ValueTag

    The block parameter's tag.

    | Edit this page View Source

    Type

    Gets this block parameter's type.

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

    The block parameter's type.

    Methods

    | Edit this page View Source

    Map(MemberMapping)

    Applies a member mapping to this block parameter.

    Declaration
    public BlockParameter Map(MemberMapping mapping)
    Parameters
    Type Name Description
    MemberMapping mapping

    A member mapping.

    Returns
    Type Description
    BlockParameter

    A transformed block parameter.

    Operators

    | Edit this page View Source

    implicit operator ValueTag(BlockParameter)

    Implicitly converts a block parameter to its tag.

    Declaration
    public static implicit operator ValueTag(BlockParameter parameter)
    Parameters
    Type Name Description
    BlockParameter parameter

    The block parameter to convert.

    Returns
    Type Description
    ValueTag
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX