My Project
|
#include <stdio.h>
#include <qlist.h>
#include <qcstring.h>
#include "docvisitor.h"
#include "htmlattrib.h"
Go to the source code of this file.
Functions | |
DocRoot * | validatingParseDoc (const char *fileName, int startLine, Definition *context, MemberDef *md, const char *input, bool indexWords, bool isExample, const char *exampleName=0, bool singleLine=FALSE, bool linkFromIndex=FALSE) |
DocText * | validatingParseText (const char *input) |
void | docFindSections (const char *input, Definition *d, MemberGroup *m, const char *fileName) |
void docFindSections | ( | const char * | input, |
Definition * | d, | ||
MemberGroup * | m, | ||
const char * | fileName | ||
) |
Searches for section and anchor commands in the input
Definition at line 7475 of file docparser.cpp.
References doctokenizerYYFindSections().
Referenced by PageDef::findSectionsInDocumentation(), MemberGroup::findSectionsInDocumentation(), GroupDef::findSectionsInDocumentation(), NamespaceDef::findSectionsInDocumentation(), FileDef::findSectionsInDocumentation(), ClassDef::findSectionsInDocumentation(), and MemberDef::findSectionsInDocumentation().
DocRoot* validatingParseDoc | ( | const char * | fileName, |
int | startLine, | ||
Definition * | context, | ||
MemberDef * | md, | ||
const char * | input, | ||
bool | indexWords, | ||
bool | isExample, | ||
const char * | exampleName = 0 , |
||
bool | singleLine = FALSE , |
||
bool | linkFromIndex = FALSE |
||
) |
Main entry point for the documentation parser.
fileName | File in which the documentation block is found (or the name of the example file in case isExample is TRUE). |
startLine | Line at which the documentation block is found. |
context | Class or namespace to which this block belongs. |
md | Member definition to which the documentation belongs. Can be 0. |
input | String representation of the documentation block. |
indexWords | Indicates whether or not words should be put in the search index. |
isExample | TRUE if the documentation belongs to an example. |
exampleName | Base name of the example file (0 if isExample is FALSE). |
singleLine | Output should be presented on a single line, so without starting a new paragraph at the end. |
linkFromIndex | TRUE if the documentation is generated from an index page. In this case context is not used to determine the relative path when making a link. |
Definition at line 7220 of file docparser.cpp.
References DocRoot::accept(), MemberDef::anchor(), Definition::anchor(), checkUndocumentedParams(), ClassDef::compoundTypeString(), DefinitionIntf::definitionType(), detectNoDocumentedParams(), docParserPopContext(), docParserPushContext(), doctokenizerYYinit(), doctokenizerYYlineno, g_context, g_exampleName, g_fileName, g_hasParamCommand, g_hasReturnCommand, g_includeFileLength, g_includeFileOffset, g_includeFileText, g_initialStyleStack, g_inSeeBlock, g_insideHtmlLink, g_isExample, g_nodeStack, g_paramsFound, g_relPath, g_searchUrl, g_styleStack, g_xmlComment, Definition::getLanguage(), getLanguageSpecificSeparator(), MemberDef::getOutputFileBase(), Definition::getOutputFileBase(), Doxygen::globalScope, GroupDef::groupTitle(), Debug::isFlagSet(), Definition::name(), DocRoot::parse(), Debug::PrintTree, processCopyDoc(), MemberDef::qualifiedName(), Definition::qualifiedName(), relativePathToRoot(), Doxygen::searchIndex, SearchIndexIntf::setCurrentDoc(), SrcLangExt_CSharp, SrcLangExt_Fortran, SrcLangExt_Java, substitute(), theTranslator, PageDef::title(), Translator::trGroup(), Translator::trMember(), Translator::trModule(), Translator::trNamespace(), Translator::trPackage(), Translator::trPage(), Translator::trSubprogram(), DefinitionIntf::TypeClass, DefinitionIntf::TypeGroup, DefinitionIntf::TypeNamespace, and DefinitionIntf::TypePage.
Referenced by addPerlModDocBlock(), generateBriefDoc(), OutputList::generateDoc(), parseCommentAsText(), parseDoc(), DirDef::writeBriefDescription(), NamespaceDef::writeBriefDescription(), GroupDef::writeBriefDescription(), FileDef::writeBriefDescription(), MemberDef::writeDeclaration(), ClassDef::writeDeclarationLink(), writeDocbookDocBlock(), MemberList::writePlainDeclarations(), and writeXMLDocBlock().
DocText* validatingParseText | ( | const char * | input | ) |
Main entry point for parsing simple text fragments. These fragments are limited to words, whitespace and symbols.
Definition at line 7422 of file docparser.cpp.
References DocText::accept(), docParserPopContext(), docParserPushContext(), doctokenizerYYinit(), doctokenizerYYlineno, g_context, g_exampleName, g_fileName, g_hasParamCommand, g_hasReturnCommand, g_includeFileLength, g_includeFileOffset, g_includeFileText, g_initialStyleStack, g_inSeeBlock, g_insideHtmlLink, g_isExample, g_nodeStack, g_paramsFound, g_relPath, g_searchUrl, g_styleStack, g_xmlComment, Debug::isFlagSet(), DocText::parse(), and Debug::PrintTree.
Referenced by RTFGenerator::endIndexSection(), and OutputList::parseText().