#include <cstdio>
#include <list>
#include <papyrus/path_element.h>
#include <stdio.h>
Namespaces | |
namespace | Papyrus |
Defines | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.4.1" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYLSP_NEEDED 0 |
#define | yyparse path_data_parse |
#define | yylex path_data_lex |
#define | yyerror path_data_error |
#define | yylval path_data_lval |
#define | yychar path_data_char |
#define | yydebug path_data_debug |
#define | yynerrs path_data_nerrs |
#define | YYDEBUG 1 |
#define | YYERROR_VERBOSE 0 |
#define | YYTOKEN_TABLE 0 |
#define | MOVETO 258 |
#define | REL_MOVETO 259 |
#define | CLOSEPATH 260 |
#define | LINETO 261 |
#define | REL_LINETO 262 |
#define | VERTICAL_LINETO 263 |
#define | REL_VERTICAL_LINETO 264 |
#define | HORIZONTAL_LINETO 265 |
#define | REL_HORIZONTAL_LINETO 266 |
#define | CURVETO 267 |
#define | REL_CURVETO 268 |
#define | SMOOTH_CURVETO 269 |
#define | REL_SMOOTH_CURVETO 270 |
#define | QUADRATIC_BEZIER_CURVETO 271 |
#define | SMOOTH_QUADRATIC_BEZIER_CURVETO 272 |
#define | ELLIPTICAL_ARC 273 |
#define | EXPONENT 274 |
#define | SIGN 275 |
#define | DIGIT_SEQUENCE 276 |
#define | FRACTIONAL_CONSTANT 277 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | yystype YYSTYPE |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(msgid) msgid |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYFINAL 17 |
#define | YYLAST 261 |
#define | YYNTOKENS 26 |
#define | YYNNTS 42 |
#define | YYNRULES 106 |
#define | YYNSTATES 184 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 277 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -114 |
#define | YYTABLE_NINF -1 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
#define | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex () |
#define | YYFPRINTF fprintf |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { MOVETO = 258, REL_MOVETO = 259, CLOSEPATH = 260, LINETO = 261, REL_LINETO = 262, VERTICAL_LINETO = 263, REL_VERTICAL_LINETO = 264, HORIZONTAL_LINETO = 265, REL_HORIZONTAL_LINETO = 266, CURVETO = 267, REL_CURVETO = 268, SMOOTH_CURVETO = 269, REL_SMOOTH_CURVETO = 270, QUADRATIC_BEZIER_CURVETO = 271, SMOOTH_QUADRATIC_BEZIER_CURVETO = 272, ELLIPTICAL_ARC = 273, EXPONENT = 274, SIGN = 275, DIGIT_SEQUENCE = 276, FRACTIONAL_CONSTANT = 277, MOVETO = 258, REL_MOVETO = 259, CLOSEPATH = 260, LINETO = 261, REL_LINETO = 262, VERTICAL_LINETO = 263, REL_VERTICAL_LINETO = 264, HORIZONTAL_LINETO = 265, REL_HORIZONTAL_LINETO = 266, CURVETO = 267, REL_CURVETO = 268, SMOOTH_CURVETO = 269, REL_SMOOTH_CURVETO = 270, QUADRATIC_BEZIER_CURVETO = 271, SMOOTH_QUADRATIC_BEZIER_CURVETO = 272, ELLIPTICAL_ARC = 273, EXPONENT = 274, SIGN = 275, DIGIT_SEQUENCE = 276, FRACTIONAL_CONSTANT = 277, MOVETO = 258, CLOSEPATH = 259, LINETO = 260, VERTICAL_LINETO = 261, HORIZONTAL_LINETO = 262, CURVETO = 263, SMOOTH_CURVETO = 264, QUADRATIC_BEZIER_CURVETO = 265, SMOOTH_QUADRATIC_BEZIER_CURVETO = 266, ELLIPTICAL_ARC = 267, COMMA_WSP = 268, EXPONENT = 269, SIGN = 270, DIGIT_SEQUENCE = 271, FRACTIONAL_CONSTANT = 272 } |
Functions | |
int | path_data_parse (void) |
int | path_data_lex (void) |
int | path_data_wrap () |
void | path_data_error (char const *s) |
static void | yy_symbol_value_print (yyoutput, yytype, yyvaluep) FILE *yyoutput |
if (!yyvaluep) return | |
YYUSE (yyoutput) | |
switch (yytype) | |
static void | yy_symbol_print (yyoutput, yytype, yyvaluep) FILE *yyoutput |
static void | yydestruct (yymsg, yytype, yyvaluep) const char *yymsg |
int | yyparse () |
void | init_path_data_lexer (const char *src) |
void | finalize_path_data_lexer () |
std::list< PathElement::pointer > | Papyrus::path_data_parser (const char *src) |
Utility method to parse a SVG transform string into a list of path data elements. | |
Variables | |
std::list < Papyrus::PathElement::pointer > | path_data_list |
static const yytype_uint8 | yytranslate [] |
static const yytype_uint16 | yyprhs [] |
static const yytype_int8 | yyrhs [] |
static const yytype_uint16 | yyrline [] |
static const char *const | yytname [] |
static const yytype_uint8 | yyr1 [] |
static const yytype_uint8 | yyr2 [] |
static const yytype_uint8 | yydefact [] |
static const yytype_int16 | yydefgoto [] |
static const yytype_int16 | yypact [] |
static const yytype_int8 | yypgoto [] |
static const yytype_uint8 | yytable [] |
static const yytype_int16 | yycheck [] |
static const yytype_uint8 | yystos [] |
int | yytype |
YYSTYPE const *const | yyvaluep |
yytype_int16 * | yytop |
int | yyrule |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define CLOSEPATH 260 |
Referenced by while().
#define CURVETO 267 |
Referenced by while().
#define DIGIT_SEQUENCE 276 |
Referenced by while().
#define ELLIPTICAL_ARC 273 |
Referenced by while().
#define EXPONENT 274 |
Referenced by while().
#define FRACTIONAL_CONSTANT 277 |
Referenced by while().
#define HORIZONTAL_LINETO 265 |
Referenced by while().
#define LINETO 261 |
Referenced by while().
#define MOVETO 258 |
Referenced by while().
#define QUADRATIC_BEZIER_CURVETO 271 |
Referenced by while().
#define REL_CURVETO 268 |
Referenced by while().
#define REL_HORIZONTAL_LINETO 266 |
Referenced by while().
#define REL_LINETO 262 |
Referenced by while().
#define REL_MOVETO 259 |
Referenced by while().
#define REL_SMOOTH_CURVETO 270 |
Referenced by while().
#define REL_VERTICAL_LINETO 264 |
Referenced by while().
#define SIGN 275 |
Referenced by while().
#define SMOOTH_CURVETO 269 |
Referenced by while().
#define SMOOTH_QUADRATIC_BEZIER_CURVETO 272 |
Referenced by while().
#define VERTICAL_LINETO 263 |
Referenced by while().
#define YY_ | ( | msgid | ) | msgid |
Referenced by yyparse().
#define YY_LOCATION_PRINT | ( | File, | |||
Loc | ) | ((void) 0) |
#define YY_REDUCE_PRINT | ( | Rule | ) |
#define YY_STACK_PRINT | ( | Bottom, | |||
Top | ) |
#define YY_SYMBOL_PRINT | ( | Title, | |||
Type, | |||||
Value, | |||||
Location | ) |
#define YYABORT goto yyabortlab |
Referenced by yyparse().
#define YYACCEPT goto yyacceptlab |
Referenced by yyparse().
#define YYBACKUP | ( | Token, | |||
Value | ) |
#define YYBISON 1 |
#define YYBISON_VERSION "2.4.1" |
#define yychar path_data_char |
#define yyclearin (yychar = YYEMPTY) |
#define YYCOPY | ( | To, | |||
From, | |||||
Count | ) |
#define YYDEBUG 1 |
#define yydebug path_data_debug |
#define YYDPRINTF | ( | Args | ) |
#define YYEMPTY (-2) |
Referenced by yyparse().
#define YYEOF 0 |
Referenced by yyparse().
#define YYERRCODE 256 |
#define yyerrok (yyerrstatus = 0) |
#define YYERROR goto yyerrorlab |
#define yyerror path_data_error |
Referenced by yyparse().
#define YYERROR_VERBOSE 0 |
#define YYFAIL goto yyerrlab |
#define YYFINAL 17 |
Referenced by yyparse().
#define YYFPRINTF fprintf |
#define YYFREE free |
#define YYID | ( | n | ) | (n) |
Referenced by yyparse().
#define YYINITDEPTH 200 |
Referenced by yyparse().
#define YYLAST 261 |
Referenced by yyparse().
#define YYLEX yylex () |
Referenced by yyparse().
#define yylex path_data_lex |
#define YYLLOC_DEFAULT | ( | Current, | |||
Rhs, | |||||
N | ) |
do \ if (YYID (N)) \ { \ (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC (Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0))
#define YYLSP_NEEDED 0 |
#define yylval path_data_lval |
#define YYMALLOC malloc |
#define YYMAXDEPTH 10000 |
Referenced by yyparse().
#define YYMAXUTOK 277 |
#define yynerrs path_data_nerrs |
#define YYNNTS 42 |
#define YYNRULES 106 |
#define YYNSTATES 184 |
#define YYNTOKENS 26 |
Referenced by yyparse().
#define YYPACT_NINF -114 |
Referenced by yyparse().
#define yyparse path_data_parse |
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
Referenced by yyparse().
#define YYPULL 1 |
#define YYPURE 0 |
#define YYPUSH 0 |
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
#define YYRHSLOC | ( | Rhs, | |||
K | ) | ((Rhs)[K]) |
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define YYSIZE_T unsigned int |
Referenced by yyparse().
#define YYSKELETON_NAME "yacc.c" |
#define YYSTACK_ALLOC YYMALLOC |
Referenced by yyparse().
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Referenced by yyparse().
#define YYSTACK_BYTES | ( | N | ) |
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
Referenced by yyparse().
#define YYSTACK_FREE YYFREE |
Referenced by yyparse().
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |||
Stack | ) |
do \ { \ YYSIZE_T yynewbytes; \ YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ Stack = &yyptr->Stack_alloc; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ yyptr += yynewbytes / sizeof (*yyptr); \ } \ while (YYID (0))
Referenced by yyparse().
#define yystype YYSTYPE |
#define YYSTYPE_IS_DECLARED 1 |
#define YYSTYPE_IS_TRIVIAL 1 |
#define YYTABLE_NINF -1 |
Referenced by yyparse().
#define YYTERROR 1 |
Referenced by yyparse().
#define YYTOKEN_TABLE 0 |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Referenced by yyparse().
#define YYUNDEFTOK 2 |
#define YYUSE | ( | e | ) | ((void) (e)) |
typedef short int yytype_int16 |
typedef short int yytype_int8 |
typedef unsigned short int yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
void finalize_path_data_lexer | ( | ) |
References path_data__delete_buffer().
Referenced by Papyrus::path_data_parser().
if | ( | ! | yyvaluep | ) |
void init_path_data_lexer | ( | const char * | src | ) |
References path_data__scan_string().
Referenced by Papyrus::path_data_parser().
void path_data_error | ( | char const * | s | ) |
int path_data_lex | ( | void | ) |
int path_data_parse | ( | void | ) |
Referenced by Papyrus::path_data_parser().
int path_data_wrap | ( | ) |
switch | ( | yytype | ) |
int yyparse | ( | ) |
References Papyrus::PathElement::create(), Papyrus::PATH_CLOSE, Papyrus::PATH_CURVETO, path_data_list, Papyrus::PATH_HORIZONTAL_LINETO, Papyrus::PATH_LINETO, Papyrus::PATH_MOVETO, Papyrus::PATH_REL_CURVETO, Papyrus::PATH_REL_HORIZONTAL_LINETO, Papyrus::PATH_REL_LINETO, Papyrus::PATH_REL_MOVETO, Papyrus::PATH_REL_SMOOTH_CURVETO, Papyrus::PATH_REL_VERTICAL_LINETO, Papyrus::PATH_SMOOTH_CURVETO, Papyrus::PATH_VERTICAL_LINETO, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yyalloc, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, YYMAXDEPTH, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYTABLE_NINF, YYTERROR, and YYTRANSLATE.
YYUSE | ( | yyoutput | ) |
std::list<Papyrus::PathElement::pointer> path_data_list |
Referenced by Papyrus::path_data_parser(), and yyparse().
int yychar |
const yytype_int16 yycheck[] [static] |
{ 1, 2, 83, 85, 21, 78, 6, 6, 0, 10, 20, 19, 33, 18, 127, 16, 20, 21, 22, 20, 21, 23, 20, 21, 22, 23, 21, 28, 29, 30, 31, 8, 32, 32, 147, 148, 57, 54, 23, 49, 153, 21, 22, 124, 126, 118, 3, 4, 49, 50, 23, 11, 23, 54, 55, 20, 21, 58, 59, 21, 22, 23, 22, 23, 24, 25, 24, 25, 27, 70, 4, 23, 73, 23, 75, 76, 29, 78, 23, 80, 81, 23, 23, 83, 83, 85, 85, 23, 159, 160, 91, 92, 52, 164, 95, 96, 167, 23, 169, 170, 60, 172, 62, 23, 64, -1, 66, 108, 109, 68, -1, 112, 71, 114, -1, 116, -1, 118, -1, 120, 73, 122, -1, 76, 124, 124, 126, 126, 20, 21, 22, 23, 21, 22, 23, 136, 137, -1, 98, -1, 100, -1, 102, -1, 104, -1, -1, 106, -1, 150, -1, 110, 20, 21, 22, 23, -1, -1, -1, 112, -1, -1, -1, 116, 20, 21, 22, 23, 20, 21, 22, 23, -1, -1, 175, -1, 177, 178, -1, 180, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23, 20, 21, 22, 23 }
const yytype_uint8 yydefact[] [static] |
{ 2, 0, 0, 0, 3, 0, 0, 101, 103, 17, 21, 0, 92, 96, 98, 18, 24, 1, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 95, 97, 0, 104, 102, 0, 20, 30, 0, 91, 0, 23, 33, 4, 26, 27, 42, 46, 43, 49, 34, 38, 35, 41, 50, 54, 0, 51, 57, 62, 66, 0, 63, 69, 72, 75, 0, 78, 81, 82, 85, 0, 93, 94, 6, 0, 106, 19, 0, 29, 90, 22, 0, 32, 0, 45, 0, 48, 0, 37, 0, 40, 0, 53, 0, 0, 0, 56, 0, 65, 0, 71, 0, 68, 0, 74, 0, 77, 0, 80, 0, 84, 0, 0, 105, 28, 31, 44, 47, 36, 39, 52, 0, 0, 61, 55, 64, 70, 67, 73, 76, 79, 83, 0, 0, 0, 0, 59, 60, 0, 0, 0, 0, 58, 0, 0, 0, 99, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 0, 87, 88, 86 }
const yytype_int16 yydefgoto[] [static] |
{ -1, 3, 4, 33, 34, 5, 9, 15, 35, 36, 50, 55, 37, 64, 66, 38, 60, 62, 39, 68, 71, 69, 40, 73, 76, 74, 41, 78, 79, 42, 81, 43, 83, 84, 70, 11, 85, 12, 163, 13, 14, 47 }
YYSTYPE yylval |
int yynerrs |
const yytype_int16 yypact[] [static] |
{ 43, -4, -4, 8, 43, 175, 20, -8, -8, -114, 2, 108, -114, -114, -114, -114, 132, -114, 175, -114, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, -4, 20, 175, -114, -114, -114, -114, -114, -114, -114, -114, -114, -114, -114, -114, 35, -114, -114, -4, 144, -114, -4, -114, -4, 148, -114, 175, 144, 148, 174, -114, 178, -114, 182, -114, 186, -114, 190, -114, 194, 198, -114, 202, -114, 206, 210, -114, 214, -114, 218, 222, -114, 38, -114, 111, -114, -114, -114, 5, -114, 144, -4, -114, -114, 148, -4, -114, -4, -114, -4, -114, -4, -114, -4, -114, -4, -114, -4, 226, -4, -114, -4, -114, -4, -114, -4, -114, -4, -114, -4, -114, -4, -114, 20, -114, 20, 230, -114, -114, -114, -114, -114, -114, -114, -114, 234, -4, -114, -114, -114, -114, -114, -114, -114, -114, -114, 238, -4, -2, -4, -114, -114, -4, 15, 27, 42, -114, 29, 42, 42, -114, -114, 48, 42, 50, 55, 42, 58, 42, 42, 59, 42, 64, 74, -4, 80, -4, -4, -114, -4, -114, -114, -114 }
const yytype_int8 yypgoto[] [static] |
{ -114, -114, -114, -5, -21, 66, -114, -114, -114, -114, -10, -17, -114, -114, -114, -114, -114, -114, -114, -114, -114, 41, -114, -114, -114, 47, -114, -114, -73, -114, -114, -114, -114, -81, -1, 40, -82, -113, -71, 0, 1, 23 }
const yytype_uint16 yyprhs[] [static] |
{ 0, 0, 3, 4, 6, 10, 13, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 39, 42, 46, 49, 51, 55, 58, 60, 62, 65, 68, 72, 75, 77, 81, 84, 86, 89, 92, 96, 99, 101, 105, 108, 110, 113, 116, 120, 123, 125, 129, 132, 134, 137, 140, 144, 147, 149, 153, 156, 158, 164, 169, 174, 178, 181, 184, 188, 191, 193, 197, 200, 202, 206, 209, 212, 216, 219, 221, 225, 228, 231, 235, 238, 240, 243, 247, 250, 252, 264, 275, 286, 296, 300, 303, 305, 307, 309, 312, 314, 317, 319, 321, 323, 325, 328, 330, 333, 337 }
const yytype_uint8 yyr1[] [static] |
{ 0, 26, 27, 27, 28, 28, 29, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 31, 31, 32, 32, 32, 33, 33, 33, 34, 35, 35, 36, 36, 36, 37, 37, 37, 38, 38, 39, 39, 39, 40, 40, 40, 41, 41, 42, 42, 42, 43, 43, 43, 44, 44, 45, 45, 45, 46, 46, 46, 47, 47, 47, 47, 48, 48, 49, 49, 49, 50, 50, 50, 51, 51, 52, 53, 53, 53, 54, 54, 55, 56, 56, 56, 57, 58, 58, 58, 59, 59, 59, 59, 60, 60, 61, 62, 62, 63, 63, 63, 63, 64, 64, 65, 66, 66, 66, 67, 67 }
const yytype_uint8 yyr2[] [static] |
{ 0, 2, 0, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, 1, 3, 2, 1, 1, 2, 2, 3, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 3, 2, 1, 2, 2, 3, 2, 1, 3, 2, 1, 5, 4, 4, 3, 2, 2, 3, 2, 1, 3, 2, 1, 3, 2, 2, 3, 2, 1, 3, 2, 2, 3, 2, 1, 2, 3, 2, 1, 11, 10, 10, 9, 3, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 3, 2 }
const yytype_int8 yyrhs[] [static] |
const yytype_uint16 yyrline[] [static] |
{ 0, 109, 109, 111, 115, 116, 120, 121, 125, 126, 127, 128, 129, 130, 131, 132, 133, 137, 138, 142, 143, 144, 148, 149, 150, 154, 158, 159, 163, 164, 165, 169, 170, 171, 175, 176, 180, 181, 182, 186, 187, 188, 192, 193, 197, 198, 199, 203, 204, 205, 209, 210, 214, 215, 216, 220, 221, 222, 226, 227, 228, 229, 233, 234, 238, 239, 240, 244, 245, 246, 250, 251, 255, 259, 260, 261, 265, 266, 270, 274, 275, 276, 280, 284, 285, 286, 290, 291, 292, 293, 297, 298, 302, 306, 307, 311, 312, 313, 314, 318, 319, 323, 327, 328, 329, 333, 334 }
int yyrule |
const yytype_uint8 yystos[] [static] |
{ 0, 3, 4, 27, 28, 31, 20, 21, 22, 32, 60, 61, 63, 65, 66, 33, 60, 0, 31, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 29, 30, 34, 35, 38, 41, 44, 48, 52, 55, 57, 65, 66, 19, 67, 67, 23, 36, 60, 23, 61, 23, 37, 60, 29, 36, 37, 42, 61, 43, 61, 39, 61, 40, 61, 45, 47, 60, 46, 47, 49, 51, 60, 50, 51, 53, 54, 60, 56, 60, 58, 59, 62, 65, 66, 30, 20, 21, 36, 23, 60, 61, 37, 23, 60, 23, 61, 23, 61, 23, 61, 23, 61, 23, 47, 23, 60, 23, 47, 23, 51, 23, 60, 23, 51, 23, 54, 23, 60, 23, 60, 23, 59, 23, 62, 21, 60, 60, 61, 61, 61, 61, 47, 60, 23, 60, 47, 51, 60, 51, 54, 60, 60, 59, 62, 23, 63, 23, 60, 60, 23, 63, 63, 23, 60, 63, 23, 23, 24, 25, 64, 23, 64, 64, 23, 64, 23, 23, 64, 23, 64, 64, 23, 64, 23, 23, 60, 23, 60, 60, 60 }
const yytype_uint8 yytable[] [static] |
{ 10, 16, 125, 127, 59, 119, 44, 45, 17, 51, 58, 46, 88, 57, 149, 56, 6, 7, 8, 51, 56, 156, 6, 7, 8, 49, 128, 75, 75, 80, 82, 48, 86, 87, 154, 155, 88, 95, 159, 91, 158, 7, 8, 146, 147, 143, 1, 2, 51, 93, 160, 53, 164, 56, 97, 89, 90, 93, 97, 7, 8, 124, 61, 63, 65, 67, 161, 162, 72, 109, 18, 167, 75, 169, 115, 75, 77, 80, 170, 121, 123, 172, 175, 86, 87, 86, 87, 177, 165, 166, 93, 129, 94, 168, 97, 130, 171, 178, 173, 174, 99, 176, 101, 180, 103, 0, 105, 136, 138, 107, 0, 75, 111, 141, 0, 75, 0, 80, 0, 144, 113, 145, 0, 117, 86, 87, 86, 87, 6, 7, 8, 52, 7, 8, 126, 151, 152, 0, 131, 0, 132, 0, 133, 0, 134, 0, 0, 135, 0, 157, 0, 139, 6, 7, 8, 54, 0, 0, 0, 140, 0, 0, 0, 142, 6, 7, 8, 92, 6, 7, 8, 96, 0, 0, 179, 0, 181, 182, 0, 183, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 6, 7, 8, 98, 6, 7, 8, 100, 6, 7, 8, 102, 6, 7, 8, 104, 6, 7, 8, 106, 6, 7, 8, 108, 6, 7, 8, 110, 6, 7, 8, 112, 6, 7, 8, 114, 6, 7, 8, 116, 6, 7, 8, 118, 6, 7, 8, 120, 6, 7, 8, 122, 6, 7, 8, 137, 6, 7, 8, 148, 6, 7, 8, 150, 6, 7, 8, 153 }
const char* const yytname[] [static] |
{ "$end", "error", "$undefined", "MOVETO", "REL_MOVETO", "CLOSEPATH", "LINETO", "REL_LINETO", "VERTICAL_LINETO", "REL_VERTICAL_LINETO", "HORIZONTAL_LINETO", "REL_HORIZONTAL_LINETO", "CURVETO", "REL_CURVETO", "SMOOTH_CURVETO", "REL_SMOOTH_CURVETO", "QUADRATIC_BEZIER_CURVETO", "SMOOTH_QUADRATIC_BEZIER_CURVETO", "ELLIPTICAL_ARC", "EXPONENT", "SIGN", "DIGIT_SEQUENCE", "FRACTIONAL_CONSTANT", "','", "'0'", "'1'", "$accept", "svg_path", "moveto_drawto_command_groups", "drawto_commands", "drawto_command", "moveto", "moveto_argument_sequence", "rel_moveto_argument_sequence", "closepath", "lineto", "lineto_argument_sequence", "rel_lineto_argument_sequence", "horizontal_lineto", "horizontal_lineto_argument_sequence", "rel_horizontal_lineto_argument_sequence", "vertical_lineto", "vertical_lineto_argument_sequence", "rel_vertical_lineto_argument_sequence", "curveto", "curveto_argument_sequence", "rel_curveto_argument_sequence", "curveto_argument", "smooth_curveto", "smooth_curveto_argument_sequence", "rel_smooth_curveto_argument_sequence", "smooth_curveto_argument", "quadratic_bezier_curveto", "quadratic_bezier_curveto_argument_sequence", "quadratic_bezier_curveto_argument", "smooth_quadratic_bezier_curveto", "smooth_quadratic_bezier_curveto_argument_sequence", "elliptical_arc", "elliptical_arc_argument_sequence", "elliptical_arc_argument", "coordinate_pair", "coordinate", "nonnegative_number", "number", "flag", "integer_constant", "floating_point_constant", "exponent", 0 }
const yytype_uint8 yytranslate[] [static] |
int yytype |
YYSTYPE * yyvaluep |