C# Класс Organic.ListEntry

Represents an entry in a listing output from assembling code.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Описание методов

GetFriendlyErrorMessage() публичный статический Метод

Given an error code, this returns a user-friendly message.
public static GetFriendlyErrorMessage ( ErrorCode Entry ) : string
Entry ErrorCode
Результат string

GetFriendlyWarningMessage() публичный статический Метод

Given a warningcode, this returns a user-friendly message.
public static GetFriendlyWarningMessage ( WarningCode Entry ) : string
Entry WarningCode
Результат string

ListEntry() публичный Метод

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address ) : System
LineValue string
File string
LineNumber int
Address ushort
Результат System

ListEntry() публичный Метод

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address, ErrorCode ErrorCode ) : System
LineValue string
File string
LineNumber int
Address ushort
ErrorCode ErrorCode
Результат System

ListEntry() публичный Метод

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
Результат System

ListEntry() публичный Метод

public ListEntry ( string LineValue, string File, int LineNumber, ushort Address, bool Listed ) : System
LineValue string
File string
LineNumber int
Address ushort
Listed bool
Результат System

ListEntry() публичный Метод

public ListEntry ( string LineValue, string File, int LineNumber, ushort Output, ushort Address ) : System
LineValue string
File string
LineNumber int
Output ushort
Address ushort
Результат System

ListEntry() публичный Метод

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
Результат System

ListEntry() публичный Метод

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
Результат System

ListEntry() публичный Метод

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
Результат System

ListEntry() публичный Метод

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
Результат System

ListEntry() публичный Метод

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
Результат System

Описание свойств

Address публичное свойство

The address this code is located at.
public ushort Address
Результат ushort

Code публичное свойство

The trimmed and uncommented code that was parsed.
public string Code
Результат string

CodeType публичное свойство

The type of code this line represents.
public CodeType CodeType
Результат CodeType

ErrorCode публичное свойство

The error produced by assembling this code.
public ErrorCode ErrorCode
Результат ErrorCode

ErrorMessage публичное свойство

The friendly error message. Used by plugins.
public string ErrorMessage
Результат string

FileName публичное свойство

The name of the file the code is contained in.
public string FileName
Результат string

LineNumber публичное свойство

The line number in the file the code is contained in.
public int LineNumber
Результат int

Listed публичное свойство

True if this code is listed, false if not. This changes with #nolist and #list.
public bool Listed
Результат bool

Opcode публичное свойство

The opcode matched.
public Assembler.StringMatch,Organic Opcode
Результат Assembler.StringMatch

Output публичное свойство

The assembled output.
public ushort[] Output
Результат ushort[]

Tags публичное свойство

Fill this with any data you wish in your plugins.
public Dictionary Tags
Результат object>.Dictionary

ValueA публичное свойство

The "A" value of an interpreted instruction.
public Assembler.StringMatch,Organic ValueA
Результат Assembler.StringMatch

ValueB публичное свойство

The "B" value of an interpreted instruction.
public Assembler.StringMatch,Organic ValueB
Результат Assembler.StringMatch

WarningCode публичное свойство

The warning produced by assembling this code.
public WarningCode WarningCode
Результат WarningCode

WarningMessage публичное свойство

The friendly warning message. Used by plugins.
public string WarningMessage
Результат string