private static void WriteClassificationToConsole( IAnalyzableNode @class, NodesClassification classification, IChalk chalk) { foreach (var node in @class.DescendantNodesAndSelf()) { var result = classification.GetResult(node); if (result.IsArid) { chalk.Magenta($"ARID {node.Kind()}"); } else { chalk.Green($"NON-ARID {node.Kind()}"); } chalk.Default(node.GetText()); chalk.Default(Environment.NewLine + Environment.NewLine); } }