27 #ifndef IDLFE_AST_IDENTIFIER_H_
28 #define IDLFE_AST_IDENTIFIER_H_
63 std::string (std::move (s))
72 bool operator == (const
char* s) const noexcept;
80 static
char tolower (
char c)
82 return (
'A' <= c && c <=
'Z') ? c + 32 : c;
86 static const char*
const reserved_words_ [];
Identifier(const char *s)
Identifier()
Default constructor.
bool valid() const noexcept
bool operator<(const Identifier &r) const noexcept
CORBA IDL identifiers are case-insensitive.
Identifier(const char *s, size_t len)
Identifier(std::string &&s) noexcept
Abstract Syntax Tree namespace.
bool operator<(const Identifier &l, const char *r) noexcept
Case-insensitive compare.