Public Member Functions | |
token (const token_e &tok_type) | |
token (const token_e &tok_type, const MonoidValue &word) | |
token (const token_e &tok_type, const SemiringEltValue &weight) | |
std::string | to_string () const |
Public Attributes | |
token_e | type |
MonoidValue | m |
SemiringEltValue | w |
This classes represents a simple unambiguous token. Its type is one of token_e. When a_word or a_weight, an extra information is carried, which is (of course) the corresponding weight or word. A Schrödinger's token contains a list of such tokens.
KRatExpToken
, token_e
Definition at line 89 of file krat_exp_parser.hxx.