27 #ifndef IDLFE_AST_DECLARATORS_H_
28 #define IDLFE_AST_DECLARATORS_H_
33 #include <forward_list>
125 Declarator (SimpleDeclarator&& decl) :
126 SimpleDeclarator (std::move (decl))
129 Declarator (
const Declarator&) =
default;
130 Declarator (Declarator&&) =
default;
132 Declarator& operator = (
const Declarator&) =
default;
133 Declarator& operator = (Declarator&&) =
default;
Declarator(Identifier &&name, const Location &loc)
Declarator(const Identifier &name, const Location &loc)
Declarator(Identifier &&name, const Location &loc, const FixedArraySizes &array)
const FixedArraySizes & array_sizes() const
Declarator(const Identifier &name, const Location &loc, const FixedArraySizes &array)
Stores the location information.
The IDL simple declarator.
SimpleDeclarator(const Identifier &name, const Location &loc)
SimpleDeclarator(Identifier &&name, const Location &loc)
Abstract Syntax Tree namespace.
std::forward_list< SimpleDeclarator > SimpleDeclarators
The IDL simple declarators.
std::forward_list< unsigned > FixedArraySizes
Array dimensions.
std::forward_list< Declarator > Declarators
The IDL declarators.