Uses of Class
io.github.treesitter.jtreesitter.Tree
-
Uses of Tree in io.github.treesitter.jtreesitter
Methods in io.github.treesitter.jtreesitter that return TreeModifier and TypeMethodDescriptionTree.clone()
Create a shallow copy of the syntax tree.Node.getTree()
Get the tree that contains this node.Methods in io.github.treesitter.jtreesitter that return types with arguments of type TreeModifier and TypeMethodDescriptionParser.parse
(ParseCallback parseCallback, InputEncoding encoding) Parse source code from a callback and create a syntax tree.Parser.parse
(ParseCallback parseCallback, InputEncoding encoding, @Nullable Tree oldTree, @Nullable Parser.Options options) Parse source code from a callback and create a syntax tree.Parser.parse
(ParseCallback parseCallback, InputEncoding encoding, Parser.Options options) 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.Methods in io.github.treesitter.jtreesitter with parameters of type TreeModifier and TypeMethodDescriptionTree.getChangedRanges
(Tree newTree) Compare an old edited syntax tree to a new syntax tree representing the same document.Parser.parse
(ParseCallback parseCallback, InputEncoding encoding, @Nullable Tree oldTree, @Nullable Parser.Options options) 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.