QDoc: Introduce IR::ParameterIR value type
Function synopsis rendering needs a way to represent individual
parameters as frozen data. Without a dedicated type, parameter
details (type, name, default value) would need to be encoded as
ad-hoc strings or nested JSON, making template logic brittle and
hard to test.
ParameterIR captures one function parameter as a pure value type
with JSON serialization. Optional fields are omitted from output
when empty, following the convention established by the document
IR layer.
Task-number: QTBUG-145108
Change-Id: I19596dea8e2eb205a2189e640a7c50a285bb5664
Reviewed-by: Topi Reinio <topi.reinio@qt.io>