Skip to content

⬅️ Back to Table of Contents

📄 SourceLocation.ts

📊 Analysis Summary

Metric Count
📦 Imports 1
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/base/SourceLocation.ts

📦 Imports

Name Source
Position ./Position

Interfaces

SourceLocation

Interface Code
export interface SourceLocation {
  /**
   * The position of the first character after the parsed source region
   */
  end: Position;
  /**
   * The position of the first character of the parsed source region
   */
  start: Position;
}

Properties

Name Type Optional Description
end Position
start Position