Grammar.cpp File Reference
#include <Ice/Ice.h>
#include <IceStorm/Parser.h>
#include <stdio.h>
+ Include dependency graph for Grammar.cpp:

Go to the source code of this file.

Classes

union  yyalloc
 

Macros

#define YY_(Msgid)
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_INITIAL_VALUE(Value)
 
#define YY_LOCATION_PRINT(File, Loc)
 
#define YY_NULL   0
 
#define YY_REDUCE_PRINT(Rule)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED
 
#define YYABORT   goto yyabortlab
 
#define YYACCEPT   goto yyacceptlab
 
#define YYBACKUP(Token, Value)
 
#define YYBISON   1
 
#define YYBISON_VERSION   "2.7"
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYCOPY_NEEDED   1
 
#define YYDEBUG   1
 
#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   42
 
#define YYFPRINTF   fprintf
 
#define YYFREE   free
 
#define YYID(N)
 
#define YYINITDEPTH   200
 
#define YYLAST   65
 
#define YYLEX   yylex(&yylval)
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   269
 
#define YYNNTS   6
 
#define YYNRULES   31
 
#define YYNSTATES   56
 
#define YYNTOKENS   16
 
#define YYPACT_NINF   -6
 
#define yypact_value_is_default(Yystate)
 
#define YYPOPSTACK(N)
 
#define YYPULL   1
 
#define YYPURE   1
 
#define YYPUSH   0
 
#define YYRECOVERING()
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T)-1)
 
#define YYSIZE_T   unsigned int
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYSTACK_BYTES(N)
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_GAP_MAXIMUM   (sizeof(union yyalloc) - 1)
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define yystype   YYSTYPE /* obsolescent; will be withdrawn */
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define YYTABLE_NINF   -4
 
#define yytable_value_is_error(Yytable_value)
 
#define YYTERROR   1
 
#define YYTOKENTYPE
 
#define YYTRANSLATE(YYX)
 
#define YYUNDEFTOK   2
 
#define YYUSE(E)
 

Typedefs

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

Enumerations

enum  yytokentype {
  ICE_STORM_HELP = 258 , ICE_STORM_EXIT = 259 , ICE_STORM_CURRENT = 260 , ICE_STORM_CREATE = 261 ,
  ICE_STORM_DESTROY = 262 , ICE_STORM_LINK = 263 , ICE_STORM_UNLINK = 264 , ICE_STORM_LINKS = 265 ,
  ICE_STORM_TOPICS = 266 , ICE_STORM_REPLICA = 267 , ICE_STORM_SUBSCRIBERS = 268 , ICE_STORM_STRING = 269
}
 

Functions

 for (;yybottom<=yytop;yybottom++)
 
 for (yyi=0;yyi< yynrhs;yyi++)
 
 if (!yyvaluep)
 
 switch (yytype)
 
 YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp)
 
void yyerror (const char *s)
 
 YYFPRINTF (stderr, "\n")
 
 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", yyrule - 1, yylno)
 
 YYFPRINTF (yyoutput, ")")
 
int yyparse ()
 
 YYUSE (yyo)
 
 YYUSE (yyoutput)
 

Variables

int yydebug
 
int yyi
 
unsigned long int yylno = yyrline[yyrule]
 
int yyrule
 
yytype_int16yytop
 
int yytype
 
YYSTYPE const *const yyvaluep
 

Macro Definition Documentation

◆ YY_

#define YY_ ( Msgid)
Value:
Msgid

Definition at line 242 of file Grammar.cpp.

◆ YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN

◆ YY_IGNORE_MAYBE_UNINITIALIZED_END

#define YY_IGNORE_MAYBE_UNINITIALIZED_END

◆ YY_INITIAL_VALUE

#define YY_INITIAL_VALUE ( Value)
Value:
= Value

◆ YY_LOCATION_PRINT

#define YY_LOCATION_PRINT ( File,
Loc )
Value:
((void)0)

Definition at line 591 of file Grammar.cpp.

◆ YY_NULL

#define YY_NULL   0

Definition at line 111 of file Grammar.cpp.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT ( Rule)
Value:
do \
{ \
if (yydebug) \
yy_reduce_print(yyvsp, Rule); \
} while (YYID(0))
int yydebug
Definition Grammar.cpp:755
#define YYID(N)
Definition Grammar.cpp:255

Definition at line 746 of file Grammar.cpp.

◆ YY_STACK_PRINT

#define YY_STACK_PRINT ( Bottom,
Top )
Value:
do \
{ \
if (yydebug) \
yy_stack_print((Bottom), (Top)); \
} while (YYID(0))

Definition at line 713 of file Grammar.cpp.

◆ YY_SYMBOL_PRINT

#define YY_SYMBOL_PRINT ( Title,
Type,
Value,
Location )
Value:
do \
{ \
if (yydebug) \
{ \
YYFPRINTF(stderr, "%s ", Title); \
yy_symbol_print(stderr, Type, Value); \
YYFPRINTF(stderr, "\n"); \
} \
} while (YYID(0))

Definition at line 617 of file Grammar.cpp.

◆ YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED

#define YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED

