C# Class Organic.ListEntry

Represents an entry in a listing output from assembling code.
Afficher le fichier Open project: SirCmpwn/organic Class Usage Examples

Méthodes publiques

Свойство Type Description
Address ushort
Code string
CodeType CodeType
ErrorCode ErrorCode
ErrorMessage string
FileName string
LineNumber int
Listed bool
Opcode Assembler.StringMatch
Output ushort[]
Tags object>.Dictionary
ValueA Assembler.StringMatch
ValueB Assembler.StringMatch
WarningCode WarningCode
WarningMessage string

Méthodes publiques

Méthode Description
GetFriendlyErrorMessage ( ErrorCode Entry ) : string

Given an error code, this returns a user-friendly message.

GetFriendlyWarningMessage ( WarningCode Entry ) : string

Given a warningcode, this returns a user-friendly message.

ListEntry ( string LineValue, string File, int LineNumber, ushort Address ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Address, ErrorCode ErrorCode ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Address, ErrorCode ErrorCode, bool Listed ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Address, bool Listed ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, ErrorCode ErrorCode ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, ErrorCode ErrorCode, bool Listed ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, WarningCode WarningCode ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, bool Listed ) : System
ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, bool Listed, WarningCode WarningCode ) : System

Method Details

GetFriendlyErrorMessage() public static méthode

Given an error code, this returns a user-friendly message.
public static GetFriendlyErrorMessage ( ErrorCode Entry ) : string
Entry ErrorCode
Résultat string

GetFriendlyWarningMessage() public static méthode

Given a warningcode, this returns a user-friendly message.
public static GetFriendlyWarningMessage ( WarningCode Entry ) : string
Entry WarningCode
Résultat string

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address ) : System
LineValue string
File string
LineNumber int
Address ushort
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address, ErrorCode ErrorCode ) : System
LineValue string
File string
LineNumber int
Address ushort
ErrorCode ErrorCode
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address, ErrorCode ErrorCode, bool Listed ) : System
LineValue string
File string
LineNumber int
Address ushort
ErrorCode ErrorCode
Listed bool
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address, bool Listed ) : System
LineValue string
File string
LineNumber int
Address ushort
Listed bool
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, ErrorCode ErrorCode ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
ErrorCode ErrorCode
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, ErrorCode ErrorCode, bool Listed ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
ErrorCode ErrorCode
Listed bool
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, WarningCode WarningCode ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
WarningCode WarningCode
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, bool Listed ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
Listed bool
Résultat System

ListEntry() public méthode

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address, bool Listed, WarningCode WarningCode ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
Listed bool
WarningCode WarningCode
Résultat System

Property Details

Address public_oe property

The address this code is located at.
public ushort Address
Résultat ushort

Code public_oe property

The trimmed and uncommented code that was parsed.
public string Code
Résultat string

CodeType public_oe property

The type of code this line represents.
public CodeType CodeType
Résultat CodeType

ErrorCode public_oe property

The error produced by assembling this code.
public ErrorCode ErrorCode
Résultat ErrorCode

ErrorMessage public_oe property

The friendly error message. Used by plugins.
public string ErrorMessage
Résultat string

FileName public_oe property

The name of the file the code is contained in.
public string FileName
Résultat string

LineNumber public_oe property

The line number in the file the code is contained in.
public int LineNumber
Résultat int

Listed public_oe property

True if this code is listed, false if not. This changes with #nolist and #list.
public bool Listed
Résultat bool

Opcode public_oe property

The opcode matched.
public Assembler.StringMatch,Organic Opcode
Résultat Assembler.StringMatch

Output public_oe property

The assembled output.
public ushort[] Output
Résultat ushort[]

Tags public_oe property

Fill this with any data you wish in your plugins.
public Dictionary Tags
Résultat object>.Dictionary

ValueA public_oe property

The "A" value of an interpreted instruction.
public Assembler.StringMatch,Organic ValueA
Résultat Assembler.StringMatch

ValueB public_oe property

The "B" value of an interpreted instruction.
public Assembler.StringMatch,Organic ValueB
Résultat Assembler.StringMatch

WarningCode public_oe property

The warning produced by assembling this code.
public WarningCode WarningCode
Résultat WarningCode

WarningMessage public_oe property

The friendly warning message. Used by plugins.
public string WarningMessage
Résultat string