Skip to main content

Site

export interface Site {
  column: number
  description: undefined | string
  end: undefined | Pos
  file: string
  line: number
  toString(): string
  withDescription(description: string): Site
}
Source map site containing all necessary information to link a symbol in the output generated by the compiler process back to the original piece of source code.

Properties

column

column: number

description

description: undefined | string
The description is used to attach context information to UPLC symbols to provide more detailed stack traces

end

end: undefined | Pos
Optional range end of the Site

file

file: string

line

line: number

toString

toString(): string
Outputs "<file>:<line>:<column>"

withDescription

withDescription(description: string): Site
Creates a copy of the Site containing the given description