diff --git a/docs/modules/ROOT/attachments/schemas/generators/mrdocs.rng b/docs/modules/ROOT/attachments/schemas/generators/mrdocs.rng index 766b8b912aa..55e0f6315e2 100644 --- a/docs/modules/ROOT/attachments/schemas/generators/mrdocs.rng +++ b/docs/modules/ROOT/attachments/schemas/generators/mrdocs.rng @@ -6,107 +6,107 @@ namespaceclass class function - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/modules/ROOT/attachments/schemas/generators/mrdocs.schema.json b/docs/modules/ROOT/attachments/schemas/generators/mrdocs.schema.json index 2ad8dc56d96..6c6b4d05482 100644 --- a/docs/modules/ROOT/attachments/schemas/generators/mrdocs.schema.json +++ b/docs/modules/ROOT/attachments/schemas/generators/mrdocs.schema.json @@ -4,110 +4,110 @@ "title": "MrDocs DOM (symbols)", "type": "object", "additionalProperties": true, - "properties": {"symbols": {"type":"array","items":{"anyOf":[{"$ref":"#/$defs/S_248GJRqqz5PAQuAWsyXn1pQuWx3E"},{"$ref":"#/$defs/S_2Xkgao8w8t8MjUqnNshnkhxyMi9T"},{"$ref":"#/$defs/S_3nTJb96fy9g6ssFkdkAk5QrPLf35"},{"$ref":"#/$defs/S_3GRinmcpNbjJrdhDwQQjEQKftkdN"},{"$ref":"#/$defs/S_4S9wMxtqUkTuiH4sVrDV2dfyDKeY"},{"$ref":"#/$defs/S_3VkP8Cc538w7uVhJwSJQAD4JoCEW"},{"$ref":"#/$defs/S_3uXaENe5YtJ3Psdk5DWiEpk6EWW7"},{"$ref":"#/$defs/S_3iXFbmpHvfXW6cWSrurrZn1crniH"},{"$ref":"#/$defs/S_3RetZmth15AEcRz1z5SmiGRUfU4A"},{"$ref":"#/$defs/S_3y5JDE9r9j4nZ6dXspHAYKQKKUKA"},{"$ref":"#/$defs/S_2FxZMKCnhX4HAsQKXC42UcR7i5HV"},{"$ref":"#/$defs/S_KLR34ysoGNtvC1oo8ynG3KWyz6M"},{"$ref":"#/$defs/S_2uvmkCgPtfGDLy5inxdXu8YwwAbD"}]}}}, - "$defs": { - "AnySymbol": {"anyOf":[{"$ref":"#/$defs/S_248GJRqqz5PAQuAWsyXn1pQuWx3E"},{"$ref":"#/$defs/S_2Xkgao8w8t8MjUqnNshnkhxyMi9T"},{"$ref":"#/$defs/S_3nTJb96fy9g6ssFkdkAk5QrPLf35"},{"$ref":"#/$defs/S_3GRinmcpNbjJrdhDwQQjEQKftkdN"},{"$ref":"#/$defs/S_4S9wMxtqUkTuiH4sVrDV2dfyDKeY"},{"$ref":"#/$defs/S_3VkP8Cc538w7uVhJwSJQAD4JoCEW"},{"$ref":"#/$defs/S_3uXaENe5YtJ3Psdk5DWiEpk6EWW7"},{"$ref":"#/$defs/S_3iXFbmpHvfXW6cWSrurrZn1crniH"},{"$ref":"#/$defs/S_3RetZmth15AEcRz1z5SmiGRUfU4A"},{"$ref":"#/$defs/S_3y5JDE9r9j4nZ6dXspHAYKQKKUKA"},{"$ref":"#/$defs/S_2FxZMKCnhX4HAsQKXC42UcR7i5HV"},{"$ref":"#/$defs/S_KLR34ysoGNtvC1oo8ynG3KWyz6M"},{"$ref":"#/$defs/S_2uvmkCgPtfGDLy5inxdXu8YwwAbD"}]}, - "AnyType": {"anyOf":[{"$ref":"#/$defs/S_CooZ5ZN8raHXthhiu4c1D8kkatT"},{"$ref":"#/$defs/S_23x8LwWPNF477Wq7ve7gAxUFPVsW"},{"$ref":"#/$defs/S_B4rugiqV7c9opu5rtNTeZWTNePy"},{"$ref":"#/$defs/S_22SqcARFDMXMq8FG3uC99YUtad4q"},{"$ref":"#/$defs/S_4EBJx8iZSM54K1bz8DpjJsgJZzhw"},{"$ref":"#/$defs/S_ss4rembmz2x6KFmv3aCheG45vDs"},{"$ref":"#/$defs/S_3pR549wW3SZy9nBZvsSCLiNSuTsk"},{"$ref":"#/$defs/S_4Lou3Y5gge2Zb64p4Ds8b9mER2tV"},{"$ref":"#/$defs/S_41p3VLa1s97fNzPnCAEusEVLkZY4"}]}, - "AnyName": {"anyOf":[{"$ref":"#/$defs/S_4G5wFvmxqHfaMUDjfXdzgCR6JVut"},{"$ref":"#/$defs/S_3Cmgy3rwGp9hHtmvepV26XNyp2eU"}]}, - "AnyAttribute": {"anyOf":[{"$ref":"#/$defs/S_3G2NvZfw2gtmwKQDnoEWFgSdc8Mh"},{"$ref":"#/$defs/S_2KReHQPS19PvwidHBJhhpvZDZY37"},{"$ref":"#/$defs/S_3eaLHQFJs5YVZhKoybByviBARQvX"},{"$ref":"#/$defs/S_4S91GpjhUCLRW55DjmE3djvPR1kp"},{"$ref":"#/$defs/S_4Hibr4twAxfRabTyKHEAvcCwnwD2"},{"$ref":"#/$defs/S_3PkCpb7wswf8xVg5cQfLowBrKvrm"},{"$ref":"#/$defs/S_3gp7QBKSP46MiuFXzoNPWxavWqXV"},{"$ref":"#/$defs/S_417PopWNyit6tSoFieuWB5EwpFPh"},{"$ref":"#/$defs/S_67DbpfPqTtXz1yzRRPDC2sCNM6F"},{"$ref":"#/$defs/S_2xfSkMTDkXGS9MvoUfnMSuKaZEYK"},{"$ref":"#/$defs/S_3M1AayLaUCDxAGawZ4dssYewQYiV"},{"$ref":"#/$defs/S_GW6p4ZQnq9BEoFqLGCMLMAoukp1"}]}, - "AnyTArg": {"anyOf":[{"$ref":"#/$defs/S_3q5et1cbN1e2z4YJVDiWn5mPiJNZ"},{"$ref":"#/$defs/S_3Yo7DjcG5MH73HKEmmiuoHmUMPi"},{"$ref":"#/$defs/S_24BxsY5UUUYKRFi2FVP7MGgELiQe"}]}, - "AnyTParam": {"anyOf":[{"$ref":"#/$defs/S_36CooAPEud9PpRnk21VG2Yt6W8ui"},{"$ref":"#/$defs/S_35QXCpK2kqeU1vUvgqeu7a6GwXDV"},{"$ref":"#/$defs/S_2YdUUgi7Nxrqmi2QdfbEY4u7Mjxr"}]}, - "AnyBlock": {"anyOf":[{"$ref":"#/$defs/S_3wp8BaqU6w5RWCz2FoYR7gfsBCwx"},{"$ref":"#/$defs/S_446qpUQXb12ABhZ6uE8VonjMj9Qu"},{"$ref":"#/$defs/S_3xd4mjdX2muy6Eg2zpinBvf7DEUQ"},{"$ref":"#/$defs/S_35QDDJmU2E9qz1a4pkD7cgcFoMCS"},{"$ref":"#/$defs/S_3fZPVg6wujkvV7zvSpeTqwqCeF38"},{"$ref":"#/$defs/S_wM1xnFbeYCjQqUDWqT1T9nGqBZq"},{"$ref":"#/$defs/S_2NrTC6VyaPevbjToJB8ghtSjvY7u"},{"$ref":"#/$defs/S_VQmPXZqAPfYgYRpE9yvGZvsHm67"},{"$ref":"#/$defs/S_2doMXC1gQwhU9zzCprA3oHmJXTFv"},{"$ref":"#/$defs/S_2NF7jwvHkRPF2reiVEM4gJccj545"},{"$ref":"#/$defs/S_T3kgfxqfUMzhUz5h7XVNYrAHEF8"},{"$ref":"#/$defs/S_7Yu4kPsfvGeJRwzCUA25HSLXUdx"},{"$ref":"#/$defs/S_3zRJY1f8qDmy3BXJc745mGsPMFsV"},{"$ref":"#/$defs/S_rgt8UYxWrDtHfPj9FPkwJpjansL"},{"$ref":"#/$defs/S_2vUz5muVFxUv2Lect1vXuyaNJTe9"},{"$ref":"#/$defs/S_21EdS1EVSJuD9X76CVhzhLTLg1fi"},{"$ref":"#/$defs/S_2uDafuBsm6spawBtX2fFC6EYXDAj"},{"$ref":"#/$defs/S_258ZTjgdQT26QzdYxiERZBLAzXwb"},{"$ref":"#/$defs/S_3xtES3eRD7BE9L5Jb3ezVkmx6PEU"}]}, - "AnyInline": {"anyOf":[{"$ref":"#/$defs/S_4XSYTUdzNUv32jxxRjBJqUrUtidR"},{"$ref":"#/$defs/S_3pAujBRu22aoaV8Ny8c8cbnDUxKt"},{"$ref":"#/$defs/S_4Vp9y8mhpo6rkDYeUKmVDkrDRTy6"},{"$ref":"#/$defs/S_38ezs7Du5fTH61PdTZv8mK6qXtuQ"},{"$ref":"#/$defs/S_3BsVGj7xHvJW7DqNDHyJ9g2i2UZf"},{"$ref":"#/$defs/S_4LB4PEZzqfEQa3cUbTi1xf6qEmRN"},{"$ref":"#/$defs/S_2bdz8onDMx7PBYnExqtLgMxUqrPY"},{"$ref":"#/$defs/S_pbDQ6katbvPedvuztLHCiRNi4G8"},{"$ref":"#/$defs/S_3PrdQDrzihPKEMMq8ZtDjd69UoMf"},{"$ref":"#/$defs/S_2yM1iLKZLVpSpfu7Dq5sFaDfnwLa"},{"$ref":"#/$defs/S_22nFJc2hmNmmR5h1kq6NkgViKdEM"},{"$ref":"#/$defs/S_CJPbC4NwrPJeuv6wSnDmgGcZcQc"},{"$ref":"#/$defs/S_28xEnXQadr6mJnmktXwag2oH9muy"},{"$ref":"#/$defs/S_3pokSaXJdAim8xq2QJ2Ua1J3CvvL"},{"$ref":"#/$defs/S_3LXYEAXUPBpotEa55hyCSdkhdpJa"},{"$ref":"#/$defs/S_33ca9ghnvRYDe1iBsZm8YkZnw5gp"}]}, - "S_248GJRqqz5PAQuAWsyXn1pQuWx3E": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"constraint":{"type":"string"},"template":{"$ref":"#/$defs/S_3SkP7bvhgkgFYg643LSM2J8N7wsH"}}}, - "S_2Xkgao8w8t8MjUqnNshnkhxyMi9T": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"initializer":{"$ref":"#/$defs/S_hSncwF1f6M5oku6bmZzyL6fWaUV"}}}, - "S_3nTJb96fy9g6ssFkdkAk5QrPLf35": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"constants":{"type":"array","items":{"type":"string"}},"scoped":{"type":"boolean"},"underlyingType":{"$ref":"#/$defs/AnyType"}}}, - "S_3GRinmcpNbjJrdhDwQQjEQKftkdN": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"constexpr":{"type":"string"},"explicit":{"$ref":"#/$defs/S_3hbRRedVP5CLYkrYh5eoEJTPg9t8"},"funcClass":{"type":"string"},"functionObjectImpl":{"type":"string"},"hasOverrideAttr":{"type":"boolean"},"hasTrailingReturn":{"type":"boolean"},"isConst":{"type":"boolean"},"isDefaulted":{"type":"boolean"},"isDeleted":{"type":"boolean"},"isDeletedAsWritten":{"type":"boolean"},"isExplicitObjectMemberFunction":{"type":"boolean"},"isExplicitlyDefaulted":{"type":"boolean"},"isFinal":{"type":"boolean"},"isListedOnPrimary":{"type":"boolean"},"isPure":{"type":"boolean"},"isRecordMethod":{"type":"boolean"},"isVariadic":{"type":"boolean"},"isVirtual":{"type":"boolean"},"isVirtualAsWritten":{"type":"boolean"},"isVolatile":{"type":"boolean"},"noexcept":{"$ref":"#/$defs/S_3kHjD3UFMpjBfLBWRmD99J3jkecD"},"overloadedOperator":{"type":"string"},"params":{"type":"array","items":{"$ref":"#/$defs/S_34isqM1c93Zt8XyKuovAbJuLdBDH"}},"refQualifier":{"type":"string"},"requires":{"type":"string"},"returnType":{"$ref":"#/$defs/AnyType"},"specializations":{"type":"array","items":{"type":"string"}},"storageClass":{"type":"string"},"template":{"$ref":"#/$defs/S_3SkP7bvhgkgFYg643LSM2J8N7wsH"}}}, - "S_4S9wMxtqUkTuiH4sVrDV2dfyDKeY": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"deduced":{"$ref":"#/$defs/AnyType"},"explicit":{"$ref":"#/$defs/S_3hbRRedVP5CLYkrYh5eoEJTPg9t8"},"params":{"type":"array","items":{"$ref":"#/$defs/S_34isqM1c93Zt8XyKuovAbJuLdBDH"}},"template":{"$ref":"#/$defs/S_3SkP7bvhgkgFYg643LSM2J8N7wsH"}}}, - "S_3VkP8Cc538w7uVhJwSJQAD4JoCEW": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"isFunctionLike":{"type":"boolean"},"isVariadic":{"type":"boolean"},"parameters":{"type":"array","items":{"type":"string"}}}}, - "S_3uXaENe5YtJ3Psdk5DWiEpk6EWW7": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"aliasedSymbol":{"$ref":"#/$defs/S_4G5wFvmxqHfaMUDjfXdzgCR6JVut"}}}, - "S_3iXFbmpHvfXW6cWSrurrZn1crniH": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isInline":{"type":"boolean"},"members":{"$ref":"#/$defs/S_41n4FdCfRcJ5VsCAQqTn6zoCWZRj"},"usingDirectives":{"type":"array","items":{"$ref":"#/$defs/AnyName"}}}}, - "S_3RetZmth15AEcRz1z5SmiGRUfU4A": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"funcClass":{"type":"string"},"members":{"type":"array","items":{"type":"string"}},"overloadedOperator":{"type":"string"},"returnType":{"$ref":"#/$defs/AnyType"}}}, - "S_3y5JDE9r9j4nZ6dXspHAYKQKKUKA": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"bases":{"type":"array","items":{"$ref":"#/$defs/S_uN6jGRjtRQZZAx1TYE6eqXpXyBn"}},"deductionGuides":{"type":"array","items":{"type":"string"}},"derived":{"type":"array","items":{"type":"string"}},"friends":{"type":"array","items":{"$ref":"#/$defs/S_2srktakKnME5JkGXzTu3dM2QBZpp"}},"interface":{"$ref":"#/$defs/S_3GgnGhR9zXAfKd22AXMijQ5W9Cgt"},"isFinal":{"type":"boolean"},"isFinalDestructor":{"type":"boolean"},"isListedOnPrimary":{"type":"boolean"},"isTypeDef":{"type":"boolean"},"keyKind":{"type":"string"},"specializations":{"type":"array","items":{"type":"string"}},"template":{"$ref":"#/$defs/S_3SkP7bvhgkgFYg643LSM2J8N7wsH"}}}, - "S_2FxZMKCnhX4HAsQKXC42UcR7i5HV": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"isUsing":{"type":"boolean"},"template":{"$ref":"#/$defs/S_3SkP7bvhgkgFYg643LSM2J8N7wsH"},"type":{"$ref":"#/$defs/AnyType"}}}, - "S_KLR34ysoGNtvC1oo8ynG3KWyz6M": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"class":{"type":"string"},"introducedName":{"$ref":"#/$defs/AnyName"},"shadowDeclarations":{"type":"array","items":{"type":"string"}}}}, - "S_2uvmkCgPtfGDLy5inxdXu8YwwAbD": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/$defs/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/$defs/S_4XvWqjXW5SrCTi1PE9gmSioCnfrY"},"id":{"type":"string"},"bitfieldWidth":{"$ref":"#/$defs/S_hSncwF1f6M5oku6bmZzyL6fWaUV"},"initializer":{"type":"string"},"isBitfield":{"type":"boolean"},"isConstexpr":{"type":"boolean"},"isConstinit":{"type":"boolean"},"isInline":{"type":"boolean"},"isMutable":{"type":"boolean"},"isRecordField":{"type":"boolean"},"isThreadLocal":{"type":"boolean"},"isVariant":{"type":"boolean"},"storageClass":{"type":"string"},"template":{"$ref":"#/$defs/S_3SkP7bvhgkgFYg643LSM2J8N7wsH"},"type":{"$ref":"#/$defs/AnyType"}}}, - "S_CooZ5ZN8raHXthhiu4c1D8kkatT": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"bounds":{"$ref":"#/$defs/S_hSncwF1f6M5oku6bmZzyL6fWaUV"},"elementType":{"$ref":"#/$defs/AnyType"}}}, - "S_23x8LwWPNF477Wq7ve7gAxUFPVsW": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"constraint":{"$ref":"#/$defs/AnyName"},"keyword":{"type":"string"}}}, - "S_B4rugiqV7c9opu5rtNTeZWTNePy": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"operand":{"type":"string"}}}, - "S_22SqcARFDMXMq8FG3uC99YUtad4q": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"exceptionSpec":{"$ref":"#/$defs/S_3kHjD3UFMpjBfLBWRmD99J3jkecD"},"isVariadic":{"type":"boolean"},"paramTypes":{"type":"array","items":{"$ref":"#/$defs/AnyType"}},"refQualifier":{"type":"string"},"returnType":{"$ref":"#/$defs/AnyType"}}}, - "S_4EBJx8iZSM54K1bz8DpjJsgJZzhw": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"pointeeType":{"$ref":"#/$defs/AnyType"}}}, - "S_ss4rembmz2x6KFmv3aCheG45vDs": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"parentType":{"$ref":"#/$defs/AnyType"},"pointeeType":{"$ref":"#/$defs/AnyType"}}}, - "S_3pR549wW3SZy9nBZvsSCLiNSuTsk": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"fundamentalType":{"type":"string"},"name":{"$ref":"#/$defs/AnyName"}}}, - "S_4Lou3Y5gge2Zb64p4Ds8b9mER2tV": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"pointeeType":{"$ref":"#/$defs/AnyType"}}}, - "S_41p3VLa1s97fNzPnCAEusEVLkZY4": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"pointeeType":{"$ref":"#/$defs/AnyType"}}}, - "S_4G5wFvmxqHfaMUDjfXdzgCR6JVut": {"type":"object","additionalProperties":true,"properties":{"identifier":{"type":"string"},"kind":{"type":"string"},"prefix":{"$ref":"#/$defs/AnyName"},"id":{"type":"string"}}}, - "S_3Cmgy3rwGp9hHtmvepV26XNyp2eU": {"type":"object","additionalProperties":true,"properties":{"identifier":{"type":"string"},"kind":{"type":"string"},"prefix":{"$ref":"#/$defs/AnyName"},"id":{"type":"string"},"templateArgs":{"type":"array","items":{"$ref":"#/$defs/AnyTArg"}},"specializationID":{"type":"string"}}}, - "S_3G2NvZfw2gtmwKQDnoEWFgSdc8Mh": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}},"expression":{"type":"string"}}}, - "S_2KReHQPS19PvwidHBJhhpvZDZY37": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_3eaLHQFJs5YVZhKoybByviBARQvX": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}}, - "S_4S91GpjhUCLRW55DjmE3djvPR1kp": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_4Hibr4twAxfRabTyKHEAvcCwnwD2": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_3PkCpb7wswf8xVg5cQfLowBrKvrm": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_3gp7QBKSP46MiuFXzoNPWxavWqXV": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_417PopWNyit6tSoFieuWB5EwpFPh": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_67DbpfPqTtXz1yzRRPDC2sCNM6F": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"}}}, - "S_2xfSkMTDkXGS9MvoUfnMSuKaZEYK": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_3M1AayLaUCDxAGawZ4dssYewQYiV": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_GW6p4ZQnq9BEoFqLGCMLMAoukp1": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, - "S_3q5et1cbN1e2z4YJVDiWn5mPiJNZ": {"type":"object","additionalProperties":true,"properties":{"isPackExpansion":{"type":"boolean"},"kind":{"type":"string"},"value":{"type":"string"}}}, - "S_3Yo7DjcG5MH73HKEmmiuoHmUMPi": {"type":"object","additionalProperties":true,"properties":{"isPackExpansion":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"template":{"type":"string"}}}, - "S_24BxsY5UUUYKRFi2FVP7MGgELiQe": {"type":"object","additionalProperties":true,"properties":{"isPackExpansion":{"type":"boolean"},"kind":{"type":"string"},"type":{"$ref":"#/$defs/AnyType"}}}, - "S_36CooAPEud9PpRnk21VG2Yt6W8ui": {"type":"object","additionalProperties":true,"properties":{"default":{"$ref":"#/$defs/AnyTArg"},"isParameterPack":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/$defs/AnyType"}}}, - "S_35QXCpK2kqeU1vUvgqeu7a6GwXDV": {"type":"object","additionalProperties":true,"properties":{"default":{"$ref":"#/$defs/AnyTArg"},"isParameterPack":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"params":{"type":"array","items":{"$ref":"#/$defs/AnyTParam"}}}}, - "S_2YdUUgi7Nxrqmi2QdfbEY4u7Mjxr": {"type":"object","additionalProperties":true,"properties":{"default":{"$ref":"#/$defs/AnyTArg"},"isParameterPack":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"constraint":{"$ref":"#/$defs/AnyName"},"keyKind":{"type":"string"}}}, - "S_3wp8BaqU6w5RWCz2FoYR7gfsBCwx": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/$defs/AnyBlock"}},"title":{"$ref":"#/$defs/AnyInline"},"admonish":{"type":"string"}}}, - "S_446qpUQXb12ABhZ6uE8VonjMj9Qu": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"copiedFrom":{"type":"array","items":{"type":"string"}}}}, - "S_3xd4mjdX2muy6Eg2zpinBvf7DEUQ": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"info":{"type":"string"},"literal":{"type":"string"}}}, - "S_35QDDJmU2E9qz1a4pkD7cgcFoMCS": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/$defs/S_3x8w4Wzn5h5C8hgDYc3ktkN4QCsa"}}}}, - "S_3fZPVg6wujkvV7zvSpeTqwqCeF38": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/$defs/AnyBlock"}},"label":{"type":"string"}}}, - "S_wM1xnFbeYCjQqUDWqT1T9nGqBZq": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"level":{"type":"integer"}}}, - "S_2NrTC6VyaPevbjToJB8ghtSjvY7u": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/$defs/S_FAWDsbUun6rTwhkn6k1ErTNQZEy"}},"listKind":{"type":"string"}}}, - "S_VQmPXZqAPfYgYRpE9yvGZvsHm67": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"literal":{"type":"string"}}}, - "S_2doMXC1gQwhU9zzCprA3oHmJXTFv": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_2NF7jwvHkRPF2reiVEM4gJccj545": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"direction":{"type":"string"},"name":{"type":"string"}}}, - "S_T3kgfxqfUMzhUz5h7XVNYrAHEF8": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_7Yu4kPsfvGeJRwzCUA25HSLXUdx": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_3zRJY1f8qDmy3BXJc745mGsPMFsV": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/$defs/AnyBlock"}}}}, - "S_rgt8UYxWrDtHfPj9FPkwJpjansL": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_2vUz5muVFxUv2Lect1vXuyaNJTe9": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_21EdS1EVSJuD9X76CVhzhLTLg1fi": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"name":{"type":"string"}}}, - "S_2uDafuBsm6spawBtX2fFC6EYXDAj": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"alignments":{"type":"array"},"items":{"type":"array","items":{"$ref":"#/$defs/S_496ezmxk5xE51TCZ9HJcNtCVgSnx"}}}}, - "S_258ZTjgdQT26QzdYxiERZBLAzXwb": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"}}}, - "S_3xtES3eRD7BE9L5Jb3ezVkmx6PEU": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"exception":{"$ref":"#/$defs/S_2yM1iLKZLVpSpfu7Dq5sFaDfnwLa"}}}, - "S_4XSYTUdzNUv32jxxRjBJqUrUtidR": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_3pAujBRu22aoaV8Ny8c8cbnDUxKt": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"id":{"type":"string"},"string":{"type":"string"}}}, - "S_4Vp9y8mhpo6rkDYeUKmVDkrDRTy6": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_38ezs7Du5fTH61PdTZv8mK6qXtuQ": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"label":{"type":"string"}}}, - "S_3BsVGj7xHvJW7DqNDHyJ9g2i2UZf": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_4LB4PEZzqfEQa3cUbTi1xf6qEmRN": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"alt":{"type":"string"},"src":{"type":"string"}}}, - "S_2bdz8onDMx7PBYnExqtLgMxUqrPY": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"}}}, - "S_pbDQ6katbvPedvuztLHCiRNi4G8": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}},"href":{"type":"string"}}}, - "S_3PrdQDrzihPKEMMq8ZtDjd69UoMf": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"literal":{"type":"string"}}}, - "S_2yM1iLKZLVpSpfu7Dq5sFaDfnwLa": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"id":{"type":"string"},"literal":{"type":"string"}}}, - "S_22nFJc2hmNmmR5h1kq6NkgViKdEM": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"}}}, - "S_CJPbC4NwrPJeuv6wSnDmgGcZcQc": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_28xEnXQadr6mJnmktXwag2oH9muy": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_3pokSaXJdAim8xq2QJ2Ua1J3CvvL": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_3LXYEAXUPBpotEa55hyCSdkhdpJa": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_33ca9ghnvRYDe1iBsZm8YkZnw5gp": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"literal":{"type":"string"}}}, - "S_2iwhBD9yrnr61QH8uxQznmfDVYNH": {"type":"object","additionalProperties":true,"properties":{"defLoc":{"$ref":"#/$defs/S_3Y5LQ7zbvenCatbqSpyj9J7Qcoo2"},"loc":{"type":"array","items":{"$ref":"#/$defs/S_3Y5LQ7zbvenCatbqSpyj9J7Qcoo2"}}}}, - "S_4XvWqjXW5SrCTi1PE9gmSioCnfrY": {"type":"object","additionalProperties":true,"properties":{"document":{"type":"array","items":{"$ref":"#/$defs/AnyBlock"}},"isFunctionObject":{"type":"boolean"},"isImplementationDefined":{"type":"boolean"},"isSeeBelow":{"type":"boolean"},"brief":{"$ref":"#/$defs/S_446qpUQXb12ABhZ6uE8VonjMj9Qu"},"exceptions":{"type":"array","items":{"$ref":"#/$defs/S_3xtES3eRD7BE9L5Jb3ezVkmx6PEU"}},"footnotes":{"type":"array","items":{"$ref":"#/$defs/S_3fZPVg6wujkvV7zvSpeTqwqCeF38"}},"params":{"type":"array","items":{"$ref":"#/$defs/S_2NF7jwvHkRPF2reiVEM4gJccj545"}},"postconditions":{"type":"array","items":{"$ref":"#/$defs/S_T3kgfxqfUMzhUz5h7XVNYrAHEF8"}},"preconditions":{"type":"array","items":{"$ref":"#/$defs/S_7Yu4kPsfvGeJRwzCUA25HSLXUdx"}},"related":{"type":"array","items":{"$ref":"#/$defs/S_2yM1iLKZLVpSpfu7Dq5sFaDfnwLa"}},"relates":{"type":"array","items":{"$ref":"#/$defs/S_2yM1iLKZLVpSpfu7Dq5sFaDfnwLa"}},"returns":{"type":"array","items":{"$ref":"#/$defs/S_rgt8UYxWrDtHfPj9FPkwJpjansL"}},"sees":{"type":"array","items":{"$ref":"#/$defs/S_2vUz5muVFxUv2Lect1vXuyaNJTe9"}},"tparams":{"type":"array","items":{"$ref":"#/$defs/S_21EdS1EVSJuD9X76CVhzhLTLg1fi"}}}}, - "S_3SkP7bvhgkgFYg643LSM2J8N7wsH": {"type":"object","additionalProperties":true,"properties":{"args":{"type":"array","items":{"$ref":"#/$defs/AnyTArg"}},"params":{"type":"array","items":{"$ref":"#/$defs/AnyTParam"}},"primary":{"type":"string"},"requires":{"type":"string"}}}, - "S_hSncwF1f6M5oku6bmZzyL6fWaUV": {"type":"object","additionalProperties":true,"properties":{"written":{"type":"string"},"value":{}}}, - "S_3hbRRedVP5CLYkrYh5eoEJTPg9t8": {"type":"object","additionalProperties":true,"properties":{"implicit":{"type":"boolean"},"kind":{"type":"string"},"operand":{"type":"string"}}}, - "S_3kHjD3UFMpjBfLBWRmD99J3jkecD": {"type":"object","additionalProperties":true,"properties":{"implicit":{"type":"boolean"},"kind":{"type":"string"},"operand":{"type":"string"}}}, - "S_34isqM1c93Zt8XyKuovAbJuLdBDH": {"type":"object","additionalProperties":true,"properties":{"default":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/$defs/AnyType"}}}, - "S_41n4FdCfRcJ5VsCAQqTn6zoCWZRj": {"type":"object","additionalProperties":true,"properties":{"concepts":{"type":"array","items":{"type":"string"}},"enums":{"type":"array","items":{"type":"string"}},"functions":{"type":"array","items":{"type":"string"}},"guides":{"type":"array","items":{"type":"string"}},"macros":{"type":"array","items":{"type":"string"}},"namespaceAliases":{"type":"array","items":{"type":"string"}},"namespaces":{"type":"array","items":{"type":"string"}},"records":{"type":"array","items":{"type":"string"}},"typedefs":{"type":"array","items":{"type":"string"}},"usings":{"type":"array","items":{"type":"string"}},"variables":{"type":"array","items":{"type":"string"}}}}, - "S_uN6jGRjtRQZZAx1TYE6eqXpXyBn": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"isVirtual":{"type":"boolean"},"loc":{"$ref":"#/$defs/S_2iwhBD9yrnr61QH8uxQznmfDVYNH"},"type":{"$ref":"#/$defs/AnyType"}}}, - "S_2srktakKnME5JkGXzTu3dM2QBZpp": {"type":"object","additionalProperties":true,"properties":{"type":{"$ref":"#/$defs/AnyType"},"id":{"type":"string"}}}, - "S_3GgnGhR9zXAfKd22AXMijQ5W9Cgt": {"type":"object","additionalProperties":true,"properties":{"private":{"$ref":"#/$defs/S_4WGxAMaC3YSEg1KCpM9gvaLhfLm5"},"protected":{"$ref":"#/$defs/S_4WGxAMaC3YSEg1KCpM9gvaLhfLm5"},"public":{"$ref":"#/$defs/S_4WGxAMaC3YSEg1KCpM9gvaLhfLm5"}}}, - "S_3x8w4Wzn5h5C8hgDYc3ktkN4QCsa": {"type":"object","additionalProperties":true,"properties":{"blocks":{"type":"array","items":{"$ref":"#/$defs/AnyBlock"}},"term":{"$ref":"#/$defs/S_3e3yY6fdQnWb8TKV6EnnpuBBKD5f"}}}, - "S_FAWDsbUun6rTwhkn6k1ErTNQZEy": {"type":"object","additionalProperties":true,"properties":{"blocks":{"type":"array","items":{"$ref":"#/$defs/AnyBlock"}}}}, - "S_496ezmxk5xE51TCZ9HJcNtCVgSnx": {"type":"object","additionalProperties":true,"properties":{"cells":{"type":"array","items":{"$ref":"#/$defs/S_4Fpn8ErFqJhnvGmQ15sjijdqRVYc"}},"isHeader":{"type":"boolean"}}}, - "S_3Y5LQ7zbvenCatbqSpyj9J7Qcoo2": {"type":"object","additionalProperties":true,"properties":{"columnNumber":{"type":"integer"},"documented":{"type":"boolean"},"fullPath":{"type":"string"},"lineNumber":{"type":"integer"},"shortPath":{"type":"string"},"sourcePath":{"type":"string"}}}, - "S_4WGxAMaC3YSEg1KCpM9gvaLhfLm5": {"type":"object","additionalProperties":true,"properties":{"concepts":{"type":"array","items":{"type":"string"}},"enums":{"type":"array","items":{"type":"string"}},"functions":{"type":"array","items":{"type":"string"}},"guides":{"type":"array","items":{"type":"string"}},"namespaceAliases":{"type":"array","items":{"type":"string"}},"records":{"type":"array","items":{"type":"string"}},"staticFunctions":{"type":"array","items":{"type":"string"}},"staticVariables":{"type":"array","items":{"type":"string"}},"typedefs":{"type":"array","items":{"type":"string"}},"usings":{"type":"array","items":{"type":"string"}},"variables":{"type":"array","items":{"type":"string"}}}}, - "S_3e3yY6fdQnWb8TKV6EnnpuBBKD5f": {"type":"object","additionalProperties":true,"properties":{"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}}, - "S_4Fpn8ErFqJhnvGmQ15sjijdqRVYc": {"type":"object","additionalProperties":true,"properties":{"children":{"type":"array","items":{"$ref":"#/$defs/AnyInline"}}}} + "properties": {"symbols": {"type":"array","items":{"anyOf":[{"$ref":"#/definitions/ConceptSymbol"},{"$ref":"#/definitions/EnumConstantSymbol"},{"$ref":"#/definitions/EnumSymbol"},{"$ref":"#/definitions/FunctionSymbol"},{"$ref":"#/definitions/GuideSymbol"},{"$ref":"#/definitions/MacroSymbol"},{"$ref":"#/definitions/NamespaceAliasSymbol"},{"$ref":"#/definitions/NamespaceSymbol"},{"$ref":"#/definitions/OverloadsSymbol"},{"$ref":"#/definitions/RecordSymbol"},{"$ref":"#/definitions/TypedefSymbol"},{"$ref":"#/definitions/UsingSymbol"},{"$ref":"#/definitions/VariableSymbol"}]}}}, + "definitions": { + "AnySymbol": {"anyOf":[{"$ref":"#/definitions/ConceptSymbol"},{"$ref":"#/definitions/EnumConstantSymbol"},{"$ref":"#/definitions/EnumSymbol"},{"$ref":"#/definitions/FunctionSymbol"},{"$ref":"#/definitions/GuideSymbol"},{"$ref":"#/definitions/MacroSymbol"},{"$ref":"#/definitions/NamespaceAliasSymbol"},{"$ref":"#/definitions/NamespaceSymbol"},{"$ref":"#/definitions/OverloadsSymbol"},{"$ref":"#/definitions/RecordSymbol"},{"$ref":"#/definitions/TypedefSymbol"},{"$ref":"#/definitions/UsingSymbol"},{"$ref":"#/definitions/VariableSymbol"}]}, + "AnyType": {"anyOf":[{"$ref":"#/definitions/ArrayType"},{"$ref":"#/definitions/AutoType"},{"$ref":"#/definitions/DecltypeType"},{"$ref":"#/definitions/FunctionType"},{"$ref":"#/definitions/LValueReferenceType"},{"$ref":"#/definitions/MemberPointerType"},{"$ref":"#/definitions/NamedType"},{"$ref":"#/definitions/PointerType"},{"$ref":"#/definitions/RValueReferenceType"}]}, + "AnyName": {"anyOf":[{"$ref":"#/definitions/IdentifierName"},{"$ref":"#/definitions/SpecializationName"}]}, + "AnyAttribute": {"anyOf":[{"$ref":"#/definitions/AssumeAttribute"},{"$ref":"#/definitions/CarriesDependencyAttribute"},{"$ref":"#/definitions/DeprecatedAttribute"},{"$ref":"#/definitions/FallthroughAttribute"},{"$ref":"#/definitions/IndeterminateAttribute"},{"$ref":"#/definitions/LikelyAttribute"},{"$ref":"#/definitions/MaybeUnusedAttribute"},{"$ref":"#/definitions/NoUniqueAddressAttribute"},{"$ref":"#/definitions/NodiscardAttribute"},{"$ref":"#/definitions/NoreturnAttribute"},{"$ref":"#/definitions/OtherAttribute"},{"$ref":"#/definitions/UnlikelyAttribute"}]}, + "AnyTArg": {"anyOf":[{"$ref":"#/definitions/ConstantTArg"},{"$ref":"#/definitions/TemplateTArg"},{"$ref":"#/definitions/TypeTArg"}]}, + "AnyTParam": {"anyOf":[{"$ref":"#/definitions/ConstantTParam"},{"$ref":"#/definitions/TemplateTParam"},{"$ref":"#/definitions/TypeTParam"}]}, + "AnyBlock": {"anyOf":[{"$ref":"#/definitions/AdmonitionBlock"},{"$ref":"#/definitions/BriefBlock"},{"$ref":"#/definitions/CodeBlock"},{"$ref":"#/definitions/DefinitionListBlock"},{"$ref":"#/definitions/FootnoteDefinitionBlock"},{"$ref":"#/definitions/HeadingBlock"},{"$ref":"#/definitions/ListBlock"},{"$ref":"#/definitions/MathBlock"},{"$ref":"#/definitions/ParagraphBlock"},{"$ref":"#/definitions/ParamBlock"},{"$ref":"#/definitions/PostconditionBlock"},{"$ref":"#/definitions/PreconditionBlock"},{"$ref":"#/definitions/QuoteBlock"},{"$ref":"#/definitions/ReturnsBlock"},{"$ref":"#/definitions/SeeBlock"},{"$ref":"#/definitions/TParamBlock"},{"$ref":"#/definitions/TableBlock"},{"$ref":"#/definitions/ThematicBreakBlock"},{"$ref":"#/definitions/ThrowsBlock"}]}, + "AnyInline": {"anyOf":[{"$ref":"#/definitions/CodeInline"},{"$ref":"#/definitions/CopyDetailsInline"},{"$ref":"#/definitions/EmphInline"},{"$ref":"#/definitions/FootnoteReferenceInline"},{"$ref":"#/definitions/HighlightInline"},{"$ref":"#/definitions/ImageInline"},{"$ref":"#/definitions/LineBreakInline"},{"$ref":"#/definitions/LinkInline"},{"$ref":"#/definitions/MathInline"},{"$ref":"#/definitions/ReferenceInline"},{"$ref":"#/definitions/SoftBreakInline"},{"$ref":"#/definitions/StrikethroughInline"},{"$ref":"#/definitions/StrongInline"},{"$ref":"#/definitions/SubscriptInline"},{"$ref":"#/definitions/SuperscriptInline"},{"$ref":"#/definitions/TextInline"}]}, + "ConceptSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"constraint":{"type":"string"},"template":{"$ref":"#/definitions/TemplateInfo"}}}, + "EnumConstantSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"initializer":{"$ref":"#/definitions/ConstantExprInfo"}}}, + "EnumSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"constants":{"type":"array","items":{"type":"string"}},"scoped":{"type":"boolean"},"underlyingType":{"$ref":"#/definitions/AnyType"}}}, + "FunctionSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"constexpr":{"type":"string"},"explicit":{"$ref":"#/definitions/ExplicitInfo"},"funcClass":{"type":"string"},"functionObjectImpl":{"type":"string"},"hasOverrideAttr":{"type":"boolean"},"hasTrailingReturn":{"type":"boolean"},"isConst":{"type":"boolean"},"isDefaulted":{"type":"boolean"},"isDeleted":{"type":"boolean"},"isDeletedAsWritten":{"type":"boolean"},"isExplicitObjectMemberFunction":{"type":"boolean"},"isExplicitlyDefaulted":{"type":"boolean"},"isFinal":{"type":"boolean"},"isListedOnPrimary":{"type":"boolean"},"isPure":{"type":"boolean"},"isRecordMethod":{"type":"boolean"},"isVariadic":{"type":"boolean"},"isVirtual":{"type":"boolean"},"isVirtualAsWritten":{"type":"boolean"},"isVolatile":{"type":"boolean"},"noexcept":{"$ref":"#/definitions/NoexceptInfo"},"overloadedOperator":{"type":"string"},"params":{"type":"array","items":{"$ref":"#/definitions/Param"}},"refQualifier":{"type":"string"},"requires":{"type":"string"},"returnType":{"$ref":"#/definitions/AnyType"},"specializations":{"type":"array","items":{"type":"string"}},"storageClass":{"type":"string"},"template":{"$ref":"#/definitions/TemplateInfo"}}}, + "GuideSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"deduced":{"$ref":"#/definitions/AnyType"},"explicit":{"$ref":"#/definitions/ExplicitInfo"},"params":{"type":"array","items":{"$ref":"#/definitions/Param"}},"template":{"$ref":"#/definitions/TemplateInfo"}}}, + "MacroSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"isFunctionLike":{"type":"boolean"},"isVariadic":{"type":"boolean"},"parameters":{"type":"array","items":{"type":"string"}}}}, + "NamespaceAliasSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"aliasedSymbol":{"$ref":"#/definitions/IdentifierName"}}}, + "NamespaceSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"isAnonymous":{"type":"boolean"},"isInline":{"type":"boolean"},"members":{"$ref":"#/definitions/NamespaceTranche"},"usingDirectives":{"type":"array","items":{"$ref":"#/definitions/AnyName"}}}}, + "OverloadsSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"funcClass":{"type":"string"},"members":{"type":"array","items":{"type":"string"}},"overloadedOperator":{"type":"string"},"returnType":{"$ref":"#/definitions/AnyType"}}}, + "RecordSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"bases":{"type":"array","items":{"$ref":"#/definitions/BaseInfo"}},"deductionGuides":{"type":"array","items":{"type":"string"}},"derived":{"type":"array","items":{"type":"string"}},"friends":{"type":"array","items":{"$ref":"#/definitions/FriendInfo"}},"interface":{"$ref":"#/definitions/RecordInterface"},"isFinal":{"type":"boolean"},"isFinalDestructor":{"type":"boolean"},"isListedOnPrimary":{"type":"boolean"},"isTypeDef":{"type":"boolean"},"keyKind":{"type":"string"},"specializations":{"type":"array","items":{"type":"string"}},"template":{"$ref":"#/definitions/TemplateInfo"}}}, + "TypedefSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"isUsing":{"type":"boolean"},"template":{"$ref":"#/definitions/TemplateInfo"},"type":{"$ref":"#/definitions/AnyType"}}}, + "UsingSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"class":{"type":"string"},"introducedName":{"$ref":"#/definitions/AnyName"},"shadowDeclarations":{"type":"array","items":{"type":"string"}}}}, + "VariableSymbol": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"anchor":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AnyAttribute"}},"extraction":{"type":"string"},"isCopyFromInherited":{"type":"boolean"},"kind":{"type":"string"},"loc":{"$ref":"#/definitions/SourceInfo"},"name":{"type":"string"},"parent":{"type":"string"},"doc":{"$ref":"#/definitions/DocComment"},"id":{"type":"string"},"bitfieldWidth":{"$ref":"#/definitions/ConstantExprInfo"},"initializer":{"type":"string"},"isBitfield":{"type":"boolean"},"isConstexpr":{"type":"boolean"},"isConstinit":{"type":"boolean"},"isInline":{"type":"boolean"},"isMutable":{"type":"boolean"},"isRecordField":{"type":"boolean"},"isThreadLocal":{"type":"boolean"},"isVariant":{"type":"boolean"},"storageClass":{"type":"string"},"template":{"$ref":"#/definitions/TemplateInfo"},"type":{"$ref":"#/definitions/AnyType"}}}, + "ArrayType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"bounds":{"$ref":"#/definitions/ConstantExprInfo"},"elementType":{"$ref":"#/definitions/AnyType"}}}, + "AutoType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"constraint":{"$ref":"#/definitions/AnyName"},"keyword":{"type":"string"}}}, + "DecltypeType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"operand":{"type":"string"}}}, + "FunctionType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"exceptionSpec":{"$ref":"#/definitions/NoexceptInfo"},"isVariadic":{"type":"boolean"},"paramTypes":{"type":"array","items":{"$ref":"#/definitions/AnyType"}},"refQualifier":{"type":"string"},"returnType":{"$ref":"#/definitions/AnyType"}}}, + "LValueReferenceType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"pointeeType":{"$ref":"#/definitions/AnyType"}}}, + "MemberPointerType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"parentType":{"$ref":"#/definitions/AnyType"},"pointeeType":{"$ref":"#/definitions/AnyType"}}}, + "NamedType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"fundamentalType":{"type":"string"},"name":{"$ref":"#/definitions/AnyName"}}}, + "PointerType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"pointeeType":{"$ref":"#/definitions/AnyType"}}}, + "RValueReferenceType": {"type":"object","additionalProperties":true,"properties":{"constraints":{"type":"array","items":{"type":"string"}},"isConst":{"type":"boolean"},"isPackExpansion":{"type":"boolean"},"isVolatile":{"type":"boolean"},"kind":{"type":"string"},"pointeeType":{"$ref":"#/definitions/AnyType"}}}, + "IdentifierName": {"type":"object","additionalProperties":true,"properties":{"identifier":{"type":"string"},"kind":{"type":"string"},"prefix":{"$ref":"#/definitions/AnyName"},"id":{"type":"string"}}}, + "SpecializationName": {"type":"object","additionalProperties":true,"properties":{"identifier":{"type":"string"},"kind":{"type":"string"},"prefix":{"$ref":"#/definitions/AnyName"},"id":{"type":"string"},"templateArgs":{"type":"array","items":{"$ref":"#/definitions/AnyTArg"}},"specializationID":{"type":"string"}}}, + "AssumeAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}},"expression":{"type":"string"}}}, + "CarriesDependencyAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "DeprecatedAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}}}, + "FallthroughAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "IndeterminateAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "LikelyAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "MaybeUnusedAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "NoUniqueAddressAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "NodiscardAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"}}}, + "NoreturnAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "OtherAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "UnlikelyAttribute": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"name":{"type":"string"},"balancedTokens":{"type":"array","items":{"type":"string"}}}}, + "ConstantTArg": {"type":"object","additionalProperties":true,"properties":{"isPackExpansion":{"type":"boolean"},"kind":{"type":"string"},"value":{"type":"string"}}}, + "TemplateTArg": {"type":"object","additionalProperties":true,"properties":{"isPackExpansion":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"template":{"type":"string"}}}, + "TypeTArg": {"type":"object","additionalProperties":true,"properties":{"isPackExpansion":{"type":"boolean"},"kind":{"type":"string"},"type":{"$ref":"#/definitions/AnyType"}}}, + "ConstantTParam": {"type":"object","additionalProperties":true,"properties":{"default":{"$ref":"#/definitions/AnyTArg"},"isParameterPack":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/definitions/AnyType"}}}, + "TemplateTParam": {"type":"object","additionalProperties":true,"properties":{"default":{"$ref":"#/definitions/AnyTArg"},"isParameterPack":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"params":{"type":"array","items":{"$ref":"#/definitions/AnyTParam"}}}}, + "TypeTParam": {"type":"object","additionalProperties":true,"properties":{"default":{"$ref":"#/definitions/AnyTArg"},"isParameterPack":{"type":"boolean"},"kind":{"type":"string"},"name":{"type":"string"},"constraint":{"$ref":"#/definitions/AnyName"},"keyKind":{"type":"string"}}}, + "AdmonitionBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/definitions/AnyBlock"}},"title":{"$ref":"#/definitions/AnyInline"},"admonish":{"type":"string"}}}, + "BriefBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"copiedFrom":{"type":"array","items":{"type":"string"}}}}, + "CodeBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"info":{"type":"string"},"literal":{"type":"string"}}}, + "DefinitionListBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/definitions/DefinitionListItem"}}}}, + "FootnoteDefinitionBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/definitions/AnyBlock"}},"label":{"type":"string"}}}, + "HeadingBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"level":{"type":"integer"}}}, + "ListBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/definitions/ListItem"}},"listKind":{"type":"string"}}}, + "MathBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"literal":{"type":"string"}}}, + "ParagraphBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "ParamBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"direction":{"type":"string"},"name":{"type":"string"}}}, + "PostconditionBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "PreconditionBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "QuoteBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"blocks":{"type":"array","items":{"$ref":"#/definitions/AnyBlock"}}}}, + "ReturnsBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "SeeBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "TParamBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"name":{"type":"string"}}}, + "TableBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"alignments":{"type":"array"},"items":{"type":"array","items":{"$ref":"#/definitions/TableRow"}}}}, + "ThematicBreakBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"}}}, + "ThrowsBlock": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"exception":{"$ref":"#/definitions/ReferenceInline"}}}, + "CodeInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "CopyDetailsInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"id":{"type":"string"},"string":{"type":"string"}}}, + "EmphInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "FootnoteReferenceInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"label":{"type":"string"}}}, + "HighlightInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "ImageInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"alt":{"type":"string"},"src":{"type":"string"}}}, + "LineBreakInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"}}}, + "LinkInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}},"href":{"type":"string"}}}, + "MathInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"literal":{"type":"string"}}}, + "ReferenceInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"id":{"type":"string"},"literal":{"type":"string"}}}, + "SoftBreakInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"}}}, + "StrikethroughInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "StrongInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "SubscriptInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "SuperscriptInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "TextInline": {"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string"},"literal":{"type":"string"}}}, + "SourceInfo": {"type":"object","additionalProperties":true,"properties":{"defLoc":{"$ref":"#/definitions/Location"},"loc":{"type":"array","items":{"$ref":"#/definitions/Location"}}}}, + "DocComment": {"type":"object","additionalProperties":true,"properties":{"document":{"type":"array","items":{"$ref":"#/definitions/AnyBlock"}},"isFunctionObject":{"type":"boolean"},"isImplementationDefined":{"type":"boolean"},"isSeeBelow":{"type":"boolean"},"brief":{"$ref":"#/definitions/BriefBlock"},"exceptions":{"type":"array","items":{"$ref":"#/definitions/ThrowsBlock"}},"footnotes":{"type":"array","items":{"$ref":"#/definitions/FootnoteDefinitionBlock"}},"params":{"type":"array","items":{"$ref":"#/definitions/ParamBlock"}},"postconditions":{"type":"array","items":{"$ref":"#/definitions/PostconditionBlock"}},"preconditions":{"type":"array","items":{"$ref":"#/definitions/PreconditionBlock"}},"related":{"type":"array","items":{"$ref":"#/definitions/ReferenceInline"}},"relates":{"type":"array","items":{"$ref":"#/definitions/ReferenceInline"}},"returns":{"type":"array","items":{"$ref":"#/definitions/ReturnsBlock"}},"sees":{"type":"array","items":{"$ref":"#/definitions/SeeBlock"}},"tparams":{"type":"array","items":{"$ref":"#/definitions/TParamBlock"}}}}, + "TemplateInfo": {"type":"object","additionalProperties":true,"properties":{"args":{"type":"array","items":{"$ref":"#/definitions/AnyTArg"}},"params":{"type":"array","items":{"$ref":"#/definitions/AnyTParam"}},"primary":{"type":"string"},"requires":{"type":"string"}}}, + "ConstantExprInfo": {"type":"object","additionalProperties":true,"properties":{"written":{"type":"string"},"value":{}}}, + "ExplicitInfo": {"type":"object","additionalProperties":true,"properties":{"implicit":{"type":"boolean"},"kind":{"type":"string"},"operand":{"type":"string"}}}, + "NoexceptInfo": {"type":"object","additionalProperties":true,"properties":{"implicit":{"type":"boolean"},"kind":{"type":"string"},"operand":{"type":"string"}}}, + "Param": {"type":"object","additionalProperties":true,"properties":{"default":{"type":"string"},"name":{"type":"string"},"type":{"$ref":"#/definitions/AnyType"}}}, + "NamespaceTranche": {"type":"object","additionalProperties":true,"properties":{"concepts":{"type":"array","items":{"type":"string"}},"enums":{"type":"array","items":{"type":"string"}},"functions":{"type":"array","items":{"type":"string"}},"guides":{"type":"array","items":{"type":"string"}},"macros":{"type":"array","items":{"type":"string"}},"namespaceAliases":{"type":"array","items":{"type":"string"}},"namespaces":{"type":"array","items":{"type":"string"}},"records":{"type":"array","items":{"type":"string"}},"typedefs":{"type":"array","items":{"type":"string"}},"usings":{"type":"array","items":{"type":"string"}},"variables":{"type":"array","items":{"type":"string"}}}}, + "BaseInfo": {"type":"object","additionalProperties":true,"properties":{"access":{"type":"string"},"isVirtual":{"type":"boolean"},"loc":{"$ref":"#/definitions/SourceInfo"},"type":{"$ref":"#/definitions/AnyType"}}}, + "FriendInfo": {"type":"object","additionalProperties":true,"properties":{"type":{"$ref":"#/definitions/AnyType"},"id":{"type":"string"}}}, + "RecordInterface": {"type":"object","additionalProperties":true,"properties":{"private":{"$ref":"#/definitions/RecordTranche"},"protected":{"$ref":"#/definitions/RecordTranche"},"public":{"$ref":"#/definitions/RecordTranche"}}}, + "DefinitionListItem": {"type":"object","additionalProperties":true,"properties":{"blocks":{"type":"array","items":{"$ref":"#/definitions/AnyBlock"}},"term":{"$ref":"#/definitions/InlineContainer"}}}, + "ListItem": {"type":"object","additionalProperties":true,"properties":{"blocks":{"type":"array","items":{"$ref":"#/definitions/AnyBlock"}}}}, + "TableRow": {"type":"object","additionalProperties":true,"properties":{"cells":{"type":"array","items":{"$ref":"#/definitions/TableCell"}},"isHeader":{"type":"boolean"}}}, + "Location": {"type":"object","additionalProperties":true,"properties":{"columnNumber":{"type":"integer"},"documented":{"type":"boolean"},"fullPath":{"type":"string"},"lineNumber":{"type":"integer"},"shortPath":{"type":"string"},"sourcePath":{"type":"string"}}}, + "RecordTranche": {"type":"object","additionalProperties":true,"properties":{"concepts":{"type":"array","items":{"type":"string"}},"enums":{"type":"array","items":{"type":"string"}},"functions":{"type":"array","items":{"type":"string"}},"guides":{"type":"array","items":{"type":"string"}},"namespaceAliases":{"type":"array","items":{"type":"string"}},"records":{"type":"array","items":{"type":"string"}},"staticFunctions":{"type":"array","items":{"type":"string"}},"staticVariables":{"type":"array","items":{"type":"string"}},"typedefs":{"type":"array","items":{"type":"string"}},"usings":{"type":"array","items":{"type":"string"}},"variables":{"type":"array","items":{"type":"string"}}}}, + "InlineContainer": {"type":"object","additionalProperties":true,"properties":{"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}}, + "TableCell": {"type":"object","additionalProperties":true,"properties":{"children":{"type":"array","items":{"$ref":"#/definitions/AnyInline"}}}} } } diff --git a/docs/modules/ROOT/pages/generators/reference.adoc b/docs/modules/ROOT/pages/generators/reference.adoc index c091eb4e4ad..ac3e3af701f 100644 --- a/docs/modules/ROOT/pages/generators/reference.adoc +++ b/docs/modules/ROOT/pages/generators/reference.adoc @@ -3,6 +3,6 @@ This is the reference for the data MrDocs extracts into a cpp:Corpus[corpus] and exposes to each generator as structured objects: each cpp:Symbol[symbol], and the types, names, template parameters, and documentation blocks attached to it. -Machine-readable schema files for the corpus are also attached to this site: a xref:attachment$schemas/generators/mrdocs.rng[RELAX NG schema] for the XML representation and a xref:attachment$schemas/generators/mrdocs.schema.json[JSON Schema] for the JSON representation. +Machine-readable schema files for the corpus are also attached to this site: a xref:attachment$schemas/generators/mrdocs.rng[RELAX NG schema] for the XML representation and a xref:attachment$schemas/generators/mrdocs.schema.json[JSON Schema] for the JSON representation. In both, each definition is named after the MrDocs type it describes, such as `FunctionSymbol`. When two types share a name, each is qualified with as many enclosing scopes as it takes to tell them apart, joined with `.`, as in `doc.Text`. include::partial$dom-schema.adoc[] diff --git a/docs/mrdocs/extensions/schema.js b/docs/mrdocs/extensions/schema.js index 818dc25a3b4..e9302243ea4 100644 --- a/docs/mrdocs/extensions/schema.js +++ b/docs/mrdocs/extensions/schema.js @@ -4,6 +4,7 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // // Copyright (c) 2026 Alan de Freitas (alandefreitas@gmail.com) +// Copyright (c) 2026 Gennaro Prota (gennaro.prota@gmail.com) // // Official repository: https://github.com/cppalliance/mrdocs // @@ -34,6 +35,7 @@ * @property {Array} structOrder Struct ids in first-seen (emission) order. * @property {Object} fieldsCache Memoized `record id -> [field]`. * @property {Object} singleTextCache Memoized `record id -> bool`. + * @property {Object} defNames `struct id -> definition name` (see assignDefNames). */ // --------------------------------------------------------------------------- @@ -360,6 +362,66 @@ function discoverStructs(model) { } } +/** + * The names of a symbol and its enclosing scopes, outermost first, up to (not + * including) the unnamed global namespace. + * @param {Model} model + * @param {Object} sym A symbol. + * @returns {Array} e.g. ["mrdocs", "doc", "Text"]. + */ +function qualifiedNameParts(model, sym) { + var parts = []; + for (var s = sym; s && s.name; s = getSymbol(model, s.parent)) parts.unshift(s.name); + return parts; +} + +/** + * Name the definition of every emitted struct after the C++ type it reflects. + * A type gets the shortest trailing part of its qualified name, scopes joined + * with ".", that no other emitted type shares and that no fixed definition + * already uses: `FunctionSymbol` alone, `doc.Text` when another `Text` is + * emitted too. Types that still share every part keep `S_`. + * @param {Model} model + * @returns {void} + */ +function assignDefNames(model) { + var taken = { Mrdocs: 1, Tagfile: 1, TagCompound: 1, TagClass: 1, TagMember: 1 }; + for (var base in VARIANTS) taken["Any" + base] = 1; + var pending = []; + for (var i = 0; i < model.structOrder.length; ++i) { + var id = model.structOrder[i]; + pending.push({ id: id, parts: qualifiedNameParts(model, getSymbol(model, id)) }); + } + for (var depth = 1; pending.length; ++depth) { + var byName = {}, next = []; + for (var j = 0; j < pending.length; ++j) { + var p = pending[j]; + if (p.parts.length < depth) continue; + p.name = p.parts.slice(-depth).join("."); + byName[p.name] = (byName[p.name] || 0) + 1; + } + for (var k = 0; k < pending.length; ++k) { + var q = pending[k]; + if (q.parts.length < depth) continue; + if (byName[q.name] === 1 && !taken[q.name]) { model.defNames[q.id] = q.name; taken[q.name] = 1; } + else next.push(q); + } + pending = next; + } +} + +/** + * The definition name of a struct: the one `assignDefNames` gave it, or + * `S_` when it has none (also while the model is still being built, when + * the patterns referring to it are computed only for their side effects). + * @param {Model} model + * @param {string} id The struct id. + * @returns {string} + */ +function defName(model, id) { + return model.defNames[id] || ("S_" + id); +} + /** * Build the full model from a generator context. * @param {Object} ctx The generator context. @@ -368,11 +430,13 @@ function discoverStructs(model) { function buildModel(ctx) { var model = { ctx: ctx, cache: {}, records: [], variantKinds: {}, kindToVariant: {}, - neededStructIds: {}, structIds: {}, structOrder: [], fieldsCache: {}, singleTextCache: {} + neededStructIds: {}, structIds: {}, structOrder: [], fieldsCache: {}, singleTextCache: {}, + defNames: {} }; collectRecords(model); buildVariants(model); discoverStructs(model); + assignDefNames(model); return model; } @@ -403,12 +467,12 @@ function rngContentForType(model, type) { if (en === "Polymorphic") { var bb = ((templateArg(et, 0) || {}).name || {}).identifier; if (bb && VARIANTS[bb]) return ''; } if (VARIANTS[en]) return ''; var er = recordFromType(model, et); - if (er && er.kind === "record") { model.neededStructIds[er.id] = 1; return ''; } + if (er && er.kind === "record") { model.neededStructIds[er.id] = 1; return ''; } return ""; } var r = recordFromType(model, t); if (r && r.kind === "enum") return ""; - if (r && r.kind === "record") { if (isSingleTextObject(model, r)) return ""; model.neededStructIds[r.id] = 1; return ''; } + if (r && r.kind === "record") { if (isSingleTextObject(model, r)) return ""; model.neededStructIds[r.id] = 1; return ''; } return ""; } @@ -444,7 +508,7 @@ function rngStructBody(model, rec) { */ function rngAnyDefine(model, base) { var kinds = model.variantKinds[base], parts = ""; - for (var i = 0; i < kinds.length; ++i) parts += ''; + for (var i = 0; i < kinds.length; ++i) parts += ''; return '' + parts + ""; } @@ -460,7 +524,7 @@ function emitRng(model) { for (var base in VARIANTS) out.append(path, " " + rngAnyDefine(model, base) + "\n"); for (var i = 0; i < model.structOrder.length; ++i) { var id = model.structOrder[i]; - out.append(path, " " + '' + rngStructBody(model, getSymbol(model, id)) + "\n"); + out.append(path, " " + '' + rngStructBody(model, getSymbol(model, id)) + "\n"); } out.append(path, "\n"); } @@ -482,39 +546,39 @@ function jsonForType(model, type) { if (id === "SymbolID") return '{"type":"string"}'; if (isStringType(t)) return '{"type":"string"}'; if (id === "Optional") return jsonForType(model, templateArg(t, 0)); - if (id === "Polymorphic") { var b = ((templateArg(t, 0) || {}).name || {}).identifier; return (b && VARIANTS[b]) ? '{"$ref":"#/$defs/Any' + b + '"}' : '{}'; } - if (VARIANTS[id]) return '{"$ref":"#/$defs/Any' + id + '"}'; + if (id === "Polymorphic") { var b = ((templateArg(t, 0) || {}).name || {}).identifier; return (b && VARIANTS[b]) ? '{"$ref":"#/definitions/Any' + b + '"}' : '{}'; } + if (VARIANTS[id]) return '{"$ref":"#/definitions/Any' + id + '"}'; if (id === "vector" || id === "std::vector") { var et = templateArg(t, 0) || {}, en = (et.name || {}).identifier; if (en === "SymbolID") return '{"type":"array","items":{"type":"string"}}'; if (et.fundamentalType) return '{"type":"array","items":' + jsonForType(model, et) + '}'; if (isStringLike(model, et)) return '{"type":"array","items":{"type":"string"}}'; - if (en === "Polymorphic") { var bb = ((templateArg(et, 0) || {}).name || {}).identifier; if (bb && VARIANTS[bb]) return '{"type":"array","items":{"$ref":"#/$defs/Any' + bb + '"}}'; } - if (VARIANTS[en]) return '{"type":"array","items":{"$ref":"#/$defs/Any' + en + '"}}'; + if (en === "Polymorphic") { var bb = ((templateArg(et, 0) || {}).name || {}).identifier; if (bb && VARIANTS[bb]) return '{"type":"array","items":{"$ref":"#/definitions/Any' + bb + '"}}'; } + if (VARIANTS[en]) return '{"type":"array","items":{"$ref":"#/definitions/Any' + en + '"}}'; var er = recordFromType(model, et); - if (er && er.kind === "record") { model.neededStructIds[er.id] = 1; return '{"type":"array","items":{"$ref":"#/$defs/S_' + er.id + '"}}'; } + if (er && er.kind === "record") { model.neededStructIds[er.id] = 1; return '{"type":"array","items":{"$ref":"#/definitions/' + defName(model, er.id) + '"}}'; } return '{"type":"array"}'; } var r = recordFromType(model, t); if (r && r.kind === "enum") return '{"type":"string"}'; - if (r && r.kind === "record") { if (isSingleTextObject(model, r)) return '{"type":"string"}'; model.neededStructIds[r.id] = 1; return '{"$ref":"#/$defs/S_' + r.id + '"}'; } + if (r && r.kind === "record") { if (isSingleTextObject(model, r)) return '{"type":"string"}'; model.neededStructIds[r.id] = 1; return '{"$ref":"#/definitions/' + defName(model, r.id) + '"}'; } return '{}'; } /** - * The JSON `$defs` entry for a variant base: an anyOf over its kinds. + * The JSON `definitions` entry for a variant base: an anyOf over its kinds. * @param {Model} model * @param {string} base A variant base name. * @returns {string} */ function jsonAnyDef(model, base) { var kinds = model.variantKinds[base], refs = []; - for (var i = 0; i < kinds.length; ++i) refs.push('{"$ref":"#/$defs/S_' + kinds[i].id + '"}'); + for (var i = 0; i < kinds.length; ++i) refs.push('{"$ref":"#/definitions/' + defName(model, kinds[i].id) + '"}'); return ' "Any' + base + '": {"anyOf":[' + refs.join(",") + ']}'; } /** - * The JSON `$defs` entry for a struct: an object with one property per field. + * The JSON `definitions` entry for a struct: an object with one property per field. * @param {Model} model * @param {string} id The struct id. * @param {Object} rec The struct's record symbol. @@ -523,11 +587,11 @@ function jsonAnyDef(model, base) { function jsonStructDef(model, id, rec) { var f = allFields(model, rec), props = []; for (var i = 0; i < f.length; ++i) props.push('"' + toCamelCase(f[i].name) + '":' + jsonForType(model, f[i].type)); - return ' "S_' + id + '": {"type":"object","additionalProperties":true,"properties":{' + props.join(",") + '}}'; + return ' "' + defName(model, id) + '": {"type":"object","additionalProperties":true,"properties":{' + props.join(",") + '}}'; } /** - * Write the JSON Schema: preamble, the `symbols` array, then the `$defs` + * Write the JSON Schema: preamble, the `symbols` array, then the `definitions` * entries, streamed with separating commas so no big object is held at once. * @param {Model} model * @returns {void} @@ -535,10 +599,10 @@ function jsonStructDef(model, id, rec) { function emitJson(model) { var path = "generators/mrdocs.schema.json", out = model.ctx.output; var symbolKinds = model.variantKinds.Symbol, symbolRefs = []; - for (var i = 0; i < symbolKinds.length; ++i) symbolRefs.push('{"$ref":"#/$defs/S_' + symbolKinds[i].id + '"}'); + for (var i = 0; i < symbolKinds.length; ++i) symbolRefs.push('{"$ref":"#/definitions/' + defName(model, symbolKinds[i].id) + '"}'); out.write(path, JSON_PREAMBLE + ' "properties": {"symbols": {"type":"array","items":{"anyOf":[' + symbolRefs.join(",") + ']}}},\n' + - ' "$defs": {\n'); + ' "definitions": {\n'); var first = true; for (var base in VARIANTS) { out.append(path, (first ? "" : ",\n") + jsonAnyDef(model, base)); first = false; } for (var j = 0; j < model.structOrder.length; ++j) {