diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-12-19 13:08:44 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-12-19 13:08:44 +0100 |
commit | 7c287857f3bd50b806109660d23e2993b7a4b7ad (patch) | |
tree | ca0bcebbc06373520b7badd426762b6caa744fe5 /cpp/src/Slice/GrammarUtil.h | |
parent | ICE-5148 - adding more tests (diff) | |
download | ice-7c287857f3bd50b806109660d23e2993b7a4b7ad.tar.bz2 ice-7c287857f3bd50b806109660d23e2993b7a4b7ad.tar.xz ice-7c287857f3bd50b806109660d23e2993b7a4b7ad.zip |
ICE-4938: support for compact IDs
Diffstat (limited to 'cpp/src/Slice/GrammarUtil.h')
-rw-r--r-- | cpp/src/Slice/GrammarUtil.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpp/src/Slice/GrammarUtil.h b/cpp/src/Slice/GrammarUtil.h index c803152dd24..6047932f00c 100644 --- a/cpp/src/Slice/GrammarUtil.h +++ b/cpp/src/Slice/GrammarUtil.h @@ -28,6 +28,7 @@ class EnumeratorListTok; class ConstDefTok; class OptionalDefTok; class OptionalTypeDefTok; +class ClassIdTok; typedef ::IceUtil::Handle<StringTok> StringTokPtr; typedef ::IceUtil::Handle<StringListTok> StringListTokPtr; @@ -41,6 +42,7 @@ typedef ::IceUtil::Handle<ClassListTok> ClassListTokPtr; typedef ::IceUtil::Handle<EnumeratorListTok> EnumeratorListTokPtr; typedef ::IceUtil::Handle<ConstDefTok> ConstDefTokPtr; typedef ::IceUtil::Handle<OptionalDefTok> OptionalDefTokPtr; +typedef ::IceUtil::Handle<ClassIdTok> ClassIdTokPtr; // ---------------------------------------------------------------------- // StringTok @@ -189,6 +191,19 @@ public: OptionalDef v; }; +// ---------------------------------------------------------------------- +// ClassIdTok +// ---------------------------------------------------------------------- + +class SLICE_API ClassIdTok : public GrammarBase +{ +public: + + ClassIdTok() { } + std::string v; + int t; +}; + } // |