Class TreeUtils

java.lang.Object
com.api.jsonata4java.issues.TreeUtils

public class TreeUtils extends Object
  • Field Details

    • Eol

      public static final String Eol
      Platform dependent end-of-line marker
    • Indents

      public static final String Indents
      The literal indent char(s) used for pretty-printing
      See Also:
  • Method Details

    • toPrettyTree

      public static String toPrettyTree(org.antlr.v4.runtime.tree.Tree t, List<String> ruleNames)
      Pretty print out a whole tree.
      Parameters:
      t - tree to be formatted
      ruleNames - names of the rules
      Returns:
      prettified string of the tree