SourceLocation constructor

const SourceLocation(
  1. Object source,
  2. int offset
)

Create a SourceLocation object.

The source and offset properties are initialized from the given arguments.

Implementation

const SourceLocation(this.source, this.offset);