blob: ca8eb3bc30b080320153f6f2cf21fddf7d92ea65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
use crate::patio::values::{PatioDataPtrValue, PatioIntValue};
#[derive(Debug)]
pub(crate) enum PatioOperand {
BoolConst(bool),
ByteConst(u8),
DataPtrConst(PatioDataPtrValue),
FunctionPtrConst(String),
IntConst(PatioIntValue),
Int32Const(PatioIntValue),
LocalRef(PatioLocalRef),
}
#[derive(Debug)]
pub(crate) struct PatioLocalRef {
pub(crate) name: String,
}
|