Doxygen
lexscanner.h
浏览该文件的文档.
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2021 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17 
18 #ifndef SCANNER_LEX_H
19 #define SCANNER_LEX_H
20 
21 #include "parserintf.h"
22 
23 /** \brief Lex language parser using state-based lexical scanning.
24  *
25  * This is the Lex language parser for doxygen.
26  */
28 {
29  public:
32  void parseInput(const QCString &fileName,
33  const char *fileBuf,
34  const std::shared_ptr<Entry> &root,
35  ClangTUParser *clangParser);
36  bool needsPreprocessing(const QCString &extension) const { return TRUE; };
37  void parsePrototype(const QCString &text){}
38 
39  private:
40  struct Private;
41  std::unique_ptr<Private> p;
42 };
43 #endif
LexOutlineParser::LexOutlineParser
LexOutlineParser()
Private
@ Private
Definition: types.h:26
LexOutlineParser::needsPreprocessing
bool needsPreprocessing(const QCString &extension) const
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed t...
Definition: lexscanner.h:51
LexOutlineParser::~LexOutlineParser
~LexOutlineParser()
LexOutlineParser::parseInput
void parseInput(const QCString &fileName, const char *fileBuf, const std::shared_ptr< Entry > &root, ClangTUParser *clangParser)
Parses a single input file with the goal to build an Entry tree.
LexOutlineParser::p
std::unique_ptr< Private > p
Definition: lexscanner.h:55
parserintf.h
TRUE
#define TRUE
Definition: qcstring.h:36
OutlineParserInterface
Abstract interface for outline parsers.
Definition: parserintf.h:42
ClangTUParser
Clang parser object for a single translation unit, which consists of a source file and the directly o...
Definition: clangparser.h:21
LexOutlineParser
Lex language parser using state-based lexical scanning.
Definition: lexscanner.h:27
LexOutlineParser::parsePrototype
void parsePrototype(const QCString &text)
Callback function called by the comment block scanner.
Definition: lexscanner.h:52
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108