C# Class GameMaker.Dissasembler.BuildAst

Afficher le fichier Open project: WarlockD/GMdsam

Méthodes publiques

Méthode Description
Build ( File code, ErrorContext error = null ) : List

Méthodes protégées

Méthode Description
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

Method Details

Build() public méthode

public Build ( File code, ErrorContext error = null ) : List
code System.IO.File
error ErrorContext
Résultat List

BuildUnresolvedVar() protected méthode

protected BuildUnresolvedVar ( int operand ) : UnresolvedVar
operand int
Résultat UnresolvedVar

CreateExpression() protected méthode

protected CreateExpression ( GMCode code, GM_Type types ) : ILExpression
code GMCode
types GM_Type
Résultat ILExpression

CreateExpression() protected méthode

protected CreateExpression ( GMCode code, GM_Type types, ILLabel operand ) : ILExpression
code GMCode
types GM_Type
operand ILLabel
Résultat ILExpression

CreateExpression() protected abstract méthode

protected abstract CreateExpression ( List list ) : ILExpression
list List
Résultat ILExpression

CreateLabeledExpression() protected méthode

protected CreateLabeledExpression ( GMCode code ) : ILExpression
code GMCode
Résultat ILExpression

CreatePushExpression() protected méthode

protected CreatePushExpression ( GMCode code, GM_Type types ) : ILExpression
code GMCode
types GM_Type
Résultat ILExpression

DebugILValueOffset() protected méthode

protected DebugILValueOffset ( ILValue v ) : void
v ILValue
Résultat void

Finish() protected méthode

After label resolving and right before returning
protected Finish ( List list ) : void
list List
Résultat void

GetLabel() protected méthode

protected GetLabel ( int position ) : ILLabel
position int
Résultat ILLabel

ReadConstant() static protected méthode

static protected ReadConstant ( BinaryReader r, GM_Type t ) : ILValue
r System.IO.BinaryReader
t GM_Type
Résultat ILValue

ReadRaw() protected static méthode

protected static ReadRaw ( uint i ) : GM_Type
i uint
Résultat GM_Type

ReadTypes() protected static méthode

protected static ReadTypes ( uint rawCode ) : GM_Type[]
rawCode uint
Résultat GM_Type[]

Start() protected méthode

Before reading the first opcode
protected Start ( List list ) : void
list List
Résultat void

labelExists() protected méthode

protected labelExists ( int position ) : bool
position int
Résultat bool