Struct BlockParameter
A parameter to a basic block.
Inherited Members
      System.ValueType.Equals(System.Object)
    
    
      System.ValueType.GetHashCode()
    
    
      System.ValueType.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
  Namespace: Flame.Compiler
Assembly: Flame.Compiler.dll
Syntax
public struct BlockParameter
  Constructors
| Improve this Doc View SourceBlockParameter(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.  | 
      
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.  | 
      
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.  | 
      
| System.String | name | The name to assign to an automatically-created block parameter tag.  | 
      
Properties
| Improve this Doc View SourceTag
Gets this block parameter's tag.
Declaration
public ValueTag Tag { get; }
  Property Value
| Type | Description | 
|---|---|
| ValueTag | The block parameter's tag.  | 
      
Type
Gets this block parameter's type.
Declaration
public IType Type { get; }
  Property Value
| Type | Description | 
|---|---|
| IType | The block parameter's type.  | 
      
Methods
| Improve this Doc View SourceMap(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
| Improve this Doc View SourceImplicit(BlockParameter to ValueTag)
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 |