|
Doxygen
|
#include <src/vhdlcode.h>
Classes | |
| struct | Private |
Public Member Functions | |
| VHDLCodeParser () | |
| ~VHDLCodeParser () override | |
| void | parseCode (OutputCodeList &codeOutIntf, const QCString &scopeName, const QCString &input, SrcLangExt lang, bool stripCodeComments, const CodeParserOptions &options) override |
| Parses a source file or fragment with the goal to produce highlighted and cross-referenced output. | |
| void | resetCodeParserState () override |
| Resets the state of the code parser. | |
Private Attributes | |
| std::unique_ptr< Private > | p |
Definition at line 25 of file vhdlcode.h.
| VHDLCodeParser::VHDLCodeParser | ( | ) |
Definition at line 1632 of file vhdlcode.l.
References Debug::isFlagSet(), Debug::Lex_vhdlcode, and p.
|
override |
Definition at line 1641 of file vhdlcode.l.
References p.
|
overridevirtual |
Parses a source file or fragment with the goal to produce highlighted and cross-referenced output.
| [in] | codeOutList | interface for writing the result. |
| [in] | scopeName | Name of scope to which the code belongs. |
| [in] | input | Actual code in the form of a string |
| [in] | lang | The programming language of the code fragment. |
| [in] | stripCodeComments | signals whether or not for the code block the doxygen comments should be stripped. |
| [in] | options | Additional options to configure the parser. |
Implements CodeParserInterface.
Definition at line 1651 of file vhdlcode.l.
References Config_getBool, convertNameToFile(), countLines(), createFileDef(), QCString::data(), endCodeLine(), CodeParserOptions::endLine(), CodeParserOptions::exampleName(), CodeParserOptions::fileDef(), FileDef::fileName(), MemberDef::getClassDef(), VhdlDocGen::init(), CodeParserOptions::inlineFragment(), QCString::isEmpty(), CodeParserOptions::isExample(), Debug::Lex_vhdlcode, CodeParserOptions::memberDef(), Definition::name(), p, qPrint(), resetCodeParserState(), CodeParserOptions::searchCtx(), setCurrentDoc(), startCodeLine(), CodeParserOptions::startLine(), and OutputCodeList::stripCodeComments().
|
overridevirtual |
Resets the state of the code parser.
Since multiple code fragments can together form a single example, an explicit function is used to reset the code parser state.
Implements CodeParserInterface.
Definition at line 1646 of file vhdlcode.l.
References p.
Referenced by parseCode().
|
private |
Definition at line 42 of file vhdlcode.h.
Referenced by parseCode(), resetCodeParserState(), VHDLCodeParser(), and ~VHDLCodeParser().