27 #ifndef IDLFE_AST_UNIONELEMENT_H_
28 #define IDLFE_AST_UNIONELEMENT_H_
46 typedef std::vector <Variant>
Labels;
57 return labels_.empty ();
61 template <
class T>
friend class Ptr;
65 labels_ (std::move (
labels))
69 const std::vector <Variant> labels_;
The item with name and type.
const Identifier & name() const noexcept
The IDL simple declarator.
union element definition.
bool is_default() const noexcept
std::vector< Variant > Labels
The vector of case labels.
const Labels & labels() const noexcept
Abstract Syntax Tree namespace.