Class Location

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(fileName: string, lineMap: LineMap, start: number, length: number): Location

Parameters

  • fileName: string
  • lineMap: LineMap
  • start: number
  • length: number

Returns

Location

Properties

private _fileName: any

private _length: any

private _lineMap: any

private _start: any

Methods

public character(): number

Returns

number

public static equals(location1: Location, location2: Location): boolean

Parameters

Returns

boolean

public fileName(): string

Returns

string

public length(): number

Returns

number

public line(): number

Returns

number

public lineMap(): LineMap

Returns

LineMap

public start(): number

Returns

number