Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast |
Modifier and Type | Field and Description |
---|---|
Position |
Range.begin |
Position |
Range.end |
static Position |
Position.HOME
The first position in the file
|
Modifier and Type | Method and Description |
---|---|
Position |
Position.orIfInvalid(Position anotherPosition) |
static Position |
Position.pos(int line,
int column)
Convenient factory method.
|
Position |
Position.withColumn(int column) |
Position |
Position.withLine(int line) |
Modifier and Type | Method and Description |
---|---|
int |
Position.compareTo(Position o) |
boolean |
Position.isAfter(Position position) |
boolean |
Range.isAfter(Position position) |
boolean |
Position.isBefore(Position position) |
boolean |
Range.isBefore(Position position) |
Position |
Position.orIfInvalid(Position anotherPosition) |
static Range |
Range.range(Position begin,
Position end) |
Range |
Range.withBegin(Position begin) |
Range |
Range.withEnd(Position end) |
Constructor and Description |
---|
Range(Position begin,
Position end) |
Modifier and Type | Method and Description |
---|---|
Optional<Position> |
Node.getBegin()
The begin position of this node in the source file.
|
Optional<Position> |
Node.getEnd()
The end position of this node in the source file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Node.isPositionedAfter(Position position)
Deprecated.
|
boolean |
Node.isPositionedBefore(Position position)
Deprecated.
|
Copyright © 2007–2017. All rights reserved.