const class compilerDoc::DocLoc
sys::Obj
compilerDoc::DocLoc
Source
DocLoc models a filename / linenumber
-
file
-
const Str file
Source
Filename location
-
line
-
const Int line
Source
Line number or zero if unknown
-
make
-
new make(Str file, Int line)
Source
Construct with file and line number (zero if unknown)
-
toStr
-
virtual override Str toStr()
Source
Return string representation
-
unknown
-
const static DocLoc unknown := DocLoc.<ctor>("Unknown", 0)
Source