HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::token_t Struct Reference

Public Member Functions

constexpr token_t (token_t const &other) noexcept=default
constexpr token_t (token_t &&other) noexcept=default
constexpr token_t & operator= (token_t const &other) noexcept=default
constexpr token_t & operator= (token_t &&other) noexcept=default
 token_t (tokenizer_name_t name, std::string value) noexcept
 operator bool () const noexcept
 operator long double () const
 operator double () const
 operator float () const
template<std::integral T>
 operator T () const
 operator std::string () const noexcept
 operator decimal () const
 operator std::chrono::year_month_day () const
std::string repr () const noexcept

Data Fields

tokenizer_name_t name = tokenizer_name_t::NotAssigned
std::string value
parse_location location = {}
bool is_binary = false
int precedence = 0

Friends

std::ostreamoperator<< (std::ostream &lhs, token_t const &rhs)
bool operator== (token_t const &lhs, token_t const &rhs) noexcept
bool operator== (token_t const &lhs, tokenizer_name_t const &rhs) noexcept
bool operator== (token_t const &lhs, const char *rhs) noexcept

The documentation for this struct was generated from the following file: