C# Class CSLE.CLS_Environment

Inheritance: ICLS_Environment, ICLS_Environment_Compiler
Show file Open project: lightszero/cslightcore Class Usage Examples

Public Methods

Method Description
CLS_Environment ( ICLS_Logger logger ) : System
CreateContent ( ) : CLS_Content
Expr_CompileToken ( IList listToken ) : ICLS_Expression
Expr_CompileToken ( IList listToken, bool SimpleExpression ) : ICLS_Expression
Expr_CompilerToken ( IList listToken ) : ICLS_Expression
Expr_CompilerToken ( IList listToken, bool SimpleExpression ) : ICLS_Expression
Expr_Execute ( ICLS_Expression expr ) : CLS_Content.Value
Expr_Execute ( ICLS_Expression expr, CLS_Content content ) : CLS_Content.Value
Expr_Optimize ( ICLS_Expression old ) : ICLS_Expression
File_CompileToken ( string filename, IList listToken, bool embDebugToken ) : void
File_PreCompileToken ( string filename, IList listToken ) : void
GetFunction ( string name ) : ICLS_Function
GetType ( CLType type ) : ICLS_Type
GetTypeByKeyword ( string keyword ) : ICLS_Type
GetTypeByKeywordQuiet ( string keyword ) : ICLS_Type
ParserToken ( string code ) : IList
Project_Compile ( Dictionary project, bool embDebugToken ) : void
Project_FromPacketStream ( System instream ) : IList>.Dictionary
Project_PacketToStream ( Dictionary project, System outstream ) : void
RegFunction ( ICLS_Function func ) : void
RegType ( ICLS_Type type ) : void

Method Details

CLS_Environment() public method

public CLS_Environment ( ICLS_Logger logger ) : System
logger ICLS_Logger
return System

CreateContent() public method

public CreateContent ( ) : CLS_Content
return CLS_Content

Expr_CompileToken() public method

public Expr_CompileToken ( IList listToken ) : ICLS_Expression
listToken IList
return ICLS_Expression

Expr_CompileToken() public method

public Expr_CompileToken ( IList listToken, bool SimpleExpression ) : ICLS_Expression
listToken IList
SimpleExpression bool
return ICLS_Expression

Expr_CompilerToken() public method

public Expr_CompilerToken ( IList listToken ) : ICLS_Expression
listToken IList
return ICLS_Expression

Expr_CompilerToken() public method

public Expr_CompilerToken ( IList listToken, bool SimpleExpression ) : ICLS_Expression
listToken IList
SimpleExpression bool
return ICLS_Expression

Expr_Execute() public method

public Expr_Execute ( ICLS_Expression expr ) : CLS_Content.Value
expr ICLS_Expression
return CLS_Content.Value

Expr_Execute() public method

public Expr_Execute ( ICLS_Expression expr, CLS_Content content ) : CLS_Content.Value
expr ICLS_Expression
content CLS_Content
return CLS_Content.Value

Expr_Optimize() public method

public Expr_Optimize ( ICLS_Expression old ) : ICLS_Expression
old ICLS_Expression
return ICLS_Expression

File_CompileToken() public method

public File_CompileToken ( string filename, IList listToken, bool embDebugToken ) : void
filename string
listToken IList
embDebugToken bool
return void

File_PreCompileToken() public method

public File_PreCompileToken ( string filename, IList listToken ) : void
filename string
listToken IList
return void

GetFunction() public method

public GetFunction ( string name ) : ICLS_Function
name string
return ICLS_Function

GetType() public method

public GetType ( CLType type ) : ICLS_Type
type CLType
return ICLS_Type

GetTypeByKeyword() public method

public GetTypeByKeyword ( string keyword ) : ICLS_Type
keyword string
return ICLS_Type

GetTypeByKeywordQuiet() public method

public GetTypeByKeywordQuiet ( string keyword ) : ICLS_Type
keyword string
return ICLS_Type

ParserToken() public method

public ParserToken ( string code ) : IList
code string
return IList

Project_Compile() public method

public Project_Compile ( Dictionary project, bool embDebugToken ) : void
project Dictionary
embDebugToken bool
return void

Project_FromPacketStream() public method

public Project_FromPacketStream ( System instream ) : IList>.Dictionary
instream System
return IList>.Dictionary

Project_PacketToStream() public method

public Project_PacketToStream ( Dictionary project, System outstream ) : void
project Dictionary
outstream System
return void

RegFunction() public method

public RegFunction ( ICLS_Function func ) : void
func ICLS_Function
return void

RegType() public method

public RegType ( ICLS_Type type ) : void
type ICLS_Type
return void