+const DumpTree::Colors DumpTree::no_colors =
+{ "", "", "", "", "", "", "" };
+
+const DumpTree::Colors DumpTree::default_colors =
+{
+ "\033[0m", // default
+ "\033[38;5;250m", // tree
+ "\033[38;5;244m", // location
+ "\033[38;5;146m", // label
+ "\033[38;5;194m", // type
+ "\033[38;5;230m", // name
+ "\033[38;5;210m" // error
+};
+
+DumpTree::DumpTree(bool use_colors):
+ colors(use_colors ? default_colors : no_colors)
+{ }
+
+string DumpTree::apply(Stage &stage)