diff options
Diffstat (limited to 'boot/ast.cc')
| -rw-r--r-- | boot/ast.cc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/boot/ast.cc b/boot/ast.cc index a2f108a..7f34243 100644 --- a/boot/ast.cc +++ b/boot/ast.cc @@ -1647,51 +1647,4 @@ namespace elna::boot { return *this->m_range; } - - const char *print_binary_operator(const binary_operator operation) - { - switch (operation) - { - using enum binary_operator; - case sum: - return "+"; - case subtraction: - return "-"; - case multiplication: - return "*"; - case division: - return "/"; - case remainder: - return "%"; - case equals: - return "="; - case not_equals: - return "<>"; - case less: - return "<"; - case less_equal: - return "<="; - case greater: - return ">"; - case greater_equal: - return ">="; - case conjunction: - case logical_conjunction: - case bitwise_conjunction: - return "&"; - case disjunction: - case logical_disjunction: - case bitwise_disjunction: - return "or"; - case exclusive_disjunction: - case logical_exclusive_disjunction: - case bitwise_exclusive_disjunction: - return "xor"; - case shift_left: - return "<<"; - case shift_right: - return ">>"; - } - __builtin_unreachable(); - }; } |
