C# Класс AGS.CScript.Compiler.CodeBlockCompiler

Показать файл Открыть проект

Открытые методы

Метод Описание
Process ( AGS.CScript.Compiler.ScriptReader script ) : void

Starts processing a code block from the input stream. It is assumed to start with a { or be a single expression.

Приватные методы

Метод Описание
CodeBlockCompiler ( AGS.CScript.Compiler.CompilerState state ) : System
DeclareLocalVariable ( AGS.CScript.Compiler.Token variableType ) : void
FreeAllLocalVariablesButLeaveValid ( ) : void
FreeLocalVariables ( LocalScope scope, bool unDeclareVars ) : void

Frees the memory associated with the specified scope, and generates code to decrement the stack pointer accordingly.

GenerateCodeForAssignmentOperator ( AGS.CScript.Compiler.SplitExpression expression ) : void
GenerateCodeForExpression ( Expression expression ) : void
GenerateCodeForExpressionWithoutOperator ( Expression expression ) : void
GenerateCodeForStandardOperator ( AGS.CScript.Compiler.SplitExpression expression ) : void
ProcessCodeBlock ( ) : void

Starts processing a code block from the input stream. It is assumed to start with a { or be a single expression.

ProcessKeyword ( AGS.CScript.Compiler.KeywordToken keywordToken ) : void
ProcessNextCodeStatement ( bool allowVariableDeclarations ) : void
ReadExpression ( AGS.CScript.Compiler.ScriptReader source, bool readTerminatingSymbolFromStream ) : Expression
ReadExpression ( bool readTerminatingSymbolFromStream ) : Expression

Описание методов

Process() публичный Метод

Starts processing a code block from the input stream. It is assumed to start with a { or be a single expression.
public Process ( AGS.CScript.Compiler.ScriptReader script ) : void
script AGS.CScript.Compiler.ScriptReader
Результат void