Uses of Record Class
io.github.treesitter.jtreesitter.Point
-
Uses of Point in io.github.treesitter.jtreesitter
Subinterfaces with type arguments of type Point in io.github.treesitter.jtreesitterModifier and TypeInterfaceDescriptioninterface
A function that retrieves a chunk of text at a given byte offset and point.Classes in io.github.treesitter.jtreesitter that implement interfaces with type arguments of type PointModifier and TypeClassDescriptionfinal record
A position in a text document in terms of rows and columns.Fields in io.github.treesitter.jtreesitter declared as PointModifier and TypeFieldDescriptionstatic final Point
Point.MAX
The maximum value a Point can have.static final Point
Point.MIN
The minimum value a Point can have.Methods in io.github.treesitter.jtreesitter that return PointModifier and TypeMethodDescriptionRange.endPoint()
Returns the value of theendPoint
record component.Node.getEndPoint()
Get the end point of the node.Node.getStartPoint()
Get the start point of the node.InputEdit.newEndPoint()
Returns the value of thenewEndPoint
record component.InputEdit.oldEndPoint()
Returns the value of theoldEndPoint
record component.InputEdit.startPoint()
Returns the value of thestartPoint
record component.Range.startPoint()
Returns the value of thestartPoint
record component.Methods in io.github.treesitter.jtreesitter with parameters of type PointModifier and TypeMethodDescriptionint
Node.getDescendant
(Point start, Point end) Get the smallest node within this node that spans the given point range, if any.Node.getNamedDescendant
(Point start, Point end) Get the smallest named node within this node that spans the given point range, if any.Tree.getRootNodeWithOffset
(int bytes, Point extent) Get the root node of the syntax tree, but with its position shifted forward by the given offset.TreeCursor.gotoFirstChildForPoint
(Point point) Move the cursor to the first child of its current node that contains or starts after the given point.QueryCursor.setPointRange
(Point startPoint, Point endPoint) Set the range of points in which the query will be executed.Constructors in io.github.treesitter.jtreesitter with parameters of type Point