DebugInfo

Holds debug information to be associated with completed ubyte[] code.

Constructors

this
this(string src, string name)

constructor

Members

Aliases

LineData
alias LineData = Tuple!(size_t, "ip", size_t, "lineNumber")

Undocumented in source.

Functions

addLine
void addLine(size_t ip, size_t lineNumber)

Add an ip-lineNumber pair

getLineNumber
size_t getLineNumber(size_t ip)

get line associated with ip

getSourceLine
string getSourceLine(size_t lineNum)

get a line of source starting at 1 if it exists

name
string name()

name property

toString
string toString()

Undocumented in source. Be warned that the author may not have intended to support it.

Meta