diff options
Diffstat (limited to 'hscript/meta.hh')
-rw-r--r-- | hscript/meta.hh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hscript/meta.hh b/hscript/meta.hh index b885e99..ab22f1f 100644 --- a/hscript/meta.hh +++ b/hscript/meta.hh @@ -128,6 +128,16 @@ public: bool execute() const override; }; +class Version : public StringKey { +private: + Version(const Script *_s, const ScriptLocation &_p, const std::string &_v) : + StringKey(_s, _p, _v) {} +public: + static Key *parseFromData(const std::string &, const ScriptLocation &, + int *, int *, const Script *); + bool execute() const override; +}; + } } |