public interface NodeWithRange<N>
Modifier and Type | Method and Description |
---|---|
default boolean |
containsWithin(Node other) |
default java.util.Optional<Position> |
getBegin()
The begin position of this node in the source file.
|
default java.util.Optional<Position> |
getEnd()
The end position of this node in the source file.
|
java.util.Optional<Range> |
getRange() |
default boolean |
isPositionedAfter(Position position)
Deprecated.
use isAfter() on range
|
default boolean |
isPositionedBefore(Position position)
Deprecated.
use isBefore() on range
|
N |
setRange(Range range) |
java.util.Optional<Range> getRange()
default java.util.Optional<Position> getBegin()
default java.util.Optional<Position> getEnd()
default boolean containsWithin(Node other)
@Deprecated default boolean isPositionedAfter(Position position)
@Deprecated default boolean isPositionedBefore(Position position)