Definition at line 126 of file Grammar.cpp.

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 546 of file Grammar.cpp.

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 545 of file Grammar.cpp.

◆ YYBACKUP

#define YYBACKUP ( Token,
Value )
Value:
do \
if (yychar == YYEMPTY) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK(yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror(YY_("syntax error: cannot back up")); \
} \
while (YYID(0))
#define YY_(Msgid)
Definition Grammar.cpp:242
#define YYEMPTY
Definition Grammar.cpp:542
#define YYERROR
Definition Grammar.cpp:547

Definition at line 567 of file Grammar.cpp.

◆ YYBISON

#define YYBISON   1

Definition at line 44 of file Grammar.cpp.

◆ YYBISON_VERSION

#define YYBISON_VERSION   "2.7"

Definition at line 47 of file Grammar.cpp.

◆ yyclearin

#define yyclearin   (yychar = YYEMPTY)

Definition at line 541 of file Grammar.cpp.

◆ YYCOPY

#define YYCOPY ( Dst,
Src,
Count )
Value:
do \
{ \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} while (YYID(0))
#define YYSIZE_T
Definition Grammar.cpp:228
int yyi
Definition Grammar.cpp:734

Definition at line 387 of file Grammar.cpp.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 361 of file Grammar.cpp.

◆ YYDEBUG

#define YYDEBUG   1

Definition at line 129 of file Grammar.cpp.

◆ YYDPRINTF

#define YYDPRINTF ( Args)
Value:
do \
{ \
if (yydebug) \
YYFPRINTF Args; \
} while (YYID(0))
#define YYFPRINTF
Definition Grammar.cpp:607

Definition at line 610 of file Grammar.cpp.

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 542 of file Grammar.cpp.

◆ YYEOF

#define YYEOF   0

Definition at line 543 of file Grammar.cpp.

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 586 of file Grammar.cpp.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 540 of file Grammar.cpp.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 547 of file Grammar.cpp.

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   0

Definition at line 120 of file Grammar.cpp.

◆ YYFAIL

#define YYFAIL   goto yyerrlab

Definition at line 557 of file Grammar.cpp.

◆ YYFINAL

#define YYFINAL   42

Definition at line 399 of file Grammar.cpp.

◆ YYFPRINTF

#define YYFPRINTF   fprintf

Definition at line 607 of file Grammar.cpp.

◆ YYFREE

#define YYFREE   free

Definition at line 334 of file Grammar.cpp.

◆ YYID

#define YYID ( N)
Value:
(N)

Definition at line 255 of file Grammar.cpp.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 766 of file Grammar.cpp.

◆ YYLAST

#define YYLAST   65

Definition at line 401 of file Grammar.cpp.

◆ YYLEX

#define YYLEX   yylex(&yylval)

Definition at line 599 of file Grammar.cpp.

◆ YYMALLOC

#define YYMALLOC   malloc

Definition at line 327 of file Grammar.cpp.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 777 of file Grammar.cpp.

◆ YYMAXUTOK

#define YYMAXUTOK   269

Definition at line 414 of file Grammar.cpp.

◆ YYNNTS

#define YYNNTS   6

Definition at line 406 of file Grammar.cpp.

◆ YYNRULES

#define YYNRULES   31

Definition at line 408 of file Grammar.cpp.

◆ YYNSTATES

#define YYNSTATES   56

Definition at line 410 of file Grammar.cpp.

◆ YYNTOKENS

#define YYNTOKENS   16

Definition at line 404 of file Grammar.cpp.

◆ YYPACT_NINF

#define YYPACT_NINF   -6

Definition at line 506 of file Grammar.cpp.

◆ yypact_value_is_default

#define yypact_value_is_default ( Yystate)
Value:
(!!((Yystate) == (-6)))

Definition at line 524 of file Grammar.cpp.

◆ YYPOPSTACK

#define YYPOPSTACK ( N)
Value:
(yyvsp -= (N), yyssp -= (N))

◆ YYPULL

#define YYPULL   1

Definition at line 59 of file Grammar.cpp.

◆ YYPURE

#define YYPURE   1

Definition at line 53 of file Grammar.cpp.

◆ YYPUSH

#define YYPUSH   0

Definition at line 56 of file Grammar.cpp.

◆ YYRECOVERING

#define YYRECOVERING ( )
Value:
(!!yyerrstatus)

Definition at line 565 of file Grammar.cpp.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T)-1)

Definition at line 232 of file Grammar.cpp.

◆ YYSIZE_T

#define YYSIZE_T   unsigned int

Definition at line 228 of file Grammar.cpp.

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file Grammar.cpp.

◆ YYSTACK_ALLOC

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 314 of file Grammar.cpp.

◆ YYSTACK_ALLOC_MAXIMUM

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 317 of file Grammar.cpp.

◆ YYSTACK_BYTES

#define YYSTACK_BYTES ( N)
Value:
((N) * (sizeof(yytype_int16) + sizeof(YYSTYPE)) + YYSTACK_GAP_MAXIMUM)
short int yytype_int16
Definition Grammar.cpp:215
#define YYSTACK_GAP_MAXIMUM
Definition Grammar.cpp:355
#define YYSTYPE
Definition Parser.h:24

