PUMA Library Reference Manual
|
#include <Puma/LanguageID.h>
A language ID is a unique identifier for a language.
It is used to group tokens, like identifiers, keywords, preprocessor directives, comments, and so on.
Public Member Functions | |
LanguageID () | |
Construct an empty object. | |
LanguageID (const char *id) | |
Constructor. | |
operator const char * () const | |
Conversion operator. | |
bool | operator== (const LanguageID &id) const |
Compare with another language identifier. | |
|
inline |
Construct an empty object.
|
inline |
Constructor.
id | The identifier. |
|
inline |
Conversion operator.
|
inline |
Compare with another language identifier.
id | The other language identifier. |