Doxygen
constexp_p.h
浏览该文件的文档.
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
#define YYSTYPE CPPValue
26
#define YY_TYPEDEF_YY_SCANNER_T
27
28
struct
yyguts_t;
29
typedef
yyguts_t*
yyscan_t
;
30
struct
constexpYY_state
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
cppvalue.h
constexpYYget_extra
constexpYY_state * constexpYYget_extra(yyscan_t yyscanner)
constexpYY_state
Definition:
constexp_p.h:30
CPPValue
A class representing a C-preprocessor value.
Definition:
cppvalue.h:23
constexpYY_state::constExpFileName
std::string constExpFileName
Definition:
constexp_p.h:35
constexpYY_state::constExpLineNr
int constExpLineNr
Definition:
constexp_p.h:34
constexpYY_state::inputString
std::string inputString
Definition:
constexp_p.h:37
constexpYYlex
int constexpYYlex(YYSTYPE *lvalp, yyscan_t)
constexpYYparse
int constexpYYparse(yyscan_t)
yyscan_t
yyguts_t * yyscan_t
Definition:
constexp_p.h:28
YYSTYPE
#define YYSTYPE
Definition:
constexp_p.h:25
constexpYY_state::inputPosition
int inputPosition
Definition:
constexp_p.h:38
constexpYY_state::resultValue
CPPValue resultValue
Definition:
constexp_p.h:33
constexpYY_state::strToken
std::string strToken
Definition:
constexp_p.h:32
src
constexp_p.h
生成于 2021年 十一月 27日 星期六 08:40:51 , 为 Doxygen使用
1.8.17