1 #include <fridh/lexer.hpp>
5 bool get_lexeme_group(lexeme_type::type input
, lexeme_group::type
& output
)
7 using namespace lexeme_type
;
15 case unsigned_integer
:
16 case floating_point_value
:
18 output
= lexeme_group::argument
;
29 case addition_assignment
:
30 case subtraction_assignment
:
31 case multiplication_assignment
:
32 case division_assignment
:
33 case modulo_assignment
:
34 case exponentiation_assignment
:
37 case less_than_or_equal
:
39 case greater_than_or_equal
:
53 output
= lexeme_group::binary_operator
;
63 output
= lexeme_group::unary_operator
;