NAME
dotImportParser.h -
SYNOPSIS
Classes
struct ShapeAttr
struct DOT_ATTR
struct DOT_YYType
struct DOT_YY
union yyalloc
Defines
#define YYBISON 1
#define YYSKELETON_NAME ’yacc.c’
#define YYPURE 0
#define YYLSP_NEEDED 0
#define NUMBER 258
#define IDENT 259
#define STRING 260
#define _STRICT 261
#define _DIGRAPH 262
#define _GRAPH 263
#define _NODE 264
#define _EDGE 265
#define _SUBGRAPH 266
#define _EDGEOP 267
#define TLP_LAYOUT_PROXY_NAME ’viewLayout’
#define TLP_LABEL_PROXY_NAME ’viewLabel’
#define TLP_EXTLABEL_PROXY_NAME ’externLabel’
#define TLP_HEAD_LABEL_PROXY_NAME ’headLabel’
#define TLP_TAIL_LABEL_PROXY_NAME ’tailLabel’
#define TLP_COMMENT_PROXY_NAME ’comment’
#define TLP_URL_PROXY_NAME ’URL’
#define TLP_SIZE_PROXY_NAME ’viewSize’
#define TLP_SHAPE_PROXY_NAME ’viewShape’
#define TLP_COLOR_PROXY_NAME ’viewColor’
#define TLP_BORDERCOLOR_PROXY_NAME ’viewBorderColor’
#define TLP_FONTCOLOR_PROXY_NAME ’viewLabelColor’
#define DEFAULT_SHAPE 1
#define YYSTYPE DOT_YYType
#define YYINITDEPTH 2048
#define YYMAXDEPTH YYINITDEPTH
#define YYDEBUG 0
#define YYERROR_VERBOSE 0
#define yystype YYSTYPE
#define YYSTYPE_IS_DECLARED 1
#define YYSTYPE_IS_TRIVIAL 1
#define YYFREE free
#define YYMALLOC malloc
#define YYSTACK_ALLOC YYMALLOC
#define YYSTACK_FREE YYFREE
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
#define YYSTACK_BYTES(N)
#define YYCOPY(To, From, Count)
#define YYSTACK_RELOCATE(Stack)
#define YYFINAL 9
#define YYLAST 132
#define YYNTOKENS 25
#define YYNNTS 27
#define YYNRULES 62
#define YYNSTATES 92
#define YYUNDEFTOK 2
#define YYMAXUTOK 267
#define YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ?
yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF -50
#define YYTABLE_NINF -6
#define YYSIZE_T unsigned int
#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 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 (yyvsp--, yyssp--)
Typedefs
typedef stdext::hash_map< std::string, node > NodeMap
typedef std::vector< node > NodeA
typedef std::vector< edge > EdgeA
typedef int YYSTYPE
typedef short int yysigned_char
Enumerations
enum yytokentype { NUMBER = 258, IDENT = 259, STRING = 260, _STRICT
= 261, _DIGRAPH = 262, _GRAPH = 263, _NODE = 264, _EDGE = 265,
_SUBGRAPH = 266, _EDGEOP = 267 }
Functions
int yylex (void)
void yyerror (char const *)
template<typename T > std::vector< T > & operator+= (std::vector< T >
&inA, const std::vector< T > &inB)
static void yydestruct (yymsg, yytype, yyvaluep) const char *yymsg
int yyparse ()
Variables
char * yytext
int yylen
ShapeAttr ShapeAttrA []
struct DOT_YY * dotyy
static const unsigned char yytranslate []
static const unsigned char yyr1 []
static const unsigned char yyr2 []
static const unsigned char yydefact []
static const yysigned_char yydefgoto []
static const yysigned_char yypact []
static const yysigned_char yypgoto []
static const yysigned_char yytable []
static const yysigned_char yycheck []
static const unsigned char yystos []
int yytype
YYSTYPE * yyvaluep
int yychar
YYSTYPE yylval
int yynerrs
Define Documentation
#define _DIGRAPH 262
#define _EDGE 265
#define _EDGEOP 267
#define _GRAPH 263
#define _NODE 264
#define _STRICT 261
#define _SUBGRAPH 266
#define DEFAULT_SHAPE 1
#define IDENT 259
#define NUMBER 258
#define STRING 260
#define TLP_BORDERCOLOR_PROXY_NAME ’viewBorderColor’
#define TLP_COLOR_PROXY_NAME ’viewColor’
#define TLP_COMMENT_PROXY_NAME ’comment’
#define TLP_EXTLABEL_PROXY_NAME ’externLabel’
#define TLP_FONTCOLOR_PROXY_NAME ’viewLabelColor’
#define TLP_HEAD_LABEL_PROXY_NAME ’headLabel’
#define TLP_LABEL_PROXY_NAME ’viewLabel’
#define TLP_LAYOUT_PROXY_NAME ’viewLayout’
#define TLP_SHAPE_PROXY_NAME ’viewShape’
#define TLP_SIZE_PROXY_NAME ’viewSize’
#define TLP_TAIL_LABEL_PROXY_NAME ’tailLabel’
#define TLP_URL_PROXY_NAME ’URL’
#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
#define YYACCEPT goto yyacceptlab
#define YYBACKUP(Token, Value) Value:
do if (yychar == YYEMPTY && yylen == 1) { yychar = (Token); yylval = (Value); yytoken = YYTRANSLATE (yychar); YYPOPSTACK; goto yybackup; } else { yyerror (’syntax error: cannot back up’); YYERROR; } while (0)
#define YYBISON 1 Authors: David Auber, Patrick Mary, Morgan Mathiaut
from the LaBRI Visualization Team Email : auber@tulip-software.org Last
modification : 13/03/2009 This program is free software; you can
redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
#define yyclearin (yychar = YYEMPTY)
#define YYCOPY(To, From, Count) Value:
do { register YYSIZE_T yyi; for (yyi = 0; yyi < (Count); yyi++) (To)[yyi] = (From)[yyi]; } while (0)
#define YYDEBUG 0
#define YYDPRINTF(Args)
#define YYEMPTY (-2)
#define YYEOF 0
#define YYERRCODE 256
#define yyerrok (yyerrstatus = 0)
#define YYERROR goto yyerrorlab
#define YYERROR_VERBOSE 0
#define YYFAIL goto yyerrlab
#define YYFINAL 9
#define YYFREE free
#define YYINITDEPTH 200
#define YYINITDEPTH 2048
#define YYLAST 132
#define YYLEX yylex ()
#define YYLLOC_DEFAULT(Current, Rhs, N) Value:
do if (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 (0)
#define YYLSP_NEEDED 0
#define YYMALLOC malloc
#define YYMAXDEPTH 10000
#define YYMAXDEPTH YYINITDEPTH
#define YYMAXUTOK 267
#define YYNNTS 27
#define YYNRULES 62
#define YYNSTATES 92
#define YYNTOKENS 25
#define YYPACT_NINF -50
#define YYPOPSTACK (yyvsp--, yyssp--)
#define YYPURE 0
#define YYRECOVERING() (!!yyerrstatus)
#define YYRHSLOC(Rhs, K) ((Rhs)[K])
#define YYSIZE_T unsigned int
#define YYSKELETON_NAME ’yacc.c’
#define YYSTACK_ALLOC YYMALLOC
#define YYSTACK_BYTES(N) Value:
((N) * (sizeof (short int) + sizeof (YYSTYPE)) + YYSTACK_GAP_MAXIMUM)
#define YYSTACK_FREE YYFREE
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
#define YYSTACK_RELOCATE(Stack) Value:
do { YYSIZE_T yynewbytes; YYCOPY (&yyptr->Stack, Stack, yysize); Stack = &yyptr->Stack; yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; yyptr += yynewbytes / sizeof (*yyptr); } while (0)
#define yystype YYSTYPE
#define YYSTYPE DOT_YYType
#define YYSTYPE_IS_DECLARED 1
#define YYSTYPE_IS_TRIVIAL 1
#define YYTABLE_NINF -6
#define YYTERROR 1
#define YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ?
yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK 2
Typedef Documentation
typedef std::vector<edge> EdgeA
typedef std::vector<node> NodeA
typedef stdext::hash_map<std::string,node> NodeMap
typedef short int yysigned_char
typedef int YYSTYPE
Enumeration Type Documentation
enum yytokentype
Enumerator:
NUMBER
IDENT
STRING
_STRICT
_DIGRAPH
_GRAPH
_NODE
_EDGE
_SUBGRAPH
_EDGEOP
Function Documentation
template<typename T > std::vector<T>& operator+= (std::vector< T > & inA,
const std::vector< T > & inB) [inline]
static void yydestruct (yymsg, yytype, yyvaluep) const [static]
void yyerror (char const *)
int yylex (void)
int yyparse ()
Variable Documentation
struct DOT_YY * dotyy
ShapeAttr ShapeAttrA[] Initial value:
{
’box’, 0,
’boxoutlined’, 1,
’sphere’, 2,
’cone’, 3,
’square’, 4,
’teapot’, 5,
’cyclinder’, 6,
’billboard’, 7,
’circle’, 2,
’ellipse’, 2,
}
int yychar
const yysigned_char yycheck[] [static] Initial value:
{
6, 38, 46, 46, 25, 54, 3, 4, 5, 20,
54, 54, 23, 7, 8, 3, 4, 5, 24, 64,
0, 42, 22, 23, 21, 13, 13, 5, 73, 24,
16, 80, 38, 82, 55, 19, 80, 80, 82, 82,
46, 78, 12, 49, 50, 12, 18, 47, 54, 13,
56, 1, 23, 3, 4, 5, 17, 20, 8, 9,
10, 11, 68, 13, 14, 3, 4, 5, 3, 4,
5, 15, 78, 11, 80, 13, 82, 1, 12, 3,
4, 5, 12, 89, 8, 9, 10, 11, 15, 13,
14, 1, 52, 3, 4, 5, 22, 78, 8, 9,
10, 11, 53, 13, 14, 1, 17, 3, 4, 5,
-1, -1, 8, 9, 10, 11, -1, 13, 14, 0,
1, -1, 3, 4, 5, 6, 7, 8, -1, -1,
-1, -1, 13
}
const unsigned char yydefact[] [static] Initial value:
{
0, 3, 0, 6, 7, 0, 10, 8, 9, 1,
59, 58, 61, 0, 11, 60, 27, 0, 0, 62,
31, 0, 0, 0, 0, 27, 4, 26, 34, 28,
29, 17, 38, 32, 33, 35, 56, 37, 12, 23,
24, 25, 27, 57, 0, 30, 0, 19, 46, 0,
0, 36, 39, 40, 0, 27, 0, 0, 21, 14,
22, 0, 55, 49, 17, 50, 37, 18, 0, 43,
45, 42, 41, 17, 0, 20, 16, 15, 12, 54,
0, 47, 0, 0, 48, 53, 13, 51, 52, 0,
0, 44
}
const yysigned_char yydefgoto[] [static] Initial value:
{
-1, 5, 6, 13, 57, 78, 39, 47, 48, 27,
59, 28, 18, 29, 30, 31, 32, 51, 52, 53,
33, 34, 64, 35, 36, 37, 15
}
int yylen
YYSTYPE yylval
int yynerrs
const yysigned_char yypact[] [static] Initial value:
{
119, -50, 6, -50, -50, 20, 65, -50, -50, -50,
-50, -50, -50, 13, -50, 5, -50, 22, 50, 5,
-50, 14, 14, 14, 12, -50, -50, -50, -50, -50,
16, 30, -11, -50, -50, 33, 36, 28, 65, -50,
-50, -50, -50, -50, 76, -50, 62, 14, -50, 3,
65, -50, 29, 37, 62, -50, 65, 39, -50, 56,
28, 90, -50, 66, -50, 70, -50, -50, 65, -50,
-50, -50, -50, -50, 104, -50, -50, -50, 65, -50,
62, -50, 62, 73, -50, -50, -50, -50, -50, 65,
74, -50
}
const yysigned_char yypgoto[] [static] Initial value:
{
-50, -50, -50, -50, 19, -50, 0, -50, -45, -37,
-50, -50, -21, -50, -50, -44, -50, -50, 49, 40,
-50, -50, -49, -43, -50, -6, 89
}
const unsigned char yyr1[] [static] Initial value:
{
0, 25, 26, 26, 26, 27, 27, 27, 27, 27,
28, 28, 29, 29, 30, 30, 31, 32, 32, 33,
34, 35, 35, 36, 36, 36, 36, 37, 37, 38,
38, 38, 39, 39, 39, 39, 40, 41, 42, 42,
42, 42, 42, 43, 43, 44, 45, 46, 46, 47,
47, 47, 47, 48, 48, 48, 48, 49, 50, 50,
50, 51, 51
}
const unsigned char yyr2[] [static] Initial value:
{
0, 2, 0, 1, 5, 0, 1, 1, 2, 2,
0, 1, 0, 3, 0, 1, 3, 0, 2, 1,
3, 1, 1, 2, 2, 2, 1, 0, 2, 1,
2, 1, 1, 1, 1, 1, 2, 1, 0, 1,
1, 2, 2, 2, 6, 2, 2, 4, 4, 1,
1, 3, 3, 4, 4, 3, 1, 2, 1, 1,
1, 1, 3
}
const unsigned char yystos[] [static] Initial value:
{
0, 1, 6, 7, 8, 26, 27, 7, 8, 0,
3, 4, 5, 28, 50, 51, 13, 24, 37, 51,
1, 8, 9, 10, 11, 13, 14, 34, 36, 38,
39, 40, 41, 45, 46, 48, 49, 50, 16, 31,
31, 31, 13, 50, 37, 19, 12, 32, 33, 20,
23, 42, 43, 44, 12, 13, 18, 29, 34, 35,
50, 37, 14, 40, 47, 48, 50, 31, 21, 50,
50, 44, 43, 47, 37, 50, 17, 15, 30, 14,
12, 33, 12, 50, 33, 14, 29, 47, 47, 15,
50, 22
}
const yysigned_char yytable[] [static] Initial value:
{
14, 58, 63, 65, 44, 73, 10, 11, 12, 49,
63, 65, 50, 7, 8, 10, 11, 12, 43, 81,
9, 61, 40, 41, 68, 42, 16, 12, 84, 17,
38, 87, 60, 88, 74, 45, 63, 65, 63, 65,
66, 58, 46, 69, 70, 54, 56, 67, 66, 55,
75, 20, 50, 10, 11, 12, 76, 49, 21, 22,
23, 24, 83, 25, 26, 10, 11, 12, 10, 11,
12, 77, 60, 24, 66, 25, 66, 20, 80, 10,
11, 12, 82, 90, 21, 22, 23, 24, 89, 25,
62, 20, 71, 10, 11, 12, 91, 86, 21, 22,
23, 24, 72, 25, 79, 20, 19, 10, 11, 12,
0, 0, 21, 22, 23, 24, 0, 25, 85, -2,
1, 0, -5, -5, -5, 2, 3, 4, 0, 0,
0, 0, -5
}
char* yytext
const unsigned char yytranslate[] [static] Initial value:
{
0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
21, 22, 2, 24, 15, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 20, 19,
2, 18, 2, 2, 23, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 16, 2, 17, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 13, 2, 14, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
5, 6, 7, 8, 9, 10, 11, 12
}
int yytype
YYSTYPE* yyvaluep
Author
Generated automatically by Doxygen for Tulip Plugins Library from the
source code.