public interface NodeWithRange<N>
Modifier and Type | Method and Description |
---|---|
default boolean |
containsWithin(Node other) |
default Optional<Position> |
getBegin()
The begin position of this node in the source file.
|
default Optional<Position> |
getEnd()
The end position of this node in the source file.
|
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) |
default boolean containsWithin(Node other)
@Deprecated default boolean isPositionedAfter(Position position)
@Deprecated default boolean isPositionedBefore(Position position)
Copyright © 2007–2018. All rights reserved.