C# 클래스 AGS.CScript.Compiler.CodeBlockCompiler

파일 보기 프로젝트 열기: adventuregamestudio/ags

공개 메소드들

메소드 설명
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