C# Class SharpOS.Tools.KeyCompiler.Compiler

Show file Open project: sharpos/SharpOS Class Usage Examples

Public Properties

Property Type Description
Archive bool
Decode bool
Force bool
MaxErrors int
OutputFile string
WorkingDirectory string

Public Methods

Method Description
Compile ( ) : int
Compiler ( string args, string encoding ) : System
CreateArchive ( Stream s, string initArgs ) : int
Decompile ( Stream s ) : void
Main ( string args ) : int
Parse ( string file ) : int
ParseStatement ( Tokenizer t ) : bool
ReadEnd ( Tokenizer t ) : void
ReadEq ( Tokenizer t ) : void
ReadEqChar ( Tokenizer t ) : int
ReadEqInt ( Tokenizer t ) : int
ReadEqString ( Tokenizer t ) : string
ReadInt ( Tokenizer t ) : int
ReadMap ( Tokenizer t ) : Keymap
ReadSectionOpen ( Tokenizer t ) : void
ReadString ( Tokenizer t ) : string
UnpackArchive ( Stream s, string wd ) : int

Method Details

Compile() public method

public Compile ( ) : int
return int

Compiler() public method

public Compiler ( string args, string encoding ) : System
args string
encoding string
return System

CreateArchive() public method

public CreateArchive ( Stream s, string initArgs ) : int
s Stream
initArgs string
return int

Decompile() public method

public Decompile ( Stream s ) : void
s Stream
return void

Main() public static method

public static Main ( string args ) : int
args string
return int

Parse() public method

public Parse ( string file ) : int
file string
return int

ParseStatement() public method

public ParseStatement ( Tokenizer t ) : bool
t SharpOS.Tools.Tokenizer
return bool

ReadEnd() public method

public ReadEnd ( Tokenizer t ) : void
t SharpOS.Tools.Tokenizer
return void

ReadEq() public method

public ReadEq ( Tokenizer t ) : void
t SharpOS.Tools.Tokenizer
return void

ReadEqChar() public method

public ReadEqChar ( Tokenizer t ) : int
t SharpOS.Tools.Tokenizer
return int

ReadEqInt() public method

public ReadEqInt ( Tokenizer t ) : int
t SharpOS.Tools.Tokenizer
return int

ReadEqString() public method

public ReadEqString ( Tokenizer t ) : string
t SharpOS.Tools.Tokenizer
return string

ReadInt() public method

public ReadInt ( Tokenizer t ) : int
t SharpOS.Tools.Tokenizer
return int

ReadMap() public method

public ReadMap ( Tokenizer t ) : Keymap
t SharpOS.Tools.Tokenizer
return Keymap

ReadSectionOpen() public method

public ReadSectionOpen ( Tokenizer t ) : void
t SharpOS.Tools.Tokenizer
return void

ReadString() public method

public ReadString ( Tokenizer t ) : string
t SharpOS.Tools.Tokenizer
return string

UnpackArchive() public method

public UnpackArchive ( Stream s, string wd ) : int
s Stream
wd string
return int

Property Details

Archive public property

public bool Archive
return bool

Decode public property

public bool Decode
return bool

Force public property

public bool Force
return bool

MaxErrors public property

public int MaxErrors
return int

OutputFile public property

public string OutputFile
return string

WorkingDirectory public property

public string WorkingDirectory
return string