Expand description
Binary operation type evaluation.
This module handles type evaluation for binary operations like:
- Arithmetic: +, -, *, /, %, **
- Comparison: ==, !=, <, >, <=, >=
- Logical: &&, ||, !
- Bitwise: &, |, ^, ~, <<, >>, >>>
§Architecture
The BinaryOpEvaluator evaluates the result type of binary operations
and validates that operands are compatible with the operator.
All functions take TypeId as input and return structured results,
making them pure logic that can be unit tested independently.
Structs§
- Binary
OpEvaluator - Evaluates binary operations on types.
Enums§
- Binary
OpResult - Result of a binary operation.
- Primitive
Class - Primitive type classes for overlap detection.