Uses of Class
com.github.javaparser.Position
-
Packages that use Position Package Description com.github.javaparser com.github.javaparser.ast.nodeTypes com.github.javaparser.printer -
-
Uses of Position in com.github.javaparser
Fields in com.github.javaparser declared as Position Modifier and Type Field Description Position
Range. begin
Position
Range. end
static Position
Position. HOME
The first position in the fileMethods in com.github.javaparser that return Position Modifier and Type Method 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)
Methods in com.github.javaparser with parameters of type Position Modifier and Type Method 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)
Constructors in com.github.javaparser with parameters of type Position Constructor Description Range(Position begin, Position end)
-
Uses of Position in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type Position Modifier and Type Method Description default Optional<Position>
NodeWithRange. getBegin()
The begin position of this node in the source file.default Optional<Position>
NodeWithRange. getEnd()
The end position of this node in the source file. -
Uses of Position in com.github.javaparser.printer
Methods in com.github.javaparser.printer that return Position Modifier and Type Method Description Position
SourcePrinter. getCursor()
Return the current cursor position (line, column) in the source printer buffer.
-