Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Location

Hierarchy

  • Location

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Location(line?: number, column?: number): Location
  • Parameters

    • Default value line: number = 1
    • Default value column: number = 0

    Returns Location

Properties

column

column: number

The column number of the source

line

line: number

The line number of the source

Methods

toJSON

  • toJSON(): object
  • Returns object

    • column: number
    • line: number

Generated using TypeDoc