update parser (#5)

This commit is contained in:
tompzf
2026-01-16 11:40:02 +01:00
committed by GitHub
parent 5039a37131
commit 234be8917f
115 changed files with 14038 additions and 5380 deletions

View File

@@ -957,7 +957,7 @@ namespace sdv
static constexpr ::sdv::interface_id _id = 0xEE1AD4FC2B9217BB;
/**
* \brief Comment mask
* @brief Comment mask
*/
enum class ECommentMask : uint32_t
{
@@ -1024,7 +1024,7 @@ namespace sdv
static constexpr ::sdv::interface_id _id = 0xC7BB02340D82D7AE;
/**
* \brief Does the entity have an unnamed definition.
* @brief Does the entity have an unnamed definition.
* @return Returns 'true' when the entity has an unnamed definition; otherwise returns 'false'.
*/
virtual bool IsUnnamed() const = 0;

View File

@@ -110,7 +110,7 @@ public:
void CreateInheritanceValueChildNodes();
/**
* \brief Does the entity have an Unnamed definition. Overload of IDefinitionEntity::Unnamed.
* @brief Does the entity have an Unnamed definition. Overload of IDefinitionEntity::Unnamed.
* @return Returns 'true' when the definition supports unnamed definition; 'false' otherwise.
*/
virtual bool IsUnnamed() const override { return m_bAnonymousDefinition; };

View File

@@ -99,8 +99,10 @@ protected:
std::string ssName; ///< Parameter name
std::string ssDefaultValue; ///< Parameter default value (or empty for void return value)
std::string ssSize; ///< Parameter size
enum class EDirection { in, out, inout, ret, ignored } eDirection = EDirection::ignored; ///< Parameter direction or return value
enum class EAllocType { direct, indirect, ifc} eAllocType = EAllocType::direct; ///< Parameter allocation type
enum class EDirection ///< Parameter direction or return value
{ in, out, inout, ret, ignored } eDirection = EDirection::ignored; ///< Parameter direction or return value
enum class EAllocType ///< Parameter allocation type
{ direct, indirect, ifc} eAllocType = EAllocType::direct; ///< Parameter allocation type
};
/**

View File

@@ -107,7 +107,7 @@ private:
void PotentialSwapBuffer(TChar* szBuffer, size_t nSize, bool bIsSourceBigEndian);
/**
* \brief Convert a UTF16 string to UTF-8.
* @brief Convert a UTF16 string to UTF-8.
* @param[in] szBuffer The source string.
* @param[in] nSize The length of the string (or zero terminating string when supplied as 0).
* @return Returns the string as UTF8 std::string object.
@@ -115,7 +115,7 @@ private:
static std::string ConvertToUTF8(const char16_t* szBuffer, size_t nSize);
/**
* \brief Convert a UTF32 string to UTF-8.
* @brief Convert a UTF32 string to UTF-8.
* @param[in] szBuffer The source string.
* @param[in] nSize The length of the string (or zero terminating string when supplied as 0).
* @return Returns the string as UTF8 std::string object.