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

Event assemblers code language
ファイルを表示 Open project: Diegoisawesome/AwesomeMapEditor-old Class Usage Examples

Private Properties

Property Type Description
IsValidLableName bool

Public Methods

Method 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

Method Description
IsValidLableName ( string label ) : bool

Method Details

Assemble() public method

public Assemble ( IPositionableInputStream input, BinaryWriter output ) : void
input IPositionableInputStream
output System.IO.BinaryWriter
return void

Disassemble() public method

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

DisassembleChapter() public method

public DisassembleChapter ( byte code, int offset, bool addEndingLines ) : IEnumerable
code byte
offset int
addEndingLines bool
return IEnumerable

DisassembleToEnd() public method

public DisassembleToEnd ( byte code, int offset, Priority priority, bool addEndingLines ) : IEnumerable
code byte
offset int
priority Priority
addEndingLines bool
return IEnumerable

EACodeLanguage() public method

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
return System

GetCodeNames() public method

public GetCodeNames ( ) : string[]
return string[]

IsReserved() public method

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

ToString() public method

public ToString ( ) : string
return string