C# Class TriAxis.RunSharp.CodeGen

Afficher le fichier Open project: AqlaSolutions/runsharp Class Usage Examples

Private Properties

Свойство Type Description
Complete void
EmitGetHelper void
EmitGetHelper_Conversion void
EmitGetHelper_Ref void
EnsureReturnVariable void
ICodeGenContext System.Reflection.Emit.ILGenerator
IDelayedCompletion void
IDelayedDefinition void
ISignatureGen IParameterBasicInfo
ISignatureGen System.Reflection.Emit.ParameterBuilder
LocalInitedFromStack ContextualOperand
LocalInitedFromStack ContextualOperand

Méthodes publiques

Méthode Description
Arg ( int parameterIndex ) : ContextualOperand

ThisOffset is applied inside

Arg ( string name ) : ContextualOperand
Base ( ) : ContextualOperand
CodeGen ( ICodeGenContext context, bool isOwner = true ) : System
DefineLabel ( ) : Label
ForceResetUnreachableState ( ) : void
Goto ( Label label ) : void
Goto ( string labelName ) : void
Label ( string labelName ) : Label
Local ( ) : ContextualOperand
Local ( Operand init ) : ContextualOperand
Local ( System type ) : ContextualOperand
Local ( System type, Operand init ) : ContextualOperand
Local ( Type type ) : ContextualOperand
Local ( Type type, Operand init ) : ContextualOperand
MarkLabel ( Label label ) : void
PropertyValue ( ) : ContextualOperand
This ( ) : ContextualOperand
this ( string localName ) : Operand

Méthodes protégées

Méthode Description
EmitCallHelper ( MethodBase mth, Operand target ) : void
EmitConvHelper ( TypeCode to ) : void
EmitGetHelper ( Operand op, Type desiredType, bool allowExplicitConversion ) : void
EmitI4Helper ( int value ) : void
EmitI8Helper ( long value, bool signed ) : void
EmitLdargHelper ( ushort index ) : void
EmitLdelemHelper ( Type elementType ) : void
EmitLdindHelper ( Type type ) : void
EmitStargHelper ( ushort index ) : void
EmitStelemHelper ( Type elementType, Operand element, bool allowExplicitConversion ) : void
EmitStindHelper ( Type type, Operand value, bool allowExplicitConversion ) : void
GetStelemOpCode ( Type elementType ) : OpCode
GetStindOpCode ( Type type ) : OpCode
WrapExistingLocal ( LocalBuilder local ) : ContextualOperand

Private Methods

Méthode Description
Complete ( ) : void
EmitGetHelper ( Operand op, Type desiredType, Conversion conv, Type from = null ) : void
EmitGetHelper_Conversion ( Operand op, Type desiredType, Conversion conv, Type from = null ) : void
EmitGetHelper_Ref ( Operand op, Type desiredType ) : void
EnsureReturnVariable ( ) : void
ICodeGenContext ( ) : ILGenerator
IDelayedCompletion ( ) : void
IDelayedDefinition ( ) : void
ISignatureGen ( string parameterName ) : IParameterBasicInfo
ISignatureGen ( int position, ParameterAttributes attributes, string parameterName ) : ParameterBuilder
LocalInitedFromStack ( System type ) : ContextualOperand
LocalInitedFromStack ( Type type ) : ContextualOperand

Method Details

Arg() public méthode

ThisOffset is applied inside
public Arg ( int parameterIndex ) : ContextualOperand
parameterIndex int
Résultat ContextualOperand

Arg() public méthode

public Arg ( string name ) : ContextualOperand
name string
Résultat ContextualOperand

Base() public méthode

public Base ( ) : ContextualOperand
Résultat ContextualOperand

CodeGen() public méthode

public CodeGen ( ICodeGenContext context, bool isOwner = true ) : System
context ICodeGenContext
isOwner bool
Résultat System

DefineLabel() public méthode

public DefineLabel ( ) : Label
Résultat System.Reflection.Emit.Label

