C# Class Nintenlord.Event_Assembler.Core.Code.Language.EACodeLanguage

Event assemblers code language
Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Private Properties

Свойство Type Description
IsValidLableName bool

Méthodes publiques

Méthode Description
Assemble ( IPositionableInputStream input, BinaryWriter output ) : void
Disassemble ( byte code, int offset, int length, Priority priority, bool addEndingLines ) : IEnumerable
DisassembleChapter ( byte code, int offset, bool addEndingLines ) : IEnumerable
DisassembleToEnd ( byte code, int offset, Priority priority, bool addEndingLines ) : IEnumerable
EACodeLanguage ( string name, IPointerMaker pointerMaker, Tuple pointerList, ICodeTemplateStorer codeStorer, StringComparer stringComparer ) : System

Creates a new Event Assembler code language

GetCodeNames ( ) : string[]
IsReserved ( string word ) : bool

Checks if code should be undefinable. Do not raise errors based on this.

ToString ( ) : string

Private Methods

Méthode Description
IsValidLableName ( string label ) : bool

Method Details

Assemble() public méthode

public Assemble ( IPositionableInputStream input, BinaryWriter output ) : void
input IPositionableInputStream
output System.IO.BinaryWriter
Résultat void

Disassemble() public méthode

public Disassemble ( byte code, int offset, int length, Priority priority, bool addEndingLines ) : IEnumerable
code byte
offset int
length int
priority Priority
addEndingLines bool
Résultat IEnumerable

DisassembleChapter() public méthode

public DisassembleChapter ( byte code, int offset, bool addEndingLines ) : IEnumerable
code byte
offset int
addEndingLines bool
Résultat IEnumerable

DisassembleToEnd() public méthode

public DisassembleToEnd ( byte code, int offset, Priority priority, bool addEndingLines ) : IEnumerable
code byte
offset int
priority Priority
addEndingLines bool
Résultat IEnumerable

EACodeLanguage() public méthode

Creates a new Event Assembler code language
public EACodeLanguage ( string name, IPointerMaker pointerMaker, Tuple pointerList, ICodeTemplateStorer codeStorer, StringComparer stringComparer ) : System
name string Name of the language
pointerMaker IPointerMaker Pointer maker for this language
pointerList Tuple Pointer list of this langauge, String is the name of the /// label to point to, List are the priorities that are pointed to.
codeStorer ICodeTemplateStorer
stringComparer StringComparer
Résultat System

GetCodeNames() public méthode

public GetCodeNames ( ) : string[]
Résultat string[]

IsReserved() public méthode

Checks if code should be undefinable. Do not raise errors based on this.
public IsReserved ( string word ) : bool
word string
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string