HikoGUI
A low latency retained GUI
|
Public Member Functions | |
constexpr | token (token const &) noexcept=default |
constexpr | token (token &&) noexcept=default |
constexpr token & | operator= (token const &) noexcept=default |
constexpr token & | operator= (token &&) noexcept=default |
constexpr | token (kind_type kind, std::string_view capture, size_t column_nr) noexcept |
constexpr | token (kind_type kind, std::string_view capture, size_t line_nr, size_t column_nr) noexcept |
constexpr bool | operator== (kind_type rhs) const noexcept |
constexpr bool | operator== (std::string_view rhs) const noexcept |
constexpr bool | operator== (char rhs) const noexcept |
constexpr | operator std::string () const noexcept |
template<std::integral T> | |
constexpr | operator T () const |
template<std::floating_point T> | |
operator T () const | |
operator::hi::color () const | |
Data Fields | |
std::vector< char > | capture = {} |
size_t | line_nr = 0 |
size_t | column_nr = 0 |
kind_type | kind = kind_type::none |
Static Public Attributes | |
static constexpr auto | kind_type_metadata |
static constexpr auto | none = kind_type::none |
static constexpr auto | error_unexepected_character = kind_type::error_unexepected_character |
static constexpr auto | error_invalid_digit = kind_type::error_invalid_digit |
static constexpr auto | error_incomplete_exponent = kind_type::error_incomplete_exponent |
static constexpr auto | error_incomplete_string = kind_type::error_incomplete_string |
static constexpr auto | error_incomplete_comment = kind_type::error_incomplete_comment |
static constexpr auto | error_after_lt_bang = kind_type::error_after_lt_bang |
static constexpr auto | integer = kind_type::integer |
static constexpr auto | real = kind_type::real |
static constexpr auto | sstr = kind_type::sstr |
static constexpr auto | dstr = kind_type::dstr |
static constexpr auto | bstr = kind_type::bstr |
static constexpr auto | istr = kind_type::istr |
static constexpr auto | color = kind_type::color |
static constexpr auto | lcomment = kind_type::lcomment |
static constexpr auto | bcomment = kind_type::bcomment |
static constexpr auto | ws = kind_type::ws |
static constexpr auto | id = kind_type::id |
static constexpr auto | other = kind_type::other |
Friends | |
constexpr friend bool | operator== (token const &, token const &) noexcept=default |
|
staticconstexpr |