EmitCallHelper() protected méthode

protected EmitCallHelper ( MethodBase mth, Operand target ) : void
mth System.Reflection.MethodBase
target Operand
Résultat void

EmitConvHelper() protected méthode

protected EmitConvHelper ( TypeCode to ) : void
to TypeCode
Résultat void

EmitGetHelper() protected méthode

protected EmitGetHelper ( Operand op, Type desiredType, bool allowExplicitConversion ) : void
op Operand
desiredType IKVM.Reflection.Type
allowExplicitConversion bool
Résultat void

EmitI4Helper() protected méthode

protected EmitI4Helper ( int value ) : void
value int
Résultat void

EmitI8Helper() protected méthode

protected EmitI8Helper ( long value, bool signed ) : void
value long
signed bool
Résultat void

EmitLdargHelper() protected méthode

protected EmitLdargHelper ( ushort index ) : void
index ushort
Résultat void

EmitLdelemHelper() protected méthode

protected EmitLdelemHelper ( Type elementType ) : void
elementType IKVM.Reflection.Type
Résultat void

EmitLdindHelper() protected méthode

protected EmitLdindHelper ( Type type ) : void
type IKVM.Reflection.Type
Résultat void

EmitStargHelper() protected méthode

protected EmitStargHelper ( ushort index ) : void
index ushort
Résultat void

EmitStelemHelper() protected méthode

protected EmitStelemHelper ( Type elementType, Operand element, bool allowExplicitConversion ) : void
elementType IKVM.Reflection.Type
element Operand
allowExplicitConversion bool
Résultat void

EmitStindHelper() protected méthode

protected EmitStindHelper ( Type type, Operand value, bool allowExplicitConversion ) : void
type IKVM.Reflection.Type
value Operand
allowExplicitConversion bool
Résultat void

ForceResetUnreachableState() public méthode

public ForceResetUnreachableState ( ) : void
Résultat void

GetStelemOpCode() protected static méthode

protected static GetStelemOpCode ( Type elementType ) : OpCode
elementType IKVM.Reflection.Type
Résultat System.Reflection.Emit.OpCode

GetStindOpCode() protected static méthode

protected static GetStindOpCode ( Type type ) : OpCode
type IKVM.Reflection.Type
Résultat System.Reflection.Emit.OpCode

Goto() public méthode

public Goto ( Label label ) : void
label System.Reflection.Emit.Label
Résultat void

Goto() public méthode

public Goto ( string labelName ) : void
labelName string
Résultat void

Label() public méthode

public Label ( string labelName ) : Label
labelName string
Résultat System.Reflection.Emit.Label

Local() public méthode

public Local ( ) : ContextualOperand
Résultat ContextualOperand

Local() public méthode

public Local ( Operand init ) : ContextualOperand
init Operand
Résultat ContextualOperand

Local() public méthode

public Local ( System type ) : ContextualOperand
type System
Résultat ContextualOperand

Local() public méthode

public Local ( System type, Operand init ) : ContextualOperand
type System
init Operand
Résultat ContextualOperand

Local() public méthode

public Local ( Type type ) : ContextualOperand
type IKVM.Reflection.Type
Résultat ContextualOperand

Local() public méthode

public Local ( Type type, Operand init ) : ContextualOperand
type IKVM.Reflection.Type
init Operand
Résultat ContextualOperand

MarkLabel() public méthode

public MarkLabel ( Label label ) : void
label System.Reflection.Emit.Label
Résultat void

PropertyValue() public méthode

public PropertyValue ( ) : ContextualOperand
Résultat ContextualOperand

This() public méthode

public This ( ) : ContextualOperand
Résultat ContextualOperand

WrapExistingLocal() protected méthode

protected WrapExistingLocal ( LocalBuilder local ) : ContextualOperand
local System.Reflection.Emit.LocalBuilder
Résultat ContextualOperand

this() public méthode

public this ( string localName ) : Operand
localName string
Résultat Operand