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>
commit4438e458cdb5a004a98b85c702fb8c35ce32d585
parentd21c157d2df48cc7a0e45d3ec9be64815c174329
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeMon, 23 Mar 2026 18:43:05 +0100