|
CDT
v4.2.0
инструменты разработчика
|
#include <symbol.hpp>
Открытые члены | |
| constexpr | symbol_code () |
| Конструктор symbol_code со значением по умолчанию 0. Подробнее... | |
| constexpr | symbol_code (uint64_t raw) |
| Конструктор symbol_code; инициализация поля value из raw. Подробнее... | |
| constexpr | symbol_code (std::string_view str) |
| Конструктор symbol_code; инициализация поля value из строки str. Подробнее... | |
| constexpr bool | is_valid () const |
| constexpr uint32_t | length () const |
| constexpr uint64_t | raw () const |
| constexpr | operator bool () const |
| char * | write_as_string (char *begin, char *end, bool dry_run=false) const |
| Записывает symbol_code в виде строки в переданный буфер char. Подробнее... | |
| std::string | to_string () const |
| void | print () const |
Друзья | |
| constexpr bool | operator== (const symbol_code &a, const symbol_code &b) |
| constexpr bool | operator!= (const symbol_code &a, const symbol_code &b) |
| constexpr bool | operator< (const symbol_code &a, const symbol_code &b) |
| Оператор «меньше» Подробнее... | |
Код символа токена, упакованный в uint64_t
См. определение в файле symbol.hpp строка 29