LocationTag

Represent a location.

Either a: - no location. - location with data.

Constructors

this
this(T t)

Create either a noloc instance when passed null or a location.

this
this(string file, uint line, uint column)
Undocumented in source.

Alias This

payload

Members

Enums

Kind
enum Kind
Undocumented in source.

Functions

toString
void toString(Writer w, FormatSpec!Char formatSpec)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

kind
Kind kind;

Kind stored. Only use the payload when kind is "loc".

payload
Location payload;

Meta