Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
fileparser.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2015 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
#ifndef FILEPARSER_H
17
#define FILEPARSER_H
18
19
#include "
parserintf.h
"
20
21
/** @brief Generic code parser */
22
class
FileCodeParser
final :
public
CodeParserInterface
23
{
24
public
:
25
void
parseCode
(
OutputCodeList
&codeOutIntf,
26
const
DString
&scopeName,
27
const
DString
&input,
28
SrcLangExt
lang,
29
bool
stripCodeComments,
30
const
CodeParserOptions
&options
31
)
override
;
32
void
resetCodeParserState
()
override
{}
33
};
34
35
#endif
CodeParserInterface
Abstract interface for code parsers.
Definition
parserintf.h:141
DString
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition
dstring.h:88
FileCodeParser
Generic code parser.
Definition
fileparser.h:23
FileCodeParser::parseCode
void parseCode(OutputCodeList &codeOutIntf, const DString &scopeName, const DString &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.
Definition
fileparser.cpp:20
FileCodeParser::resetCodeParserState
void resetCodeParserState() override
Resets the state of the code parser.
Definition
fileparser.h:32
OutputCodeList
Class representing a list of different code generators.
Definition
outputlist.h:162
parserintf.h
CodeParserOptions
Options to configure the code parser.
Definition
parserintf.h:77
SrcLangExt
SrcLangExt
Definition
types.h:207
src
fileparser.h
Generated by
1.19.0