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
Subclasses of Position in com.github.javaparser Modifier and Type Class Description private static classUnicodeEscapeProcessingProvider.PositionMapping.DeltaInfoFields in com.github.javaparser declared as Position Modifier and Type Field Description PositionRange. beginPositionRange. endstatic PositionPosition. HOMEThe first position in the fileMethods in com.github.javaparser that return Position Modifier and Type Method Description PositionUnicodeEscapeProcessingProvider.LineCounter. getPosition()The current position.PositionPosition. nextLine()PositionPosition. orIfInvalid(Position anotherPosition)static PositionPosition. pos(int line, int column)Convenient factory method.PositionPosition. right(int characters)default PositionUnicodeEscapeProcessingProvider.PositionMapping.PositionUpdate. transform(Position pos)The transformed position.PositionUnicodeEscapeProcessingProvider.PositionMapping. transform(Position pos)Transforms the givenPosition.PositionPosition. withColumn(int column)PositionPosition. withLine(int line)Methods in com.github.javaparser with parameters of type Position Modifier and Type Method Description intPosition. compareTo(Position o)booleanRange. contains(Position position)As strictlyContains, but a position that matches the begin or the end of this range is also considered contained one in each other.booleanPosition. isAfter(Position position)booleanRange. isAfter(Position position)booleanPosition. isBefore(Position position)booleanRange. isBefore(Position position)UnicodeEscapeProcessingProvider.PositionMapping.PositionUpdateUnicodeEscapeProcessingProvider.PositionMapping. lookup(Position position)Looks up theUnicodeEscapeProcessingProvider.PositionMapping.PositionUpdatefor the given Position.PositionPosition. orIfInvalid(Position anotherPosition)static RangeRange. range(Position begin, Position end)booleanRange. strictlyContains(Position position)Does this strictly contain position.default PositionUnicodeEscapeProcessingProvider.PositionMapping.PositionUpdate. transform(Position pos)The transformed position.PositionUnicodeEscapeProcessingProvider.PositionMapping. transform(Position pos)Transforms the givenPosition.RangeRange. withBegin(Position begin)RangeRange. 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 java.util.Optional<Position>NodeWithRange. getBegin()The begin position of this node in the source file.default java.util.Optional<Position>NodeWithRange. getEnd()The end position of this node in the source file. -
Uses of Position in com.github.javaparser.printer
Fields in com.github.javaparser.printer declared as Position Modifier and Type Field Description private PositionSourcePrinter. cursorMethods in com.github.javaparser.printer that return Position Modifier and Type Method Description PositionSourcePrinter. getCursor()Return the current cursor position (line, column) in the source printer buffer.
-