luaur-analysis 0.1.0

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::enums::polarity::Polarity;

#[allow(non_snake_case)]
pub fn operator_bitor_assign(lhs: &mut Polarity, rhs: Polarity) -> &mut Polarity {
    *lhs = crate::functions::operator_bitor_polarity::operator_bitor(*lhs, rhs);
    lhs
}

impl core::ops::BitOrAssign for Polarity {
    fn bitor_assign(&mut self, rhs: Self) {
        operator_bitor_assign(self, rhs);
    }
}