Package ch.usi.si.seart.treesitter
Class SyntaxTreePrinter
- java.lang.Object
-
- ch.usi.si.seart.treesitter.SyntaxTreePrinter
-
@Deprecated(since="1.2.0", forRemoval=true) public class SyntaxTreePrinter extends Object
Deprecated, for removal: This API element is subject to removal in a future version.use the new implementation instead.Utility used for pretty-printing entire syntax trees, as well as their subtrees.- Since:
- 1.0.0
- Author:
- Ozren Dabić
-
-
Constructor Summary
Constructors Constructor Description SyntaxTreePrinter(Node node, Point offset)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringprintSubtree()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
printSubtree
public String printSubtree()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- A string representation of the subtree, consisting only of named nodes
- See Also:
- Syntax Tree Playground
-
-