C# 클래스 Organic.ListEntry

Represents an entry in a listing output from assembling code.
파일 보기 프로젝트 열기: SirCmpwn/organic 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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