C# Class Scorpio.Compile.Compiler.ScriptLexer

脚本语法解析
Exibir arquivo Open project: qingfeng346/Scorpio-CSharp

Public Methods

Method Description
GetTokens ( ) : List

解析字符串

Private Methods

Method Description
ReadAnd ( ) : void

&

ReadAssign ( ) : void

=

ReadBlockComment ( ) : void
ReadDivideOrComment ( ) : void

ReadDot ( ) : void

.

ReadGreater ( ) : void

>

ReadIdentifier ( ) : void
ReadLess ( ) : void

<

ReadLineComment ( ) : void
ReadMinus ( ) : void

-

ReadModulo ( ) : void

%

ReadMultiply ( ) : void

*

ReadNot ( ) : void

!

ReadNumber ( ) : void

读取数字

ReadNumberOrHexNumber ( ) : void

读取16进制数字

ReadOr ( ) : void

|

ReadPlus ( ) : void

+

ReadQuestionMark ( ) : void
ReadRightBrace ( ) : void

读取 }

ReadSimpleString ( bool symbol ) : void
ReadString ( ) : void
ReadXor ( ) : void

^

Method Details

GetTokens() public method

解析字符串
public GetTokens ( ) : List
return List