doxygen
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 
23 
24 #include "cppvalue.h"
25 #define YYSTYPE CPPValue
26 #define YY_TYPEDEF_YY_SCANNER_T
27 
28 struct yyguts_t;
29 typedef yyguts_t* yyscan_t;
31 {
32  std::string strToken;
33  CPPValue resultValue;
34  int constExpLineNr;
35  std::string constExpFileName;
36 
37  std::string inputString;
38  int inputPosition;
39 };
40 constexpYY_state* constexpYYget_extra(yyscan_t yyscanner );
41 
42 extern int constexpYYlex(YYSTYPE *lvalp, yyscan_t);
43 extern int constexpYYparse(yyscan_t);
44 
45 
46 #endif
Definition: constexp_p.h:30
A class representing a C-preprocessor value.
Definition: cppvalue.h:23
Definition: mscgen_language.h:156