C# Класс 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.
Наследование: BaseCompilerStage
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
TypeInitializerName string

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
RunPostCompile ( ) : void
RunPreCompile ( ) : void

Описание методов

RunPostCompile() защищенный Метод

protected RunPostCompile ( ) : void
Результат void

RunPreCompile() защищенный Метод

protected RunPreCompile ( ) : void
Результат void

Schedule() публичный Метод

Schedules the specified method for invocation in the main.
public Schedule ( MosaMethod method ) : void
method MosaMethod The method.
Результат void

TypeInitializerSchedulerStage() публичный Метод

Initializes a new instance of the TypeInitializerSchedulerStage class.
public TypeInitializerSchedulerStage ( ) : Mosa.Compiler.Framework.IR
Результат Mosa.Compiler.Framework.IR

Описание свойств

TypeInitializerName публичное статическое свойство

public static string TypeInitializerName
Результат string