Skip to content

SourceLocation

SourceLocation helper type to manually construct a location.

new SourceLocation(lineValue, columnValue): SourceLocation

number

number

SourceLocation

column(): number

Column returns the 0-based column number of the location.

number

Location.column


line(): number

Line returns the 1-based line of the location.

number

Location.line