dparsergen.core.location

Undocumented in source.

Members

Aliases

LocationAll
alias LocationAll = LocationImpl!(LocationTypeFlags.bytes | LocationTypeFlags.lines | LocationTypeFlags.lineOffset)

Location storing bytes, lines and offsets from the line beginnings.

LocationBytes
alias LocationBytes = LocationImpl!(LocationTypeFlags.bytes)

Location storing only byte positions.

Enums

LocationTypeFlags
enum LocationTypeFlags

Flags specifying at compile time what should be stored in a location.

Structs

LocationImpl
struct LocationImpl(LocationTypeFlags flags, T = int)

Implementation of location in source file, which can store different data based on compile time flags.

LocationRangeStartDiffLength
struct LocationRangeStartDiffLength(Location)

Store offset of tree from parent tree and length for tree.

LocationRangeStartEnd
struct LocationRangeStartEnd(Location)

Store start and end locations for tree.

LocationRangeStartLength
struct LocationRangeStartLength(Location)

Store start and length for tree.

Templates

isLocationRangeStartDiffLength
template isLocationRangeStartDiffLength(alias LocationRange)

Check if the location range stores the start as the offset from the parent tree.

Meta