Definition at line 359 of file Grammar.cpp.

◆ YYSTACK_FREE

#define YYSTACK_FREE   YYFREE

Definition at line 315 of file Grammar.cpp.

◆ YYSTACK_GAP_MAXIMUM

#define YYSTACK_GAP_MAXIMUM   (sizeof(union yyalloc) - 1)

Definition at line 355 of file Grammar.cpp.

◆ YYSTACK_RELOCATE

#define YYSTACK_RELOCATE ( Stack_alloc,
Stack )
Value:
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))

Definition at line 368 of file Grammar.cpp.

◆ yystype

#define yystype   YYSTYPE /* obsolescent; will be withdrawn */

Definition at line 162 of file Grammar.cpp.

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

Definition at line 163 of file Grammar.cpp.

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 161 of file Grammar.cpp.

◆ YYTABLE_NINF

#define YYTABLE_NINF   -4

Definition at line 518 of file Grammar.cpp.

◆ yytable_value_is_error

#define yytable_value_is_error ( Yytable_value)
Value:
YYID(0)

Definition at line 526 of file Grammar.cpp.

◆ YYTERROR

#define YYTERROR   1

Definition at line 585 of file Grammar.cpp.

◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 137 of file Grammar.cpp.

◆ YYTRANSLATE

#define YYTRANSLATE ( YYX)
Value:
((unsigned int)(YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK
Definition Grammar.cpp:413
#define YYMAXUTOK
Definition Grammar.cpp:414

Definition at line 416 of file Grammar.cpp.

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 413 of file Grammar.cpp.

◆ YYUSE

#define YYUSE ( E)
Value:
((void)(E))

Definition at line 248 of file Grammar.cpp.

Typedef Documentation

◆ YYSTYPE

typedef int YYSTYPE

Definition at line 160 of file Grammar.cpp.

◆ yytype_int16

typedef short int yytype_int16

Definition at line 215 of file Grammar.cpp.

◆ yytype_int8

typedef short int yytype_int8

Definition at line 203 of file Grammar.cpp.

◆ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 209 of file Grammar.cpp.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 195 of file Grammar.cpp.

Enumeration Type Documentation

◆ yytokentype

Enumerator
ICE_STORM_HELP 
ICE_STORM_EXIT 
ICE_STORM_CURRENT 
ICE_STORM_CREATE 
ICE_STORM_DESTROY 
ICE_STORM_LINK 
ICE_STORM_UNLINK 
ICE_STORM_LINKS 
ICE_STORM_TOPICS 
ICE_STORM_REPLICA 
ICE_STORM_SUBSCRIBERS 
ICE_STORM_STRING 

Definition at line 141 of file Grammar.cpp.

Function Documentation

◆ for() [1/2]

for ( ;yybottom<=yytop;yybottom++ )

Definition at line 705 of file Grammar.cpp.

+ Here is the caller graph for this function:

◆ for() [2/2]

for ( )

Definition at line 738 of file Grammar.cpp.

◆ if()

if ( ! yyvaluep)
Initial value:
{
#define YYUSE(E)
Definition Grammar.cpp:248
YYSTYPE const *const yyvaluep
Definition Grammar.cpp:640

Definition at line 645 of file Grammar.cpp.

+ Here is the caller graph for this function:

◆ switch()

switch ( yytype )

Definition at line 657 of file Grammar.cpp.

◆ YY_SYMBOL_PRINT()

YY_SYMBOL_PRINT ( yymsg ,
yytype ,
yyvaluep ,
yylocationp  )

◆ yyerror()

void yyerror ( const char * s)

Definition at line 99 of file Grammar.cpp.

+ Here is the caller graph for this function:

◆ YYFPRINTF() [1/3]

YYFPRINTF ( stderr ,
"\n"  )

◆ YYFPRINTF() [2/3]

YYFPRINTF ( stderr ,
"Reducing stack by rule %d (line %lu):\n" ,
yyrule - 1,
yylno  )

◆ YYFPRINTF() [3/3]

YYFPRINTF ( yyoutput ,
"  )

◆ yyparse()

int yyparse ( )

Definition at line 1086 of file Grammar.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ YYUSE() [1/2]

YYUSE ( yyo )

◆ YYUSE() [2/2]

YYUSE ( yyoutput )

Variable Documentation

◆ yydebug

int yydebug

Definition at line 755 of file Grammar.cpp.

◆ yyi

int yyi
Initial value:
{
int yynrhs = yyr2[yyrule]
int yyrule
Definition Grammar.cpp:730

Definition at line 734 of file Grammar.cpp.

◆ yylno

unsigned long int yylno = yyrline[yyrule]

Definition at line 735 of file Grammar.cpp.

◆ yyrule

int yyrule

Definition at line 730 of file Grammar.cpp.

◆ yytop

yytype_int16* yytop

Definition at line 701 of file Grammar.cpp.

◆ yytype

int yytype

Definition at line 639 of file Grammar.cpp.

◆ yyvaluep

YYSTYPE * yyvaluep

Definition at line 640 of file Grammar.cpp.