C# 클래스 TESVSnip.Domain.Scripts.ScriptCompiler

파일 보기 프로젝트 열기: figment/tesvsnip

공개 메소드들

메소드 설명
Compile ( Record r2, string &msg ) : bool
CompileResultScript ( SubRecord sr, Record &r2, string &msg ) : bool
Setup ( Plugin plugins ) : void

비공개 메소드들

메소드 설명
AddError ( string msg ) : void
AddFunction ( string name, string sname, FunctionSig sig ) : void
Emit ( ushort code ) : void
EmitBegin ( TESVSnip.Domain.Scripts.Token smt ) : void
EmitByte ( byte code ) : void
EmitExpression ( TESVSnip.Domain.Scripts.Token smt, ExpressionType type ) : void
EmitExpression2 ( Queue smt, int precedence, bool endonbracket, ExpressionType type ) : bool
EmitExpressionValue ( TESVSnip.Domain.Scripts.Token t, Queue smt, ExpressionType type ) : void
EmitFunctionCall ( TESVSnip.Domain.Scripts.Token &smt, bool expression, bool hadref, bool requiresRef ) : void
EmitLong ( uint code ) : void
EmitRefLabel ( TESVSnip.Domain.Scripts.Token t, RefType type ) : void
EmitShowMessage ( TESVSnip.Domain.Scripts.Token smt ) : void
HandleBlock ( ) : void
HandleResultsBlock ( ) : void
HandleStatement ( TESVSnip.Domain.Scripts.Token smt ) : void
HandleVariables ( ) : void
Init ( ) : void
OutputErrors ( string &msg ) : bool
RecursePlugin ( TESVSnip.Domain.Model.Rec r, Record>.Dictionary records, Record>.List quests, Record>.List refs ) : void
RecursePlugin ( TESVSnip.Domain.Model.Rec r, uint mask, uint id, Record>.Dictionary records, Record>.List quests, Record>.List refs ) : void
ReturnError ( string msg, string &error ) : bool
TrimStatement ( TESVSnip.Domain.Scripts.Token smt, int size ) : TESVSnip.Domain.Scripts.Token[]

메소드 상세

Compile() 공개 정적인 메소드

public static Compile ( Record r2, string &msg ) : bool
r2 TESVSnip.Domain.Model.Record
msg string
리턴 bool

CompileResultScript() 공개 정적인 메소드

public static CompileResultScript ( SubRecord sr, Record &r2, string &msg ) : bool
sr SubRecord
r2 TESVSnip.Domain.Model.Record
msg string
리턴 bool

Setup() 공개 정적인 메소드

public static Setup ( Plugin plugins ) : void
plugins TESVSnip.Domain.Model.Plugin
리턴 void