NodeWithRange

interface NodeWithRange<N>(source)

A node that has a Range, which is every Node.

Inheritors

Functions

Link copied to clipboard
open fun containsWithin(other: Node): Boolean
Link copied to clipboard
open fun containsWithinRange(other: Node): Boolean
Checks whether the range of the given Node is contained within the range of this NodeWithRange.
Link copied to clipboard
The begin position of this node in the source file.
Link copied to clipboard
open fun getEnd(): Optional<Position>
The end position of this node in the source file.
Link copied to clipboard
abstract fun getRange(): Optional<Range>
Link copied to clipboard
open fun hasRange(): Boolean
Link copied to clipboard
abstract fun setRange(range: Range): N