Returns a human-readable string representation of a Query AST.
O(AST size) string build; meant for logs and tooling, not hot paths.
Returns a human-readable string representation of a Query AST.