builtin SourceLoc - tadashi9e/gmp4pony GitHub Wiki
Represents a location in a Pony source file, as reported by __loc.
interface val SourceLocName and path of source file.
fun box file()
: String val- String val
Name of nearest class, actor, primitive, struct, interface, or trait.
fun box type_name()
: String val- String val
Name of containing method.
fun box method_name()
: String val- String val
Line number within file. Line numbers start at 1.
fun box line()
: USize val- USize val
Character position on line. Character positions start at 1.
fun box pos()
: USize val- USize val