C# Class Mosa.Compiler.Framework.Stages.TypeInitializerSchedulerStage

Schedules type initializers and creates a hidden mosacl_main method, which runs all type initializers in sequence.
Dependencies are not resolved, it is hoped that dependencies are resolved by the high-level language compiler by placing cctors in some order in metadata.
Inheritance: BaseCompilerStage
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
TypeInitializerName string

Méthodes publiques

Méthode Description
Schedule ( MosaMethod method ) : void

Schedules the specified method for invocation in the main.

TypeInitializerSchedulerStage ( ) : Mosa.Compiler.Framework.IR

Initializes a new instance of the TypeInitializerSchedulerStage class.

Méthodes protégées

Méthode Description
RunPostCompile ( ) : void
RunPreCompile ( ) : void

Method Details

RunPostCompile() protected méthode

protected RunPostCompile ( ) : void
Résultat void

RunPreCompile() protected méthode

protected RunPreCompile ( ) : void
Résultat void

Schedule() public méthode

Schedules the specified method for invocation in the main.
public Schedule ( MosaMethod method ) : void
method MosaMethod The method.
Résultat void

TypeInitializerSchedulerStage() public méthode

Initializes a new instance of the TypeInitializerSchedulerStage class.
public TypeInitializerSchedulerStage ( ) : Mosa.Compiler.Framework.IR
Résultat Mosa.Compiler.Framework.IR

Property Details

TypeInitializerName public_oe static_oe property

public static string TypeInitializerName
Résultat string