Interface for the comment block parser. More...
#include "types.h"
Go to the source code of this file.
Functions | |
bool | parseCommentBlock (ParserInterface *parser, Entry *curEntry, const QCString &comment, const QCString &fileName, int &lineNr, bool isBrief, bool isJavaDocStyle, bool isInbody, Protection &prot, int &position, bool &newEntryNeeded) |
void | groupEnterFile (const char *file, int line) |
void | groupLeaveFile (const char *file, int line) |
void | groupLeaveCompound (const char *file, int line, const char *name) |
void | groupEnterCompound (const char *file, int line, const char *name) |
void | openGroup (Entry *e, const char *file, int line) |
void | closeGroup (Entry *, const char *file, int line, bool foundInline=FALSE) |
void | initGroupInfo (Entry *e) |
Interface for the comment block parser.
Definition in file commentscan.h.
Definition at line 8382 of file commentscan.cpp.
void groupEnterCompound | ( | const char * | file, |
int | line, | ||
const char * | name | ||
) |
Definition at line 8299 of file commentscan.cpp.
void groupEnterFile | ( | const char * | file, |
int | line | ||
) |
Definition at line 8274 of file commentscan.cpp.
void groupLeaveCompound | ( | const char * | file, |
int | line, | ||
const char * | name | ||
) |
Definition at line 8321 of file commentscan.cpp.
void groupLeaveFile | ( | const char * | file, |
int | line | ||
) |
Definition at line 8284 of file commentscan.cpp.
void initGroupInfo | ( | Entry * | e | ) |
Definition at line 8412 of file commentscan.cpp.
void openGroup | ( | Entry * | e, |
const char * | file, | ||
int | line | ||
) |
Definition at line 8354 of file commentscan.cpp.
bool parseCommentBlock | ( | ParserInterface * | parser, |
Entry * | curEntry, | ||
const QCString & | comment, | ||
const QCString & | fileName, | ||
int & | lineNr, | ||
bool | isBrief, | ||
bool | isJavaDocStyle, | ||
bool | isInbody, | ||
Protection & | prot, | ||
int & | position, | ||
bool & | newEntryNeeded | ||
) |
Invokes the comment block parser with the request to parse a single comment block.
[in] | parser | The language parse that invoked this function. The comment block parse may invoke ParserInterface::parsePrototype() in order to parse the argument of a @fn command. |
[in] | curEntry | The Entry to which the comment block belongs. Any information (like documentation) that is found in the comment block will be stored in this entry. |
[in] | comment | A string representing the actual comment block. Note that leading *'s are already stripped from the comment block. |
[in] | fileName | The name of the file in which the comment is found. Mainly used for producing warnings. |
[in,out] | lineNr | The line number at which the comment block was found. When the function returns it will be set to the last line parsed. |
[in] | isBrief | TRUE iff this comment block represents a brief description. |
[in] | isJavaDocStyle | TRUE iff this comment block is in "JavaDoc" style. This means that it starts as a brief description until the end of the sentences is found and then proceeds as a detailed description. |
[in] | isInbody | TRUE iff this comment block is located in the body of a function. |
[in,out] | prot | The protection level in which this comment block was found. Commands in the comment block may override this. |
[in,out] | position | The character position within comment where the comment block starts. Typically used in case the comment block contains multiple structural commands. |
[out] | newEntryNeeded | Boolean that is TRUE if the comment block parser finds that a the comment block finishes the entry and a new one needs to be started. |
Definition at line 8149 of file commentscan.cpp.