runmat_mir/place.rs
1use crate::{MirIndexing, MirLocalId, MirOperand};
2use runmat_hir::{BindingId, MemberName};
3use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6pub enum MirPlace {
7 Local(MirLocalId),
8 Binding(BindingId),
9 Member(Box<MirPlace>, MemberName),
10 DynamicMember(Box<MirPlace>, MirOperand),
11 Index(Box<MirPlace>, MirIndexing),
12}