QDoc: Add SignatureSpan IR value type for structured signatures


Signatures in the template generator are currently represented as
plain strings or CodeMarker-tagged strings. Neither form carries
semantic knowledge about which parts are types, names, parameters,
or qualifiers, forcing generators to either parse tags at render
time or lose that information entirely.

SignatureSpan captures this knowledge directly as a pure value type
with nine semantic roles, JSON serialization using kebab-case role
identifiers, recursive plainText() extraction, and nested children
for template declarations.

Task-number: QTBUG-145121
Change-Id: I40bf368dc83bd42af064d49ae758de40c9258c95
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit4c3943ce7f490460bd454096e04d7e51751d2810
parent589fac6f776c656ea80318c5a1f646f7486cf9b3
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 8 Apr 2026 10:15:51 +0100