diff options
Diffstat (limited to 'src/GCodes/Variable.h')
-rw-r--r-- | src/GCodes/Variable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GCodes/Variable.h b/src/GCodes/Variable.h index d6074f52..9054514e 100644 --- a/src/GCodes/Variable.h +++ b/src/GCodes/Variable.h @@ -25,6 +25,9 @@ public: Variable(const char *str, ExpressionValue pVal, int8_t pScope) noexcept; ~Variable(); + ExpressionValue GetValue() const { return val; } + int8_t GetScope() const { return scope; } + private: Variable *next; StringHandle name; |