public static IReadOnlyCollection <ISqlNode> AllNodes(this ISqlNode root) { return(root.Find(n => true)); }
public static IEnumerable <T> FindOfType <T>(this ISqlNode root) where T : class, ISqlNode { return(root.Find(n => n is T).Cast <T>()); }