Uses of Class
ch.usi.si.seart.treesitter.Node
-
Packages that use Node Package Description ch.usi.si.seart.treesitter -
-
Uses of Node in ch.usi.si.seart.treesitter
Methods in ch.usi.si.seart.treesitter that return Node Modifier and Type Method Description NodeNode. getChild(int child)Get the node's child at the given index, where zero represents the first child.NodeNode. getChildByFieldName(@NotNull String name)NodeOffsetTreeCursor. getCurrentNode()NodeTreeCursor. getCurrentNode()NodeNode. getDescendant(int startByte, int endByte)Get the smallest node within this node that spans the given range of bytes.NodeNode. getDescendant(@NotNull Point startPoint, @NotNull Point endPoint)Get the smallest node within this node that spans the given range of points.NodeNode. getDescendantForByteRange(int startByte, int endByte)Deprecated, for removal: This API element is subject to removal in a future version.UsegetDescendant(int, int)insteadNodeNode. getFirstChildForByte(int offset)NodeNode. getFirstNamedChildForByte(int offset)NodeNode. getNamedDescendant(int startByte, int endByte)Get the smallest named node within this node that spans the given range of bytes.NodeNode. getNamedDescendant(@NotNull Point startPoint, @NotNull Point endPoint)Get the smallest named node within this node that spans the given range of points.NodeNode. getNextNamedSibling()NodeNode. getNextSibling()NodeNode. getParent()NodeNode. getPrevNamedSibling()NodeNode. getPrevSibling()NodeTree. getRootNode()Methods in ch.usi.si.seart.treesitter that return types with arguments of type Node Modifier and Type Method Description List<Node>Node. getChildren()@NotNull Iterator<Node>Node. iterator()@NotNull Iterator<Node>Tree. iterator()Method parameters in ch.usi.si.seart.treesitter with type arguments of type Node Modifier and Type Method Description voidOffsetTreeCursor. preorderTraversal(@NotNull Consumer<Node> callback)voidTreeCursor. preorderTraversal(@NotNull Consumer<Node> callback)Iteratively traverse over the parse tree, applying a callback to the nodes before they are visited.Constructors in ch.usi.si.seart.treesitter with parameters of type Node Constructor Description OffsetTreeCursor(@NotNull Node node, @NotNull Point offset)QueryCursor(@NotNull Node node, @NotNull Query query)Deprecated, for removal: This API element is subject to removal in a future version.Usewalk(Query)insteadRange(@NotNull Node node)
-