Uses of Class
io.github.treesitter.jtreesitter.Tree
-
Uses of Tree in io.github.treesitter.jtreesitter
Modifier and TypeMethodDescriptionTree.clone()
Create a shallow copy of the syntax tree.Node.getTree()
Get the tree that contains this node.Modifier and TypeMethodDescriptionParser.parse
(ParseCallback callback, InputEncoding encoding) Parse source code from a callback and create a syntax tree.Parser.parse
(ParseCallback callback, InputEncoding encoding, @Nullable Tree oldTree) Parse source code from a callback and create a syntax tree.Parse source code from a string and create a syntax tree.Parser.parse
(String source, InputEncoding encoding) Parse source code from a string and create a syntax tree.Parser.parse
(String source, InputEncoding encoding, @Nullable Tree oldTree) Parse source code from a string and create a syntax tree.Parse source code from a string and create a syntax tree.Modifier and TypeMethodDescriptionTree.getChangedRanges
(Tree newTree) Compare an old edited syntax tree to a new syntax tree representing the same document.Parser.parse
(ParseCallback callback, InputEncoding encoding, @Nullable Tree oldTree) Parse source code from a callback and create a syntax tree.Parser.parse
(String source, InputEncoding encoding, @Nullable Tree oldTree) Parse source code from a string and create a syntax tree.Parse source code from a string and create a syntax tree.