diff --git a/addons/generator/asciidoc/partials/data.adoc.hbs b/addons/generator/asciidoc/partials/field.adoc.hbs similarity index 100% rename from addons/generator/asciidoc/partials/data.adoc.hbs rename to addons/generator/asciidoc/partials/field.adoc.hbs diff --git a/addons/generator/asciidoc/partials/tranche.adoc.hbs b/addons/generator/asciidoc/partials/tranche.adoc.hbs index e3f324b9f..c39b5ae7a 100644 --- a/addons/generator/asciidoc/partials/tranche.adoc.hbs +++ b/addons/generator/asciidoc/partials/tranche.adoc.hbs @@ -11,22 +11,22 @@ {{>info-list tranche.types}} {{/if}} {{#if tranche.functions}} -==={{label}} Functions +==={{label}} Member Functions {{>info-list tranche.functions}} {{/if}} {{#if tranche.enums}} ==={{label}} Enums {{>info-list tranche.enums}} {{/if}} -{{#if tranche.data}} -==={{label}} Data -{{>info-list tranche.data}} +{{#if tranche.fields}} +==={{label}} Data Members +{{>info-list tranche.fields}} {{/if}} {{#if tranche.staticfunctions}} -==={{label}} Static Functions +==={{label}} Static Member Functions {{>info-list tranche.staticfunctions}} {{/if}} {{#if tranche.staticdata}} -==={{label}} Static Data +==={{label}} Static Data Members {{>info-list tranche.staticdata}} {{/if}} diff --git a/mrdox.rnc b/mrdox.rnc index edcd0ec57..4d29fc4ca 100644 --- a/mrdox.rnc +++ b/mrdox.rnc @@ -127,7 +127,7 @@ grammar #--------------------------------------------- Field = - element data + element field { Name, Access ?, diff --git a/source/-XML/CXXTags.hpp b/source/-XML/CXXTags.hpp index b81c1d5e0..61648d5c4 100644 --- a/source/-XML/CXXTags.hpp +++ b/source/-XML/CXXTags.hpp @@ -35,7 +35,7 @@ constexpr llvm::StringRef aliasTagName = "alias"; constexpr llvm::StringRef attributeTagName = "attr"; constexpr llvm::StringRef baseTagName = "base"; constexpr llvm::StringRef classTagName = "class"; -constexpr llvm::StringRef dataMemberTagName = "data"; +constexpr llvm::StringRef dataMemberTagName = "field"; constexpr llvm::StringRef javadocTagName = "doc"; constexpr llvm::StringRef enumTagName = "enum"; constexpr llvm::StringRef friendTagName = "friend"; diff --git a/source/Dom/DomInterface.cpp b/source/Dom/DomInterface.cpp index e3bd106ab..cb6a8644e 100644 --- a/source/Dom/DomInterface.cpp +++ b/source/Dom/DomInterface.cpp @@ -94,7 +94,7 @@ class DomTranche : public dom::Object DomTrancheList>>( I_, tranche_.Types, corpus_); - if(key == "data") + if(key == "field") return dom::create< DomTrancheList>>( @@ -120,7 +120,7 @@ class DomTranche : public dom::Object "functions", "enums", "types", - "data", + "fields", "staticfuncs", "staticdata" }; diff --git a/source/Metadata/Info.cpp b/source/Metadata/Info.cpp index 26f90340c..30d7cb306 100644 --- a/source/Metadata/Info.cpp +++ b/source/Metadata/Info.cpp @@ -94,7 +94,7 @@ toString(InfoKind kind) noexcept case InfoKind::Record: return "record"; case InfoKind::Field: - return "data"; + return "field"; case InfoKind::Function: return "function"; case InfoKind::Enum: diff --git a/test-files/old-tests/class-template.xml b/test-files/old-tests/class-template.xml index 22c6be556..3b88131d1 100644 --- a/test-files/old-tests/class-template.xml +++ b/test-files/old-tests/class-template.xml @@ -9,49 +9,49 @@ - + - - + + - - + + - + - + - + - + - + @@ -59,30 +59,30 @@ - + - + @@ -92,10 +92,10 @@ - + - + diff --git a/test-files/old-tests/no_unique_address.xml b/test-files/old-tests/no_unique_address.xml index fc0662437..59bd2d3fc 100644 --- a/test-files/old-tests/no_unique_address.xml +++ b/test-files/old-tests/no_unique_address.xml @@ -7,16 +7,16 @@ - + - - + + - + diff --git a/test-files/old-tests/record-data.xml b/test-files/old-tests/record-data.xml index 9aaac6b52..79f2359a3 100644 --- a/test-files/old-tests/record-data.xml +++ b/test-files/old-tests/record-data.xml @@ -4,43 +4,43 @@ - + - - + + - + - + - + - + - - + + - - + + - + - + - +