C# Class NScumm.Dump.ScriptParser

Afficher le fichier Open project: scemino/nscumm

Protected Properties

Свойство Type Description
_br System.IO.BinaryReader
_opCode int
opCodes Func>.Dictionary

Méthodes publiques

Méthode Description
Create ( GameInfo info ) : ScriptParser
Parse ( byte data ) : CompilationUnit

Méthodes protégées

Méthode Description
AddKnownVariables ( string>.IDictionary knownVariables ) : void
ExecuteOpCode ( ) : Statement
InitOpCodes ( ) : void
ReadByte ( ) : int
ReadCharacters ( ) : Expression
ReadVariable ( int var ) : Expression
ReadVariable2 ( Expression var ) : Expression
ReadVariable2 ( int var ) : Expression
ReadWord ( ) : int
ReadWordSigned ( ) : int
ScriptParser ( GameInfo info ) : System.IO

Method Details

AddKnownVariables() protected méthode

protected AddKnownVariables ( string>.IDictionary knownVariables ) : void
knownVariables string>.IDictionary
Résultat void

Create() public static méthode

public static Create ( GameInfo info ) : ScriptParser
info NScumm.Scumm.IO.GameInfo
Résultat ScriptParser

ExecuteOpCode() protected méthode

protected ExecuteOpCode ( ) : Statement
Résultat Statement

InitOpCodes() protected abstract méthode

protected abstract InitOpCodes ( ) : void
Résultat void

Parse() public méthode

public Parse ( byte data ) : CompilationUnit
data byte
Résultat CompilationUnit

ReadByte() protected méthode

protected ReadByte ( ) : int
Résultat int

ReadCharacters() protected méthode

protected ReadCharacters ( ) : Expression
Résultat Expression

ReadVariable() protected méthode

protected ReadVariable ( int var ) : Expression
var int
Résultat Expression

ReadVariable2() protected méthode

protected ReadVariable2 ( Expression var ) : Expression
var Expression
Résultat Expression

ReadVariable2() protected méthode

protected ReadVariable2 ( int var ) : Expression
var int
Résultat Expression

ReadWord() protected méthode

protected ReadWord ( ) : int
Résultat int

ReadWordSigned() protected méthode

protected ReadWordSigned ( ) : int
Résultat int

ScriptParser() protected méthode

protected ScriptParser ( GameInfo info ) : System.IO
info NScumm.Scumm.IO.GameInfo
Résultat System.IO

Property Details

_br protected_oe property

protected BinaryReader,System.IO _br
Résultat System.IO.BinaryReader

_opCode protected_oe property

protected int _opCode
Résultat int

opCodes protected_oe property

protected Dictionary> opCodes
Résultat Func>.Dictionary