Skip to content

Class: SourceLocation

Source location information

Constructors

Constructor

new SourceLocation(line, column): SourceLocation

Parameters

ParameterType
linenumber
columnnumber

Returns

SourceLocation

Properties

PropertyType
columnnumber
linenumber

Methods

toJSON()

toJSON(): object

Returns

object

column

column: number

line

line: number

type

type: string = "SourceLocation"