diff options
| author | Ryan Snyder <ryan@vector35.com> | 2025-01-24 17:57:26 -0500 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2025-02-14 15:58:56 -0500 |
| commit | bcdc0d9b89605936a1cb6cf3ffaaece60d3c5777 (patch) | |
| tree | 7286bd0963a49d9b90ddccf3a4b70b71c08e6ce5 /rust/src/variable.rs | |
| parent | 071811547bded7cf570125a03bb12d0b7c56a5ac (diff) | |
uidf refactor
Diffstat (limited to 'rust/src/variable.rs')
| -rw-r--r-- | rust/src/variable.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/src/variable.rs b/rust/src/variable.rs index 3fdc1177..f6b0f522 100644 --- a/rust/src/variable.rs +++ b/rust/src/variable.rs @@ -219,6 +219,7 @@ unsafe impl CoreArrayProviderInner for NamedVariableWithType { pub struct UserVariableValue { pub variable: Variable, pub def_site: Location, + pub after: bool, pub value: PossibleValueSet, } @@ -227,6 +228,7 @@ impl UserVariableValue { Self { variable: value.var.into(), def_site: value.defSite.into(), + after: value.after, value: PossibleValueSet::from_raw(&value.value), } } @@ -235,6 +237,7 @@ impl UserVariableValue { BNUserVariableValue { var: value.variable.into(), defSite: value.def_site.into(), + after: value.after, value: PossibleValueSet::into_raw(value.value), } } |
