Class 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 Detail

      • SyntaxTreePrinter

        public SyntaxTreePrinter​(Node node,
                                 Point offset)
        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