C# Class Kento.Compiler

Show file Open project: LukaHorvat/Kento

Public Methods

Method Description
Dereference ( Reference Reference, int Index ) : void
Destroy ( int Index ) : void
EnterScope ( ) : void
ExitScope ( bool DoNotDestroy = false ) : void
FreeMemoy ( int Index ) : void
GetCurrentScope ( ) : Scope
GetMemoryUsage ( ) : int
GetValue ( int Index ) : Value
Identify ( string Name ) : Reference
RegisterReference ( Reference Reference, int Index ) : void
Run ( List Code ) : void
RunFromFile ( string Path, DebugOptions Options ) : void
RunFromSource ( string Code, DebugOptions Options ) : void
SetAlias ( string Name, Reference Reference ) : void
SetAlias ( string Name, int Index ) : void
SetAsCurrentScope ( Scope Scope ) : void
SetValue ( int Index, Value Value ) : void
StoreValue ( Value Value, bool ForceNew = false ) : int

Private Methods

Method Description
Compiler ( ) : System
Reserve ( object Sender ) : Reference

Method Details

Dereference() public static method

public static Dereference ( Reference Reference, int Index ) : void
Reference Reference
Index int
return void

Destroy() public static method

public static Destroy ( int Index ) : void
Index int
return void

EnterScope() public static method

public static EnterScope ( ) : void
return void

ExitScope() public static method

public static ExitScope ( bool DoNotDestroy = false ) : void
DoNotDestroy bool
return void

FreeMemoy() public static method

public static FreeMemoy ( int Index ) : void
Index int
return void

GetCurrentScope() public static method

public static GetCurrentScope ( ) : Scope
return Scope

GetMemoryUsage() public static method

public static GetMemoryUsage ( ) : int
return int

GetValue() public static method

public static GetValue ( int Index ) : Value
Index int
return Value

Identify() public static method

public static Identify ( string Name ) : Reference
Name string
return Reference

RegisterReference() public static method

public static RegisterReference ( Reference Reference, int Index ) : void
Reference Reference
Index int
return void

Run() public static method

public static Run ( List Code ) : void
Code List
return void

RunFromFile() public static method

public static RunFromFile ( string Path, DebugOptions Options ) : void
Path string
Options DebugOptions
return void

RunFromSource() public static method

public static RunFromSource ( string Code, DebugOptions Options ) : void
Code string
Options DebugOptions
return void

SetAlias() public static method

public static SetAlias ( string Name, Reference Reference ) : void
Name string
Reference Reference
return void

SetAlias() public static method

public static SetAlias ( string Name, int Index ) : void
Name string
Index int
return void

SetAsCurrentScope() public static method

public static SetAsCurrentScope ( Scope Scope ) : void
Scope Scope
return void

SetValue() public static method

public static SetValue ( int Index, Value Value ) : void
Index int
Value Value
return void

StoreValue() public static method

public static StoreValue ( Value Value, bool ForceNew = false ) : int
Value Value
ForceNew bool
return int