C# Class kOS.Safe.Compilation.KS.KSScript

Inheritance: Script
Datei anzeigen Open project: KSP-KOS/KOS

Public Methods

Method Description
ClearContext ( string contextId ) : void
Compile ( GlobalPath filePath, int startLineNum, string scriptText, string contextId, CompilerOptions options ) : List
IsCommandComplete ( string command ) : bool
KSScript ( ) : System.Collections.Generic

Private Methods

Method Description
AssignSourceId ( IEnumerable parts, GlobalPath filePath ) : void
LoadContext ( string contextId ) : void

Method Details

ClearContext() public method

public ClearContext ( string contextId ) : void
contextId string
return void

Compile() public method

public Compile ( GlobalPath filePath, int startLineNum, string scriptText, string contextId, CompilerOptions options ) : List
filePath kOS.Safe.Persistence.GlobalPath
startLineNum int
scriptText string
contextId string
options CompilerOptions
return List

IsCommandComplete() public method

public IsCommandComplete ( string command ) : bool
command string
return bool

KSScript() public method

public KSScript ( ) : System.Collections.Generic
return System.Collections.Generic