Enum geo_aid::script::parser::BinaryOperator
source · Expand description
A binary operator, like +, -, * or /.
Variants§
Implementations§
source§impl BinaryOperator
impl BinaryOperator
sourcepub fn get_returned(&self, lhs: &Type, rhs: &Type) -> Type
pub fn get_returned(&self, lhs: &Type, rhs: &Type) -> Type
Gets the type returned by this operator given the operand types.