Doxygen
Loading...
Searching...
No Matches
constexp_p.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Copyright (C) 1997-2021 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 CONSTEXP_P_H
17#define CONSTEXP_P_H
18
19#include <string>
20
21//! @file
22//! @brief Private interface between Parser (constexp.y) and Lexer (constexp.l)
23
24#include "cppvalue.h"
25#ifdef YYSTYPE
26#undef YYSTYPE
27#endif
28#define YYSTYPE CPPValue
29#define YY_TYPEDEF_YY_SCANNER_T
30
31struct yyguts_t;
32typedef yyguts_t* yyscan_t;
34{
35 std::string strToken;
38 std::string constExpFileName;
39
40 std::string orgString;
41 std::string inputString;
43};
45
48
49
50#endif
A class representing a C-preprocessor value.
Definition cppvalue.h:24
yyguts_t * yyscan_t
Definition code.l:24
#define YYSTYPE
Definition constexp_p.h:28
int constexpYYparse(yyscan_t)
constexpYY_state * constexpYYget_extra(yyscan_t yyscanner)
int constexpYYlex(YYSTYPE *lvalp, yyscan_t)
std::string inputString
Definition constexp_p.h:41
std::string orgString
Definition constexp_p.h:40
CPPValue resultValue
Definition constexp_p.h:36
std::string strToken
Definition constexp_p.h:35
std::string constExpFileName
Definition constexp_p.h:38