C# 클래스 CSLE.CLS_Expression_Compiler

상속: ICLS_Expression_Compiler
파일 보기 프로젝트 열기: lightszero/cslightcore 1 사용 예제들

공개 메소드들

메소드 설명
CLS_Expression_Compiler ( ICLS_Logger logger ) : System
Compile ( IList tlist, ICLS_Environment content ) : ICLS_Expression
Compile_NoBlock ( IList tlist, ICLS_Environment content ) : ICLS_Expression
Compiler_Expression ( IList tlist, ICLS_Environment content, int pos, int posend, ICLS_Expression &value ) : bool
Compiler_Expression_Block ( IList tlist, ICLS_Environment content, int pos, int posend, ICLS_Expression &value ) : bool
Compiler_Expression_Function ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_FunctionNew ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_FunctionStatic ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_FunctionThrow ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_FunctionTrace ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_IndexFind ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_Break ( IList tlist, int pos ) : ICLS_Expression
Compiler_Expression_Loop_Continue ( IList tlist, int pos ) : ICLS_Expression
Compiler_Expression_Loop_Dowhile ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_For ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_ForEach ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_If ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_Return ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_Try ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Loop_While ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_Math ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_MathSelf ( IList tlist, int pos, int posend ) : ICLS_Expression
Compiler_Expression_NegativeLogic ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_NegativeValue ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
Compiler_Expression_SubValue ( Token value ) : ICLS_Expression
Compiler_Expression_Value ( Token value, int pos ) : ICLS_Expression
FileCompile ( ICLS_Environment env, string filename, IList tlist, bool embDebugToken ) : IList
FilePreCompile ( ICLS_Environment env, string filename, IList tlist ) : IList
LogError ( IList tlist, string text, int pos, int posend ) : void
Optimize ( ICLS_Expression value, ICLS_Environment env ) : ICLS_Expression

비공개 메소드들

메소드 설명
Compiler_Class ( ICLS_Environment env, string classname, bool bInterface, IList basetype, string filename, IList tokens, int ibegin, int iend, bool EmbDebugToken, bool onlyGotType, IList usinglist ) : ICLS_Type
Compiler_Using ( IList tokens, ICLS_Environment env, int pos, int posend ) : List
FindBlock ( ICLS_Environment env, IList tokens, int start ) : int
FindCodeAny ( IList tokens, int &pos, int &depstyle ) : int
FindCodeAnyInFunc ( IList tokens, int &pos, int &depstyle ) : int
FindCodeAnyWithoutKeyword ( IList tokens, int &pos, int &depstyle ) : int
FindCodeBlock ( IList tokens, int pos ) : int
FindCodeInBlock ( IList tokens, int &pos, int &depstyle ) : int
FindCodeKeyWord_Dowhile ( IList tokens, int pos ) : int
FindCodeKeyWord_For ( IList tokens, int pos ) : int
FindCodeKeyWord_ForEach ( IList tokens, int pos ) : int
FindCodeKeyWord_If ( IList tokens, int pos ) : int
FindCodeKeyWord_New ( IList tokens, int pos ) : int
FindCodeKeyWord_Return ( IList tokens, int pos ) : int
FindCodeKeyWord_While ( IList tokens, int pos ) : int
FindFullExpression ( IList tokens, int pos, bool &bdepstart ) : int
GetExpressionOp ( IList tokens, int pos, int posend ) : int
GetLongName ( IList tokens, int pos ) : int
GetLongType ( IList tokens, int pos ) : int
GetLowestMathOp ( IList tokens, IList list ) : int
OptimizeDepth ( ICLS_Expression expr, CLS_Content content ) : ICLS_Expression
OptimizeSingle ( ICLS_Expression expr, CLS_Content content ) : ICLS_Expression
SplitExpressionWithOp ( IList tokens, int pos, int posend ) : IList
_FileCompiler ( string filename, IList tokens, bool embDeubgToken, ICLS_Environment env, bool onlyGotType ) : IList

메소드 상세

CLS_Expression_Compiler() 공개 메소드

public CLS_Expression_Compiler ( ICLS_Logger logger ) : System
logger ICLS_Logger
리턴 System

Compile() 공개 메소드

