addLocation method

void addLocation(
  1. SourceLocation source,
  2. SourceLocation target,
  3. String? identifier
)

Adds an entry mapping target to source.

Implementation

void addLocation(
    SourceLocation source, SourceLocation target, String? identifier) {
  _entries.add(Entry(source, target, identifier));
}