27 #ifndef IDLFE_AST_ITEMWITHID_H_
28 #define IDLFE_AST_ITEMWITHID_H_
37 uint16_t major, minor;
57 virtual bool prefix (
Builder& builder,
const std::string& pref,
const Location& loc);
64 bool check_prefix (
Builder& builder,
const Location& loc)
const noexcept;
66 void type_id (
Builder& builder,
const std::string&
id,
const Location& loc);
68 void pragma_version (
Builder& builder,
const Version v,
const Location& loc);
82 EXPLICIT_SPECIFICATIONS
87 Data (
const std::string& prefix) :
94 std::string prefix_or_id;
97 Location explicit_ [EXPLICIT_SPECIFICATIONS];
Kind kind() const noexcept
Items which have repository identifiers derive from this class.
std::string repository_id() const
static const ItemWithId * cast(const NamedItem *item) noexcept
Stores the location information.
const Identifier & name() const noexcept
The IDL simple declarator.
Abstract Syntax Tree namespace.