public Compile ( IList tlist, ICLS_Environment content ) : ICLS_Expression
tlist IList
content ICLS_Environment
리턴 ICLS_Expression

Compile_NoBlock() 공개 메소드

public Compile_NoBlock ( IList tlist, ICLS_Environment content ) : ICLS_Expression
tlist IList
content ICLS_Environment
리턴 ICLS_Expression

Compiler_Expression() 공개 메소드

public Compiler_Expression ( IList tlist, ICLS_Environment content, int pos, int posend, ICLS_Expression &value ) : bool
tlist IList
content ICLS_Environment
pos int
posend int
value ICLS_Expression
리턴 bool

Compiler_Expression_Block() 공개 메소드

public Compiler_Expression_Block ( IList tlist, ICLS_Environment content, int pos, int posend, ICLS_Expression &value ) : bool
tlist IList
content ICLS_Environment
pos int
posend int
value ICLS_Expression
리턴 bool

Compiler_Expression_Function() 공개 메소드

public Compiler_Expression_Function ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_FunctionNew() 공개 메소드

public Compiler_Expression_FunctionNew ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_FunctionStatic() 공개 메소드

public Compiler_Expression_FunctionStatic ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_FunctionThrow() 공개 메소드

public Compiler_Expression_FunctionThrow ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_FunctionTrace() 공개 메소드

public Compiler_Expression_FunctionTrace ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_IndexFind() 공개 메소드

public Compiler_Expression_IndexFind ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_Break() 공개 메소드

public Compiler_Expression_Loop_Break ( IList tlist, int pos ) : ICLS_Expression
tlist IList
pos int
리턴 ICLS_Expression

Compiler_Expression_Loop_Continue() 공개 메소드

public Compiler_Expression_Loop_Continue ( IList tlist, int pos ) : ICLS_Expression
tlist IList
pos int
리턴 ICLS_Expression

Compiler_Expression_Loop_Dowhile() 공개 메소드

public Compiler_Expression_Loop_Dowhile ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_For() 공개 메소드

public Compiler_Expression_Loop_For ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_ForEach() 공개 메소드

public Compiler_Expression_Loop_ForEach ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_If() 공개 메소드

public Compiler_Expression_Loop_If ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_Return() 공개 메소드

public Compiler_Expression_Loop_Return ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_Try() 공개 메소드

public Compiler_Expression_Loop_Try ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Loop_While() 공개 메소드

public Compiler_Expression_Loop_While ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_Math() 공개 메소드

public Compiler_Expression_Math ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_MathSelf() 공개 메소드

public Compiler_Expression_MathSelf ( IList tlist, int pos, int posend ) : ICLS_Expression
tlist IList
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_NegativeLogic() 공개 메소드

public Compiler_Expression_NegativeLogic ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_NegativeValue() 공개 메소드

public Compiler_Expression_NegativeValue ( IList tlist, ICLS_Environment content, int pos, int posend ) : ICLS_Expression
tlist IList
content ICLS_Environment
pos int
posend int
리턴 ICLS_Expression

Compiler_Expression_SubValue() 공개 메소드

public Compiler_Expression_SubValue ( Token value ) : ICLS_Expression
value Token
리턴 ICLS_Expression

Compiler_Expression_Value() 공개 메소드

public Compiler_Expression_Value ( Token value, int pos ) : ICLS_Expression
value Token
pos int
리턴 ICLS_Expression

FileCompile() 공개 메소드

public FileCompile ( ICLS_Environment env, string filename, IList tlist, bool embDebugToken ) : IList
env ICLS_Environment
filename string
tlist IList
embDebugToken bool
리턴 IList

FilePreCompile() 공개 메소드

public FilePreCompile ( ICLS_Environment env, string filename, IList tlist ) : IList
env ICLS_Environment
filename string
tlist IList
리턴 IList

LogError() 공개 메소드

public LogError ( IList tlist, string text, int pos, int posend ) : void
tlist IList
text string
pos int
posend int
리턴 void

Optimize() 공개 메소드

public Optimize ( ICLS_Expression value, ICLS_Environment env ) : ICLS_Expression
value ICLS_Expression
env ICLS_Environment
리턴 ICLS_Expression