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 Map<Capture,Collection<Node>>QueryMatch. getCaptures()Retrieves a mapping between the captures and captured nodes in this match.List<Node>Node. getChildren()Collection<Node>QueryMatch. getNodes()Retrieves all the captured nodes from this match.Collection<Node>QueryMatch. getNodes(Capture capture)Retrieves all nodes captured under a specific capture.Collection<Node>QueryMatch. getNodes(String name)Retrieves all nodes captured under a specific capture with the given name.@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)
-