00001 /****************************************************************************** 00002 * 00003 * Copyright (C) 1997-2008 by Dimitri van Heesch. 00004 * 00005 * Permission to use, copy, modify, and distribute this software and its 00006 * documentation under the terms of the GNU General Public License is hereby 00007 * granted. No representations are made about the suitability of this software 00008 * for any purpose. It is provided "as is" without express or implied warranty. 00009 * See the GNU General Public License for more details. 00010 * 00011 * Documents produced by Doxygen are derivative works derived from the 00012 * input used in their production; they are not affected by this license. 00013 * 00014 */ 00015 00016 #ifndef COMMENTSCAN_H 00017 #define COMMENTSCAN_H 00018 00019 #include "qtbc.h" 00020 #include "entry.h" 00021 00022 class ParserInterface; 00023 00061 bool parseCommentBlock(ParserInterface *parser, 00062 Entry *curEntry, 00063 const QCString &comment, 00064 const QCString &fileName, 00065 int lineNr, 00066 bool isBrief, 00067 bool isJavaDocStyle, 00068 bool isInbody, 00069 Protection &prot, 00070 int &position, 00071 bool &newEntryNeeded 00072 ); 00073 00074 void groupEnterFile(const char *file,int line); 00075 void groupLeaveFile(const char *file,int line); 00076 void groupLeaveCompound(const char *file,int line,const char *name); 00077 void groupEnterCompound(const char *file,int line,const char *name); 00078 void openGroup(Entry *e,const char *file,int line); 00079 void closeGroup(Entry *,const char *file,int line); 00080 void initGroupInfo(Entry *e); 00081 00082 00083 #endif