Package | Description |
---|---|
com.github.javaparser | |
com.github.javaparser.ast | |
com.github.javaparser.ast.expr | |
com.github.javaparser.ast.nodeTypes | |
com.github.javaparser.ast.type |
Modifier and Type | Method and Description |
---|---|
Range |
JavaToken.getRange() |
static Range |
Range.range(int beginLine,
int beginColumn,
int endLine,
int endColumn) |
static Range |
Range.range(Position begin,
Position end) |
Range |
TokenRange.toRange() |
Range |
Range.withBegin(Position begin) |
Range |
Range.withBeginColumn(int column) |
Range |
Range.withBeginLine(int line) |
Range |
Range.withEnd(Position end) |
Range |
Range.withEndColumn(int column) |
Range |
Range.withEndLine(int line) |
Modifier and Type | Method and Description |
---|---|
boolean |
Range.contains(Range other)
As strictlyContains, but two exactly matching ranges are also considered contained one in each other.
|
boolean |
Range.strictlyContains(Range other)
Do this strictly contains other? It means that this has to be larger than other and it has to start as other
or before and end as other or after.
|
Constructor and Description |
---|
JavaToken(Range range,
int kind,
String text,
Optional<JavaToken> previousToken,
Optional<JavaToken> nextToken) |
Modifier and Type | Method and Description |
---|---|
Optional<Range> |
Node.getRange() |
Modifier and Type | Method and Description |
---|---|
Node |
Node.setRange(Range range) |
Constructor and Description |
---|
ArrayCreationExpr(Range range,
Type elementType)
Deprecated.
range shouldn't be in utility constructors.
|
Modifier and Type | Method and Description |
---|---|
Optional<Range> |
NodeWithRange.getRange() |
Modifier and Type | Method and Description |
---|---|
N |
NodeWithRange.setRange(Range range) |
Constructor and Description |
---|
TypeParameter(Range range,
SimpleName name,
NodeList<ClassOrInterfaceType> typeBound)
Deprecated.
range shouldn't be in utility constructors.
|
Copyright © 2007–2017. All rights reserved.