2019-05-20 15:45:03 +00:00
|
|
|
|
|
|
|
#ifndef PORYGONLANG_BINARYOPERATORKIND_HPP
|
|
|
|
#define PORYGONLANG_BINARYOPERATORKIND_HPP
|
2019-06-08 13:38:08 +00:00
|
|
|
|
2019-06-17 16:35:12 +00:00
|
|
|
namespace Porygon::Parser {
|
|
|
|
enum class BinaryOperatorKind {
|
|
|
|
// Math
|
|
|
|
Addition,
|
|
|
|
Subtraction,
|
|
|
|
Multiplication,
|
|
|
|
Division,
|
2019-06-08 13:38:08 +00:00
|
|
|
|
2019-06-17 16:35:12 +00:00
|
|
|
// Equality
|
|
|
|
Equality,
|
|
|
|
Inequality,
|
|
|
|
Less,
|
|
|
|
LessOrEquals,
|
|
|
|
Greater,
|
|
|
|
GreaterOrEquals,
|
|
|
|
|
|
|
|
// Logical
|
|
|
|
LogicalAnd,
|
|
|
|
LogicalOr,
|
|
|
|
};
|
|
|
|
}
|
2019-05-20 15:45:03 +00:00
|
|
|
#endif //PORYGONLANG_BINARYOPERATORKIND_HPP
|