C# 클래스 kOS.Safe.Compilation.ProgramBuilder

파일 보기 프로젝트 열기: KSP-KOS/KOS 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddJumpToEntryPoint void
GetEntryPointLabel string
ReplaceLabels void

공개 메소드들

메소드 설명
AddObjectFile ( IEnumerable parts ) : System.Guid

Creates a new ObjectFile with the parts provided

AddRange ( IEnumerable parts ) : void
BuildProgram ( ) : List
GetObjectFileEntryPointAddress ( System.Guid objectFileId ) : int

보호된 메소드들

메소드 설명
AddEndOfProgram ( CodePart linkedObject, bool isMainProgram ) : void
AddInitializationCode ( CodePart linkedObject, CodePart part ) : void
BuildBoilerplateLoader ( ) : IEnumerable

비공개 메소드들

메소드 설명
AddJumpToEntryPoint ( CodePart linkedObject ) : void
GetEntryPointLabel ( CodePart linkedObject ) : string
ReplaceLabels ( List program ) : void

메소드 상세

AddEndOfProgram() 보호된 메소드

protected AddEndOfProgram ( CodePart linkedObject, bool isMainProgram ) : void
linkedObject CodePart
isMainProgram bool
리턴 void

AddInitializationCode() 보호된 메소드

protected AddInitializationCode ( CodePart linkedObject, CodePart part ) : void
linkedObject CodePart
part CodePart
리턴 void

AddObjectFile() 공개 메소드

Creates a new ObjectFile with the parts provided
public AddObjectFile ( IEnumerable parts ) : System.Guid
parts IEnumerable Collection of CodeParts generated by the compiler
리턴 System.Guid

AddRange() 공개 메소드

public AddRange ( IEnumerable parts ) : void
parts IEnumerable
리턴 void

BuildBoilerplateLoader() 보호된 메소드

protected BuildBoilerplateLoader ( ) : IEnumerable
리턴 IEnumerable

BuildProgram() 공개 메소드

public BuildProgram ( ) : List
리턴 List

GetObjectFileEntryPointAddress() 공개 메소드

public GetObjectFileEntryPointAddress ( System.Guid objectFileId ) : int
objectFileId System.Guid
리턴 int