QDoc: Introduce CollectionInfo IR value type for collection pages
Collection pages display module identity, build system integration
details, and categorized member listings. Readers use this information
to configure CMake or qmake and discover the types a module provides.
This metadata needs a frozen, template-friendly representation.
CollectionInfo captures module metadata, type flags (C++ module, QML
module, or group), and pre-sorted member arrays. The Builder converts
CollectionData (from the extraction layer) into CollectionInfo without
any Node header dependencies. Eight Catch2 scenarios verify JSON
serialization for full C++ modules, groups, QML modules, noAutoList
suppression, individual member entries, empty state handling, and the
Document-level hasCollection flag.
Task-number: QTBUG-145116
Change-Id: I42100ee0e86075e9a27ce5856e5f8fcb96ff591f
Reviewed-by: Topi Reinio <topi.reinio@qt.io>