C# Class kOS.Safe.Compilation.ProgramBuilder

Afficher le fichier Open project: KSP-KOS/KOS Class Usage Examples

Private Properties

Свойство Type Description
AddJumpToEntryPoint void
GetEntryPointLabel string
ReplaceLabels void

Méthodes publiques

Méthode Description
AddObjectFile ( IEnumerable parts ) : System.Guid

Creates a new ObjectFile with the parts provided

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

Méthodes protégées

Méthode Description
AddEndOfProgram ( CodePart linkedObject, bool isMainProgram ) : void
AddInitializationCode ( CodePart linkedObject, CodePart part ) : void
BuildBoilerplateLoader ( ) : IEnumerable

Private Methods

Méthode Description
AddJumpToEntryPoint ( CodePart linkedObject ) : void
GetEntryPointLabel ( CodePart linkedObject ) : string
ReplaceLabels ( List program ) : void

Method Details

AddEndOfProgram() protected méthode

protected AddEndOfProgram ( CodePart linkedObject, bool isMainProgram ) : void
linkedObject CodePart
isMainProgram bool
Résultat void

AddInitializationCode() protected méthode

protected AddInitializationCode ( CodePart linkedObject, CodePart part ) : void
linkedObject CodePart
part CodePart
Résultat void

AddObjectFile() public méthode

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

AddRange() public méthode

public AddRange ( IEnumerable parts ) : void
parts IEnumerable
Résultat void

BuildBoilerplateLoader() protected méthode

protected BuildBoilerplateLoader ( ) : IEnumerable
Résultat IEnumerable

BuildProgram() public méthode

public BuildProgram ( ) : List
Résultat List

GetObjectFileEntryPointAddress() public méthode

public GetObjectFileEntryPointAddress ( System.Guid objectFileId ) : int
objectFileId System.Guid
Résultat int