Location

Struct representing a location in a source file. Effectively a pair of Position within the source file.

Constructors

this
this(Position start, Position stop)
Undocumented in source.

Members

Functions

getFullLocation
auto getFullLocation(Context c)
Undocumented in source. Be warned that the author may not have intended to support it.
spanTo
void spanTo(Location end)
Undocumented in source.
spanTo
void spanTo(Position end)
Undocumented in source.

Properties

isFile
bool isFile [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isMixin
bool isMixin [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
uint length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
start
Position start [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
stop
Position stop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_start
Position _start;
Undocumented in source.
_stop
Position _stop;
Undocumented in source.

Meta