C# 클래스 GameMaker.Dissasembler.BuildAst

파일 보기 프로젝트 열기: WarlockD/GMdsam

공개 메소드들

메소드 설명
Build ( File code, ErrorContext error = null ) : List

보호된 메소드들

메소드 설명
BuildUnresolvedVar ( int operand ) : UnresolvedVar
CreateExpression ( GMCode code, GM_Type types ) : ILExpression
CreateExpression ( GMCode code, GM_Type types, ILLabel operand ) : ILExpression
CreateExpression ( List list ) : ILExpression
CreateLabeledExpression ( GMCode code ) : ILExpression
CreatePushExpression ( GMCode code, GM_Type types ) : ILExpression
DebugILValueOffset ( ILValue v ) : void
Finish ( List list ) : void

After label resolving and right before returning

GetLabel ( int position ) : ILLabel
ReadConstant ( BinaryReader r, GM_Type t ) : ILValue
ReadRaw ( uint i ) : GM_Type
ReadTypes ( uint rawCode ) : GM_Type[]
Start ( List list ) : void

Before reading the first opcode

labelExists ( int position ) : bool

메소드 상세

Build() 공개 메소드

public Build ( File code, ErrorContext error = null ) : List
code System.IO.File
error ErrorContext
리턴 List

BuildUnresolvedVar() 보호된 메소드

protected BuildUnresolvedVar ( int operand ) : UnresolvedVar
operand int
리턴 UnresolvedVar

CreateExpression() 보호된 메소드

protected CreateExpression ( GMCode code, GM_Type types ) : ILExpression
code GMCode
types GM_Type
리턴 ILExpression

CreateExpression() 보호된 메소드

protected CreateExpression ( GMCode code, GM_Type types, ILLabel operand ) : ILExpression
code GMCode
types GM_Type
operand ILLabel
리턴 ILExpression

CreateExpression() 보호된 추상적인 메소드

protected abstract CreateExpression ( List list ) : ILExpression
list List
리턴 ILExpression

CreateLabeledExpression() 보호된 메소드

protected CreateLabeledExpression ( GMCode code ) : ILExpression
code GMCode
리턴 ILExpression

CreatePushExpression() 보호된 메소드

protected CreatePushExpression ( GMCode code, GM_Type types ) : ILExpression
code GMCode
types GM_Type
리턴 ILExpression

DebugILValueOffset() 보호된 메소드

protected DebugILValueOffset ( ILValue v ) : void
v ILValue
리턴 void

Finish() 보호된 메소드

After label resolving and right before returning
protected Finish ( List list ) : void
list List
리턴 void

GetLabel() 보호된 메소드

protected GetLabel ( int position ) : ILLabel
position int
리턴 ILLabel

ReadConstant() 정적인 보호된 메소드

static protected ReadConstant ( BinaryReader r, GM_Type t ) : ILValue
r System.IO.BinaryReader
t GM_Type
리턴 ILValue

ReadRaw() 보호된 정적인 메소드

protected static ReadRaw ( uint i ) : GM_Type
i uint
리턴 GM_Type

ReadTypes() 보호된 정적인 메소드

protected static ReadTypes ( uint rawCode ) : GM_Type[]
rawCode uint
리턴 GM_Type[]

Start() 보호된 메소드

Before reading the first opcode
protected Start ( List list ) : void
list List
리턴 void

labelExists() 보호된 메소드

protected labelExists ( int position ) : bool
position int
리턴 bool