[23128] Support builtin annotations in IDL Parser#5908
Merged
MiguelCompany merged 34 commits intomasterfrom Jul 29, 2025
Merged
[23128] Support builtin annotations in IDL Parser#5908MiguelCompany merged 34 commits intomasterfrom
MiguelCompany merged 34 commits intomasterfrom
Conversation
71ea547 to
7c8a32c
Compare
MiguelCompany
requested changes
Jul 4, 2025
test/feature/idl_parser/idl_extra_cases/builtin_annotations.idl
Outdated
Show resolved
Hide resolved
MiguelCompany
requested changes
Jul 4, 2025
src/cpp/fastdds/xtypes/dynamic_types/idl_parser/IdlParserTags.hpp
Outdated
Show resolved
Hide resolved
src/cpp/fastdds/xtypes/dynamic_types/idl_parser/IdlAnnotations.hpp
Outdated
Show resolved
Hide resolved
src/cpp/fastdds/xtypes/dynamic_types/idl_parser/IdlAnnotations.hpp
Outdated
Show resolved
Hide resolved
src/cpp/fastdds/xtypes/dynamic_types/idl_parser/IdlAnnotations.hpp
Outdated
Show resolved
Hide resolved
src/cpp/fastdds/xtypes/dynamic_types/idl_parser/IdlAnnotations.hpp
Outdated
Show resolved
Hide resolved
src/cpp/fastdds/xtypes/dynamic_types/idl_parser/IdlAnnotations.hpp
Outdated
Show resolved
Hide resolved
94991d9 to
b787c9f
Compare
6 tasks
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
…otated without parameters Signed-off-by: Carlosespicur <carlosespicur@proton.me>
…nd tests Signed-off-by: Carlosespicur <carlosespicur@proton.me>
…eral type in type descriptor Signed-off-by: Carlosespicur <carlosespicur@proton.me>
…e member in MemberDescriptor Signed-off-by: Carlosespicur <carlosespicur@proton.me>
…member in MemberDescriptor Signed-off-by: Carlosespicur <carlosespicur@proton.me>
…nums/bitmasks Signed-off-by: Carlosespicur <carlosespicur@proton.me>
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
d9b5172 to
9256ace
Compare
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
90010c9 to
f84775f
Compare
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
MiguelCompany
requested changes
Jul 28, 2025
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
MiguelCompany
approved these changes
Jul 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR add support for builtin annotations in IDL Parser:
Annotationclass, which provides an interface to simplify the annotations parsing.AnnotationsList::from_builtin(), that defines each supported builtin annotationIDLParserUtilsfile, for genericstd::stringtransformationsIDLParserTagsfile to avoid hardcoding annotations values and namesMemberDescriptorwithposition(),literal_value()andis_default_literal()methods to avoid inconsistencies annotating enumerations and bitmask members.TypeDescriptorwithliteral_typeto store the literal type in enumerations.Contributor Checklist
versions.mdfile (if applicable).Related documentation PR:
Reviewer Checklist