Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
vhdlcode.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2020 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
#ifndef VHDLCODE_H
16
#define VHDLCODE_H
17
18
#include "
parserintf.h
"
19
20
class
FileDef
;
21
class
MemberDef
;
22
23
void
codeFreeVhdlScanner
();
24
25
class
VHDLCodeParser
:
public
CodeParserInterface
26
{
27
public
:
28
VHDLCodeParser
();
29
~VHDLCodeParser
()
override
;
30
NON_COPYABLE
(
VHDLCodeParser
)
31
32
void
parseCode
(
OutputCodeList
&codeOutIntf,
33
const
QCString
&scopeName,
34
const
QCString
&input,
35
SrcLangExt
lang,
36
bool
stripCodeComments,
37
const
CodeParserOptions
&options
38
)
override
;
39
void
resetCodeParserState
()
override
;
40
private
:
41
struct
Private
;
42
std::unique_ptr<Private>
p
;
43
};
44
45
#endif
CodeParserInterface
Abstract interface for code parsers.
Definition
parserintf.h:142
FileDef
A model of a file symbol.
Definition
filedef.h:99
MemberDef
A model of a class/file/namespace member symbol.
Definition
memberdef.h:48
OutputCodeList
Class representing a list of different code generators.
Definition
outputlist.h:165
QCString
This is an alternative implementation of QCString.
Definition
qcstring.h:101
VHDLCodeParser::resetCodeParserState
void resetCodeParserState() override
Resets the state of the code parser.
Definition
vhdlcode.l:1646
VHDLCodeParser::VHDLCodeParser
VHDLCodeParser()
Definition
vhdlcode.l:1632
VHDLCodeParser::parseCode
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.
Definition
vhdlcode.l:1651
VHDLCodeParser::~VHDLCodeParser
~VHDLCodeParser() override
Definition
vhdlcode.l:1641
VHDLCodeParser::p
std::unique_ptr< Private > p
Definition
vhdlcode.h:42
NON_COPYABLE
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition
construct.h:37
parserintf.h
CodeParserOptions
Options to configure the code parser.
Definition
parserintf.h:78
VHDLCodeParser::Private
Definition
vhdlcode.l:1627
SrcLangExt
SrcLangExt
Definition
types.h:207
codeFreeVhdlScanner
void codeFreeVhdlScanner()
src
vhdlcode.h
Generated by
1.17.0