Allow accessing of pointer values in mathematical expressions

This commit is contained in:
WerWolv
2021-01-08 20:12:16 +01:00
parent 80e0782fdb
commit 17ecdbf8ec
2 changed files with 15 additions and 1 deletions

View File

@@ -261,6 +261,10 @@ namespace hex::lang {
return "Pointer";
}
[[nodiscard]] PatternData* getPointedAtPattern() {
return this->m_pointedAt;
}
private:
PatternData *m_pointedAt;
};