Range class
Range class
Constructors
Range(number, number, number, number) | Creates a new instance of the Range class. |
Range(Position, Position) | Creates a new instance of the Range class. |
Properties
Default |
|
end | |
start |
Methods
to |
Constructor Details
Range(number, number, number, number)
Creates a new instance of the Range class.
new Range(startLine: number, startChar: number, endLine: number, endChar: number)
Parameters
- startLine
-
number
- startChar
-
number
- endLine
-
number
Ending line number in a file.
- endChar
-
number
Ending character number in the end line.
Range(Position, Position)
Property Details
DefaultRange
end
start
Method Details
toString()
function toString(): string
Returns
string