QuantityParser Namespace Reference

Classes

union  yyalloc
 

Typedefs

typedef short int yytype_int16
 
typedef signed char yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef unsigned char yytype_uint8
 

Enumerations

Functions

void free (void *)
 
void * malloc (YYSIZE_T)
 
int QuantityLexer (void)
 
static void yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
 
int yyparse (void)
 

Variables

int yychar
 
static const yytype_int8 yycheck []
 
static const yytype_uint8 yydefact []
 
static const yytype_int8 yydefgoto []
 
YYSTYPE yylval
 
int yynerrs
 
static const yytype_int16 yypact []
 
static const yytype_int8 yypgoto []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
static const yytype_uint8 yystos []
 
static const yytype_uint8 yytable []
 
static const yytype_uint8 yytranslate []
 

Typedef Documentation

typedef signed char QuantityParser::yytype_int8
typedef unsigned short int QuantityParser::yytype_uint16
typedef unsigned char QuantityParser::yytype_uint8

Enumeration Type Documentation

Enumerator
UNIT 
NUM 
MINUSSIGN 
ACOS 
ASIN 
ATAN 
ATAN2 
COS 
EXP 
ABS 
MOD 
LOG 
LOG10 
POW 
SIN 
SINH 
TAN 
TANH 
SQRT 
NEG 

Function Documentation

void QuantityParser::free ( void *  )
void* QuantityParser::malloc ( YYSIZE_T  )
int QuantityParser::QuantityLexer ( void  )
static void QuantityParser::yydestruct ( const char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
)
static
int QuantityParser::yyparse ( void  )

Referenced by Base::Quantity::parse().

Variable Documentation

int QuantityParser::yychar
const yytype_int8 QuantityParser::yycheck[]
static
Initial value:
=
{
0, 3, 0, 5, 22, 3, 23, 24, 26, 26,
0, 28, 27, 23, 24, 3, 26, 21, 27, 19,
22, 23, 24, 21, 26, 27, 24, 25, 26, 27,
28, 29, 30, 31, 32, 33, 34, 35, 36, 27,
27, 27, 40, 41, 42, 43, 44, 47, 48, 27,
50, 49, 3, 4, 5, 6, 7, 8, 27, 10,
11, 12, 27, 14, 15, 27, 17, 18, 19, 20,
21, 4, 5, 6, 7, 8, 27, 10, 11, 12,
5, 14, 15, 27, 17, 18, 19, 20, 21, 5,
27, 27, 23, 24, 27, 26, 5, 22, 23, 24,
27, 26, 26, 28, 5, 27, 22, 23, 24, 26,
26, 5, 28, 22, 23, 24, -1, 26, 5, 28,
-1, 22, 23, 24, -1, 26, 5, 28, 22, 23,
24, -1, 26, 5, 28, 22, 23, 24, -1, 26,
5, 28, -1, 22, 23, 24, -1, 26, 5, 28,
22, 23, 24, -1, 26, 5, 28, 22, 23, 24,
-1, 26, 5, 28, -1, 22, 23, 24, -1, 26,
5, 28, 22, 23, 24, -1, 26, 5, 28, 22,
23, 24, -1, 26, -1, 28, -1, 22, 23, 24,
-1, 26, -1, 28, 22, 23, 24, -1, 26, -1,
28
}
const yytype_uint8 QuantityParser::yydefact[]
static
Initial value:
=
{
2, 28, 7, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
4, 5, 0, 12, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
0, 0, 0, 0, 0, 0, 33, 0, 0, 0,
0, 6, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 14, 32, 9, 8, 10,
11, 13, 29, 30, 31, 15, 16, 17, 27, 19,
18, 20, 21, 22, 23, 24, 25, 26
}
const yytype_int8 QuantityParser::yydefgoto[]
static
Initial value:
=
{
-1, 18, 37, 38, 21
}
YYSTYPE QuantityParser::yylval
int QuantityParser::yynerrs
const yytype_int16 QuantityParser::yypact[]
static
Initial value:
=
{
49, -19, -19, 67, -15, -9, 13, 14, 22, 31,
35, 38, 56, 63, 64, 73, 78, 49, 10, -2,
-10, 67, 67, 76, 67, 67, 67, 67, 67, 67,
67, 67, 67, 67, 67, 67, 67, 75, -17, -19,
67, 67, 67, 67, 67, 12, -10, 12, 12, 67,
-2, -19, 84, 91, 99, 106, 113, 121, 128, 135,
143, 150, 157, 165, 172, -19, -19, 69, 69, 76,
76, 76, 83, 83, -18, -19, -19, -19, -19, -19,
-19, -19, -19, -19, -19, -19, -19, -19
}
const yytype_int8 QuantityParser::yypgoto[]
static
Initial value:
=
{
-19, -19, 2, 0, -4
}
const yytype_uint8 QuantityParser::yyr1[]
static
Initial value:
=
{
0, 29, 30, 30, 30, 30, 30, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 32, 32,
32, 32, 32, 33
}
const yytype_uint8 QuantityParser::yyr2[]
static
Initial value:
=
{
0, 2, 0, 1, 1, 1, 2, 1, 3, 3,
3, 3, 2, 3, 3, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 1, 3,
3, 3, 3, 2
}
const yytype_uint8 QuantityParser::yystos[]
static
Initial value:
=
{
0, 3, 4, 5, 6, 7, 8, 10, 11, 12,
14, 15, 17, 18, 19, 20, 21, 27, 30, 31,
32, 33, 27, 31, 27, 27, 27, 27, 27, 27,
27, 27, 27, 27, 27, 27, 27, 31, 32, 0,
5, 22, 23, 24, 26, 27, 32, 23, 24, 26,
31, 33, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 28, 28, 31, 31, 31,
31, 31, 32, 32, 31, 28, 28, 28, 28, 28,
28, 28, 28, 28, 28, 28, 28, 28
}
const yytype_uint8 QuantityParser::yytable[]
static
Initial value:
=
{
20, 1, 19, 40, 41, 23, 47, 48, 44, 49,
39, 66, 24, 47, 48, 1, 49, 51, 25, 46,
41, 42, 43, 50, 44, 45, 52, 53, 54, 55,
56, 57, 58, 59, 60, 61, 62, 63, 64, 45,
26, 27, 67, 68, 69, 70, 71, 72, 73, 28,
46, 74, 1, 2, 3, 4, 5, 6, 29, 7,
8, 9, 30, 10, 11, 31, 12, 13, 14, 15,
16, 2, 3, 4, 5, 6, 17, 7, 8, 9,
40, 10, 11, 32, 12, 13, 14, 15, 16, 40,
33, 34, 42, 43, 22, 44, 40, 41, 42, 43,
35, 44, 44, 65, 40, 36, 41, 42, 43, 49,
44, 40, 75, 41, 42, 43, 0, 44, 40, 76,
0, 41, 42, 43, 0, 44, 40, 77, 41, 42,
43, 0, 44, 40, 78, 41, 42, 43, 0, 44,
40, 79, 0, 41, 42, 43, 0, 44, 40, 80,
41, 42, 43, 0, 44, 40, 81, 41, 42, 43,
0, 44, 40, 82, 0, 41, 42, 43, 0, 44,
40, 83, 41, 42, 43, 0, 44, 40, 84, 41,
42, 43, 0, 44, 0, 85, 0, 41, 42, 43,
0, 44, 0, 86, 41, 42, 43, 0, 44, 0,
87
}
const yytype_uint8 QuantityParser::yytranslate[]
static