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
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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