diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-05-16 17:06:00 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-05-16 17:06:00 -0700 |
commit | 1c6024e41f697d61b2727dc60c8aa6f62e9f5660 (patch) | |
tree | a1fe8e5ff322f02adef32c3edaf48b3d947cd6f0 /cpp/src/Slice/GrammarUtil.h | |
parent | * Ruby port of sliced/compact/preserved (diff) | |
download | ice-1c6024e41f697d61b2727dc60c8aa6f62e9f5660.tar.bz2 ice-1c6024e41f697d61b2727dc60c8aa6f62e9f5660.tar.xz ice-1c6024e41f697d61b2727dc60c8aa6f62e9f5660.zip |
parser support for optional data members
Diffstat (limited to 'cpp/src/Slice/GrammarUtil.h')
-rw-r--r-- | cpp/src/Slice/GrammarUtil.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpp/src/Slice/GrammarUtil.h b/cpp/src/Slice/GrammarUtil.h index 378901df888..f71e0dc961f 100644 --- a/cpp/src/Slice/GrammarUtil.h +++ b/cpp/src/Slice/GrammarUtil.h @@ -26,6 +26,7 @@ class ExceptionListTok; class ClassListTok; class EnumeratorListTok; class ConstDefTok; +class DataMemberDefTok; typedef ::IceUtil::Handle<StringTok> StringTokPtr; typedef ::IceUtil::Handle<StringListTok> StringListTokPtr; @@ -38,6 +39,7 @@ typedef ::IceUtil::Handle<ExceptionListTok> ExceptionListTokPtr; typedef ::IceUtil::Handle<ClassListTok> ClassListTokPtr; typedef ::IceUtil::Handle<EnumeratorListTok> EnumeratorListTokPtr; typedef ::IceUtil::Handle<ConstDefTok> ConstDefTokPtr; +typedef ::IceUtil::Handle<DataMemberDefTok> DataMemberDefTokPtr; // ---------------------------------------------------------------------- // StringTok @@ -174,6 +176,18 @@ public: ConstDef v; }; +// ---------------------------------------------------------------------- +// DataMemberDefTok +// ---------------------------------------------------------------------- + +class SLICE_API DataMemberDefTok : public GrammarBase +{ +public: + + DataMemberDefTok() { } + DataMemberDef v; +}; + } // |