#include <sys/types.h>
#include "dotdefs.h"
#include <stdio.h>
#include <iostream>
Go to the source code of this file.
Compounds | |
union | yyalloc |
union | YYSTYPE |
Defines | |
#define | YYBISON 1 |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYLSP_NEEDED 0 |
#define | INTEGER 258 |
#define | STRING 259 |
#define | YYDEBUG 0 |
#define | YYERROR_VERBOSE 0 |
#define | yystype YYSTYPE |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | YYSTACK_ALLOC malloc |
#define | YYSTACK_FREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY(To, From, Count) |
#define | YYSTACK_RELOCATE(Stack) |
#define | YYFINAL 2 |
#define | YYLAST 6 |
#define | YYNTOKENS 6 |
#define | YYNNTS 3 |
#define | YYNRULES 5 |
#define | YYNSTATES 8 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 259 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -3 |
#define | YYTABLE_NINF -1 |
#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 | YYLLOC_DEFAULT(Current, Rhs, N) |
#define | YYLEX yylex () |
#define | YYDPRINTF(Args) |
#define | YYDSYMPRINT(Args) |
#define | YYDSYMPRINTF(Title, Token, 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 YYSTYPE | YYSTYPE |
typedef short | yysigned_char |
Enumerations | |
enum | yytokentype { INTEGER = 258, STRING = 259 } |
Functions | |
void | yyerror (char *) |
int | yylex () |
void | yydestruct (yytype, yyvaluep) int yytype |
int | yyparse () |
bool | readDottyConfiguration (const char *f=0, ostream &e=cerr) |
void | yyline (char *a, char *b="", char *c="", char *d="", char *e="") |
void | yyline1 (char *a) |
void | yyrecovered (char *exp, char *act) |
Variables | |
int | yylineno = 1 |
int | yyprev = 0 |
int | yyerrors = 0 |
const char * | yyfilename = "" |
ostream * | g_errorStream = &cerr |
const unsigned char | yytranslate [] |
const unsigned char | yyr1 [] |
const unsigned char | yyr2 [] |
const unsigned char | yydefact [] |
const yysigned_char | yydefgoto [] |
const yysigned_char | yypact [] |
const yysigned_char | yypgoto [] |
const unsigned char | yytable [] |
const yysigned_char | yycheck [] |
const unsigned char | yystos [] |
YYSTYPE * | yyvaluep |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
|
Definition at line 60 of file dotty_parser.cc. |
|
Definition at line 61 of file dotty_parser.cc. |
|
Definition at line 543 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 542 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 396 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 395 of file dotty_parser.cc. Referenced by yyparse(). |
|
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) Definition at line 408 of file dotty_parser.cc. |
|
Definition at line 37 of file dotty_parser.cc. |
|
Definition at line 391 of file dotty_parser.cc. |
|
Value: do \ { \ register YYSIZE_T yyi; \ for (yyi = 0; yyi < (Count); yyi++) \ (To)[yyi] = (From)[yyi]; \ } \ while (0) Definition at line 184 of file dotty_parser.cc. |
|
Definition at line 93 of file dotty_parser.cc. |
|
Definition at line 539 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 540 of file dotty_parser.cc. |
|
Definition at line 541 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 392 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 393 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 426 of file dotty_parser.cc. |
|
Definition at line 390 of file dotty_parser.cc. |
|
Definition at line 397 of file dotty_parser.cc. |
|
Definition at line 101 of file dotty_parser.cc. |
|
Definition at line 404 of file dotty_parser.cc. |
|
Definition at line 220 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 549 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 222 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 444 of file dotty_parser.cc. Referenced by yyparse(). |
|
Value: ((Current).first_line = (Rhs)[1].first_line, \ (Current).first_column = (Rhs)[1].first_column, \ (Current).last_line = (Rhs)[N].last_line, \ (Current).last_column = (Rhs)[N].last_column) Definition at line 432 of file dotty_parser.cc. |
|
Definition at line 46 of file dotty_parser.cc. |
|
Definition at line 564 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 235 of file dotty_parser.cc. |
|
Definition at line 227 of file dotty_parser.cc. |
|
Definition at line 229 of file dotty_parser.cc. |
|
Definition at line 231 of file dotty_parser.cc. |
|
Definition at line 225 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 340 of file dotty_parser.cc. Referenced by yyparse(). |
|
|
|
Definition at line 43 of file dotty_parser.cc. |
|
Definition at line 406 of file dotty_parser.cc. |
|
Definition at line 387 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 40 of file dotty_parser.cc. |
|
Definition at line 151 of file dotty_parser.cc. Referenced by yyparse(). |
|
Value: ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM) Definition at line 173 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 152 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 169 of file dotty_parser.cc. |
|
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) Definition at line 200 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 112 of file dotty_parser.cc. |
|
Definition at line 113 of file dotty_parser.cc. |
|
Definition at line 114 of file dotty_parser.cc. |
|
Definition at line 356 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 425 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 237 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 234 of file dotty_parser.cc. |
|
Definition at line 216 of file dotty_parser.cc. |
|
|
|
Definition at line 55 of file dotty_parser.cc. |
|
Definition at line 1223 of file dotty_parser.cc. References g_errorStream, yyerrors, yyfilename, yylineno, yyparse(), and yyprev. Referenced by readConfig(). |
|
Referenced by yyparse(). |
|
Definition at line 1270 of file dotty_parser.cc. References yyline(). Referenced by yyparse(). |
|
|
|
Definition at line 1245 of file dotty_parser.cc. References g_errorStream, yyerrors, yyfilename, yylineno, and yyprev. Referenced by yyerror(), yyline1(), and yyrecovered(). |
|
Definition at line 1265 of file dotty_parser.cc. References yyline(). |
|
Definition at line 734 of file dotty_parser.cc. References addOptionInteger(), addOptionString(), YY_REDUCE_PRINT, YY_STACK_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYDSYMPRINTF, YYEMPTY, YYEOF, yyerror(), YYFINAL, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, yyr1, yyr2, YYSIZE_T, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yytable, YYTABLE_NINF, YYTERROR, and YYTRANSLATE. Referenced by readDottyConfiguration(). |
|
Definition at line 1275 of file dotty_parser.cc. References yyline(). |
|
Definition at line 87 of file dotty_parser.cc. Referenced by readDottyConfiguration(), and yyline(). |
|
Definition at line 707 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { 0, 3, 4, -1, 4, -1, 5 } Definition at line 362 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { 2, 0, 1, 0, 3, 0, 5, 4 } Definition at line 327 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { -1, 1, 4 } Definition at line 333 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 81 of file dotty_parser.cc. Referenced by readDottyConfiguration(), and yyline(). |
|
Definition at line 82 of file dotty_parser.cc. Referenced by readDottyConfiguration(), and yyline(). |
|
Definition at line 79 of file dotty_parser.cc. Referenced by readDottyConfiguration(), and yyline(). |
|
Definition at line 710 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 713 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { -3, 0, -3, 1, -3, -2, -3, -3 } Definition at line 341 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { -3, -3, -3 } Definition at line 347 of file dotty_parser.cc. Referenced by yyparse(). |
|
Definition at line 80 of file dotty_parser.cc. Referenced by readDottyConfiguration(), and yyline(). |
|
Initial value: { 0, 6, 7, 7, 8, 8 } Definition at line 313 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { 0, 2, 0, 2, 3, 3 } Definition at line 319 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { 0, 7, 0, 4, 8, 5, 3, 4 } Definition at line 369 of file dotty_parser.cc. Referenced by yyparse(). |
|
Initial value: { 2, 6, 7, 0, 3, 0, 5 } Definition at line 357 of file dotty_parser.cc. Referenced by yyparse(). |
|
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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 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, 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 } Definition at line 241 of file dotty_parser.cc. |
|
Definition at line 673 of file dotty_parser.cc. |