SourceLocation
SourceLocation helper type to manually construct a location.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SourceLocation(
lineValue,columnValue):SourceLocation
Parameters
Section titled “Parameters”lineValue
Section titled “lineValue”number
columnValue
Section titled “columnValue”number
Returns
Section titled “Returns”SourceLocation
Methods
Section titled “Methods”column()
Section titled “column()”column():
number
Column returns the 0-based column number of the location.
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”line()
Section titled “line()”line():
number
Line returns the 1-based line of the location.
Returns
Section titled “Returns”number