Tree
A class that represents a syntax tree.
NOTE: If you're targeting Android SDK level < 33, you must use
or close the instance to free up resources.
Properties
Functions
Compare an old edited syntax tree to a new syntax tree representing the same document.
Compare an old edited syntax tree to a new syntax tree representing the same document.
Compare an old edited syntax tree to a new syntax tree representing the same document.
Compare an old edited syntax tree to a new syntax tree representing the same document.
Edit the syntax tree to keep it in sync with source code that has been modified.
Edit the syntax tree to keep it in sync with source code that has been modified.
Edit the syntax tree to keep it in sync with source code that has been modified.
Get the root node of the syntax tree, but with its position shifted forward by the given offset.
Get the root node of the syntax tree, but with its position shifted forward by the given offset.
Get the root node of the syntax tree, but with its position shifted forward by the given offset.
Get the root node of the syntax tree, but with its position shifted forward by the given offset.
Get the source code of the syntax tree, if available.
Get the source code of the syntax tree, if available.
Get the source code of the syntax tree, if available.
Get the source code of the syntax tree, if available.
Create a new tree cursor starting from the node of the tree.
Create a new tree cursor starting from the node of the tree.
Create a new tree cursor starting from the node of the tree.
Create a new tree cursor starting from the node of the tree.