summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-06-22 21:10:58 +0000
committerMarc Laukien <marc@zeroc.com>2001-06-22 21:10:58 +0000
commit825bd3c03cb9c735d1395a4084b6c49d924761af (patch)
tree9916bc1d92e4d12cc17dfa3c7d95bf5b95929829 /cpp/src/Slice/Parser.h
parentmore slice2html (diff)
downloadice-825bd3c03cb9c735d1395a4084b6c49d924761af.tar.bz2
ice-825bd3c03cb9c735d1395a4084b6c49d924761af.tar.xz
ice-825bd3c03cb9c735d1395a4084b6c49d924761af.zip
more slice2html
Diffstat (limited to 'cpp/src/Slice/Parser.h')
-rw-r--r--cpp/src/Slice/Parser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Slice/Parser.h b/cpp/src/Slice/Parser.h
index 67c1a26bfdf..d11c1eee07c 100644
--- a/cpp/src/Slice/Parser.h
+++ b/cpp/src/Slice/Parser.h
@@ -273,6 +273,7 @@ public:
std::string name();
std::string scoped();
std::string scope();
+ std::string comment();
enum ContainedType
{
@@ -294,6 +295,7 @@ protected:
Container_ptr container_;
std::string name_;
std::string scoped_;
+ std::string comment_;
};
bool ICE_API operator<(Contained&, Contained&);
@@ -545,6 +547,9 @@ public:
bool ignRedefs();
+ void setComment(const std::string&);
+ std::string currentComment();
+
void nextLine();
void scanPosition(const char*);
int currentIncludeLevel();
@@ -575,6 +580,7 @@ private:
bool ignRedefs_;
bool all_;
+ std::string currentComment_;
int currentLine_;
int currentIncludeLevel_;
std::string currentFile_;