Doxygen
Loading...
Searching...
No Matches
lexscanner.h
Go to the documentation of this file.
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:
31 ~LexOutlineParser() override;
33 void parseInput(const QCString &fileName,
34 const char *fileBuf,
35 const std::shared_ptr<Entry> &root,
36 ClangTUParser *clangParser) override;
37 bool needsPreprocessing(const QCString &/* extension */) const override { return TRUE; };
38 void parsePrototype(const QCString &/* text */) override {}
39
40 private:
41 struct Private;
42 std::unique_ptr<Private> p;
43};
44#endif
~LexOutlineParser() override
std::unique_ptr< Private > p
Definition lexscanner.h:42
bool needsPreprocessing(const QCString &) const override
Returns TRUE if the language identified by extension needs the C preprocessor to be run before feed t...
Definition lexscanner.h:37
void parsePrototype(const QCString &) override
Callback function called by the comment block scanner.
Definition lexscanner.h:38
Abstract interface for outline parsers.
Definition parserintf.h:42
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37
void parseInput()
#define TRUE
Definition qcstring.h:37