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 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)Does this loosely contain the other range?booleanPosition. isAfter(Position position)booleanRange. isAfter(Position position)booleanPosition. isAfterOrEqual(Position position)booleanPosition. isBefore(Position position)booleanRange. isBefore(Position position)booleanPosition. isBeforeOrEqual(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)Create a new `Range` object using the given begin and end position.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)A range of characters in a source file, from "begin" to "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 PositionSourcePrinter. getCursor()Return the current cursor position (line, column) in the source printer buffer.
-