const class flux::Mark
Mark is used to identify a uri with an optional line and column position.
const Int? col
One based line column or null if unknown Note that fwt widgets are zero based.
Compare URIs, then lines, then columns
Equality is based on uri, line, and col.
static new fromStr(Str text)
Attempt to parse an arbitrary line of text into a mark. We attempt to match anything that looks like a absolute file name. If we match a filename, then we look for an optional line and column number no more than a few chars from the filename. This will correctly handle output from various compilers including Fantom compilers, javac, and the C# compiler. Return null if file path found.
virtual override Int hash()
Hash code is based on uri, line, and col.
const Int? line
One based line number or null if unknown. Note that fwt widgets are zero based.
new make(|This| f)
Default constructor with it-block.
virtual override Str toStr()
Return string formatted as "uri:line:col" where the line and col are optional if null.
const Uri uri := ``
Uri of the resource