Blender V5.3
operator.cc File Reference
#include "symbol_table.hh"

Go to the source code of this file.

Namespaces

namespace  bsl
namespace  bsl::builtin

Enumerations

enum  bsl::OperatorType : uint16_t {
  bsl::OP_NUMERIC = 0b0000'1000'0000'0000 , bsl::OP_INTEGER = 0b0001'0000'0000'0000 , bsl::OP_BOOL = 0b0010'0000'0000'0000 , bsl::OP_ARITHMETIC = 0b0000'0000'0000'0001 ,
  bsl::OP_BITWISE = 0b0000'0000'0000'0010 , bsl::OP_SHIFT = 0b0000'0000'0000'0100 , bsl::OP_EQUALITY = 0b0000'0000'0000'1000 , bsl::OP_RELATIONAL = 0b0000'0000'0001'0000 ,
  bsl::OP_LOGICAL = 0b0000'0000'0010'0000 , bsl::OP_ASSIGN = 0b0000'0000'0100'0000 , bsl::OP_INVALID = 0b1111'1111'1111'1111
}

Functions

static OperatorType bsl::to_operator_type (TokenType tok_type)
ClassId bsl::builtin::binary_operator_return_type (SymbolClass *lhs, TokenType op, SymbolClass *rhs)
ClassId bsl::builtin::unary_prefix_operator_return_type (TokenType op, SymbolClass *rhs)
ClassId bsl::builtin::unary_suffix_operator_return_type (SymbolClass *lhs, TokenType op)