Méthode | Description | |
---|---|---|
BeginExecutable ( Executable_Block block ) : void | ||
EndExecutable ( ) : void | ||
Parse ( ) : |
||
ScriptParser ( Script script, List |
Méthode | Description | |
---|---|---|
HasMoreTokens ( ) : bool |
是否还有更多需要解析的语法
|
|
PeekToken ( ) : |
返回第一个Token
|
|
ReadCatch ( ) : void |
读取catch
|
|
ReadColon ( ) : void |
读取:
|
|
ReadComma ( ) : void |
读取,
|
|
ReadIdentifier ( ) : String |
读取 未知字符
|
|
ReadIn ( ) : void |
读取in
|
|
ReadLeftBrace ( ) : void |
读取{
|
|
ReadLeftBracket ( ) : void |
读取[
|
|
ReadLeftParenthesis ( ) : void |
读取(
|
|
ReadRightBrace ( ) : void |
读取}
|
|
ReadRightBracket ( ) : void |
读取]
|
|
ReadRightParenthesis ( ) : void |
读取)
|
|
ReadSemiColon ( ) : void |
读取;
|
|
ReadToken ( ) : |
获得第一个Token
|
|
UndoToken ( ) : void |
回滚Token
|
Méthode | Description | |
---|---|---|
GetArray ( ) : |
||
GetEval ( ) : |
||
GetFunction ( |
||
GetObject ( ) : |
||
GetOneDefine ( ) : DefineObject | ||
GetOneObject ( ) : |
||
GetSourceLine ( ) : int | ||
GetTable ( ) : |
||
GetVariable ( |
||
IsDefine ( ) : bool | ||
IsDefine_impl ( DefineObject define ) : bool | ||
OperatorDefine ( Stack |
||
P_Operator ( Stack |
||
ParseBlock ( ) : void | ||
ParseCase ( List |
||
ParseCondition ( bool condition, Executable_Block block ) : |
||
ParseExpression ( ) : void | ||
ParseFor ( ) : void | ||
ParseFor_Simple ( string Identifier, |
||
ParseFor_impl ( ) : void | ||
ParseForeach ( ) : void | ||
ParseFunction ( ) : void | ||
ParseFunctionDeclaration ( bool needName ) : ScriptScriptFunction | ||
ParseIf ( ) : void | ||
ParseReturn ( ) : void | ||
ParseSharp ( ) : void | ||
ParseStatement ( ) : void | ||
ParseStatementBlock ( Executable_Block block ) : |
||
ParseStatementBlock ( Executable_Block block, bool readLeftBrace, TokenType finished ) : |
||
ParseSwtich ( ) : void | ||
ParseThrow ( ) : void | ||
ParseTry ( ) : void | ||
ParseVar ( ) : void | ||
ParseWhile ( ) : void | ||
PopSharp ( ) : void | ||
ReadDefine ( ) : DefineObject |
public BeginExecutable ( Executable_Block block ) : void | ||
block | Executable_Block | |
Résultat | void |
public Parse ( ) : |
||
Résultat |
public ScriptParser ( Script script, List |
||
script | Script | |
listTokens | List |
|
strBreviary | string | |
Résultat | System |