|
Doxygen
|
Options to configure the code parser. More...
#include <src/parserintf.h>
Public Member Functions | |
| bool | isExample () const |
| QCString | exampleName () const |
| const FileDef * | fileDef () const |
| int | startLine () const |
| int | endLine () const |
| bool | inlineFragment () const |
| const MemberDef * | memberDef () const |
| bool | showLineNumbers () const |
| const Definition * | searchCtx () const |
| bool | collectXRefs () const |
| CodeParserOptions & | setExample (bool isExample, const QCString &name) |
| Associate this comment block with a given example. | |
| CodeParserOptions & | setFileDef (const FileDef *fd) |
| CodeParserOptions & | setStartLine (int lineNr) |
| CodeParserOptions & | setEndLine (int lineNr) |
| CodeParserOptions & | setInlineFragment (bool enable) |
| CodeParserOptions & | setMemberDef (const MemberDef *md) |
| CodeParserOptions & | setShowLineNumbers (bool enable) |
| CodeParserOptions & | setSearchCtx (const Definition *d) |
| CodeParserOptions & | setCollectXRefs (bool enable) |
Private Attributes | |
| bool | m_isExample = false |
| QCString | m_exampleName |
| const FileDef * | m_fileDef = nullptr |
| int | m_startLine = -1 |
| int | m_endLine = -1 |
| bool | m_inlineFragment = false |
| const MemberDef * | m_memberDef = nullptr |
| bool | m_showLineNumbers = true |
| const Definition * | m_searchCtx = nullptr |
| bool | m_collectXRefs = true |
Options to configure the code parser.
Definition at line 77 of file parserintf.h.
|
inline |
Definition at line 90 of file parserintf.h.
References m_collectXRefs.
Referenced by CCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), and PythonCodeParser::parseCode().
|
inline |
Definition at line 85 of file parserintf.h.
References m_endLine.
Referenced by CCodeParser::parseCode(), FileCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), and XMLCodeParser::parseCode().
|
inline |
Definition at line 82 of file parserintf.h.
References m_exampleName.
Referenced by CCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), and XMLCodeParser::parseCode().
|
inline |
Definition at line 83 of file parserintf.h.
References m_fileDef.
Referenced by CCodeParser::parseCode(), FileCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), and XMLCodeParser::parseCode().
|
inline |
Definition at line 86 of file parserintf.h.
References m_inlineFragment.
Referenced by CCodeParser::parseCode(), FileCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), and XMLCodeParser::parseCode().
|
inline |
Definition at line 81 of file parserintf.h.
References m_isExample.
Referenced by CCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), XMLCodeParser::parseCode(), and setExample().
|
inline |
Definition at line 87 of file parserintf.h.
References m_memberDef.
Referenced by CCodeParser::parseCode(), LexCodeParser::parseCode(), and VHDLCodeParser::parseCode().
|
inline |
Definition at line 89 of file parserintf.h.
References m_searchCtx.
Referenced by CCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), and XMLCodeParser::parseCode().
|
inline |
Definition at line 119 of file parserintf.h.
References m_collectXRefs.
Referenced by CodeFragmentManager::parseCodeFragment().
|
inline |
Definition at line 104 of file parserintf.h.
References m_endLine.
Referenced by DefinitionImpl::writeInlineCode(), and VhdlDocGen::writeSource().
|
inline |
Associate this comment block with a given example.
Definition at line 95 of file parserintf.h.
References isExample(), m_exampleName, and m_isExample.
|
inline |
Definition at line 98 of file parserintf.h.
References m_fileDef.
Referenced by DocbookDocVisitor::operator()(), DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 107 of file parserintf.h.
References m_inlineFragment.
Referenced by HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), CodeFragmentManager::parseCodeFragment(), DefinitionImpl::writeInlineCode(), and VhdlDocGen::writeSource().
|
inline |
Definition at line 110 of file parserintf.h.
References m_memberDef.
Referenced by DefinitionImpl::writeInlineCode(), and VhdlDocGen::writeSource().
|
inline |
Definition at line 116 of file parserintf.h.
References m_searchCtx.
Referenced by HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), and HtmlDocVisitor::operator()().
|
inline |
Definition at line 113 of file parserintf.h.
References m_showLineNumbers.
Referenced by DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), LatexDocVisitor::operator()(), ManDocVisitor::operator()(), ManDocVisitor::operator()(), RTFDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), and XmlDocVisitor::operator()().
|
inline |
Definition at line 101 of file parserintf.h.
References m_startLine.
Referenced by DocbookDocVisitor::operator()(), HtmlDocVisitor::operator()(), LatexDocVisitor::operator()(), RTFDocVisitor::operator()(), XmlDocVisitor::operator()(), DefinitionImpl::writeInlineCode(), and VhdlDocGen::writeSource().
|
inline |
Definition at line 88 of file parserintf.h.
References m_showLineNumbers.
Referenced by CCodeParser::parseCode(), FileCodeParser::parseCode(), and LexCodeParser::parseCode().
|
inline |
Definition at line 84 of file parserintf.h.
References m_startLine.
Referenced by CCodeParser::parseCode(), FileCodeParser::parseCode(), FortranCodeParser::parseCode(), LexCodeParser::parseCode(), PythonCodeParser::parseCode(), SQLCodeParser::parseCode(), VHDLCodeParser::parseCode(), and XMLCodeParser::parseCode().
|
private |
Definition at line 132 of file parserintf.h.
Referenced by collectXRefs(), and setCollectXRefs().
|
private |
Definition at line 127 of file parserintf.h.
Referenced by endLine(), and setEndLine().
|
private |
Definition at line 124 of file parserintf.h.
Referenced by exampleName(), and setExample().
|
private |
Definition at line 125 of file parserintf.h.
Referenced by fileDef(), and setFileDef().
|
private |
Definition at line 128 of file parserintf.h.
Referenced by inlineFragment(), and setInlineFragment().
|
private |
Definition at line 123 of file parserintf.h.
Referenced by isExample(), and setExample().
|
private |
Definition at line 129 of file parserintf.h.
Referenced by memberDef(), and setMemberDef().
|
private |
Definition at line 131 of file parserintf.h.
Referenced by searchCtx(), and setSearchCtx().
|
private |
Definition at line 130 of file parserintf.h.
Referenced by setShowLineNumbers(), and showLineNumbers().
|
private |
Definition at line 126 of file parserintf.h.
Referenced by setStartLine(), and startLine().