summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-03-19 21:37:04 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-03-20 16:50:30 -0300
commit9a6dd32cb1e8f5b1bcd23d32fc4b2d5fa425abbd (patch)
treeba9861936e72fc1cc38d29590f153693ad68a720 /src/lib/eolian_cxx
parent38bf8cc92361b67c6d80296d4f335a0ce8ba30f3 (diff)
eolian_cxx: Fill documentation of part_def.
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 21a1d7b8d1..1db8df9444 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -848,6 +848,7 @@ struct part_def
848{ 848{
849 klass_name klass; 849 klass_name klass;
850 std::string name; 850 std::string name;
851 documentation_def documentation;
851 //bool beta, protect; // can it be applied?? 852 //bool beta, protect; // can it be applied??
852 853
853 friend inline bool operator==(part_def const& lhs, part_def const& rhs) 854 friend inline bool operator==(part_def const& lhs, part_def const& rhs)
@@ -867,7 +868,8 @@ struct part_def
867 868
868 part_def(Eolian_Part const* part, Eolian_Unit const*) 869 part_def(Eolian_Part const* part, Eolian_Unit const*)
869 : klass(klass_name(::eolian_part_class_get(part), {attributes::qualifier_info::is_none, std::string()})) 870 : klass(klass_name(::eolian_part_class_get(part), {attributes::qualifier_info::is_none, std::string()}))
870 , name(::eolian_part_name_get(part)) {} 871 , name(::eolian_part_name_get(part))
872 , documentation(::eolian_part_documentation_get(part)) {}
871}; 873};
872 874
873inline Eolian_Class const* get_klass(klass_name const& klass_name_, Eolian_Unit const* unit); 875inline Eolian_Class const* get_klass(klass_name const& klass_name_, Eolian_Unit const* unit);