Skip to main content
Version: v0.0.2

Interface: GemMap

A loaded, immutable GEM map. Entries are keyed by source code (a source may have many entries - the maps are 1:many). Applied only in its direction; never inverted.

Properties

count

readonly count: number

The number of loaded entries.


direction

readonly direction: GemDirection

Which direction this file maps. Applied only this way.


entries

readonly entries: ReadonlyMap<string, readonly GemEntry[]>

Entries keyed by source code, each list in file order. Read-only; frozen.


version?

readonly optional version?: string

The GEM version/release (e.g. "2018"), when supplied - mappings are release-scoped.


warnings

readonly warnings: readonly GemLoadWarning[]

The skipped-row warnings surfaced during load, in line order. Frozen; may be empty.