LocationTag

Represent a location.

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

Using a TaggedAlgebraic to allow adding more types in the future.

Constructors

this
this(T t)

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

Alias This

payload

Members

Variables

kind
Kind kind;

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

payload
Location payload;

Meta