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)   Msgid
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 
#define YY_IGNORE_MAYBE_UNINITIALIZED_END
 
#define YY_INITIAL_VALUE(Value)   = Value
 
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
 
#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)   (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)   (!!((Yystate) == (-6)))
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define YYPULL   1
 
#define YYPURE   1
 
#define YYPUSH   0
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#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)   YYID (0)
 
#define YYTERROR   1
 
#define YYTOKENTYPE
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYUNDEFTOK   2
 
#define YYUSE(E)   ((void) (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,
  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)    Msgid

Definition at line 245 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

◆ YY_LOCATION_PRINT

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

Definition at line 668 of file Grammar.cpp.

◆ YY_NULL

#define YY_NULL   0

Definition at line 114 of file Grammar.cpp.

◆ YY_REDUCE_PRINT

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
if (yydebug) \
yy_reduce_print (yyvsp, Rule); \
} while (YYID (0))

Definition at line 836 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 798 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 693 of file Grammar.cpp.

◆ YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED

#define YY_YY_SRC_ICESTORM_GRAMMAR_HPP_INCLUDED

Definition at line 129 of file Grammar.cpp.

◆ YYABORT

#define YYABORT   goto yyabortlab

Definition at line 623 of file Grammar.cpp.

◆ YYACCEPT

#define YYACCEPT   goto yyacceptlab

Definition at line 622 of file Grammar.cpp.

◆ YYBACKUP

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

Definition at line 644 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 618 of file Grammar.cpp.

◆ YYCOPY

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (YYID (0))

Definition at line 393 of file Grammar.cpp.

◆ YYCOPY_NEEDED

#define YYCOPY_NEEDED   1

Definition at line 365 of file Grammar.cpp.

◆ YYDEBUG

#define YYDEBUG   1

Definition at line 132 of file Grammar.cpp.

◆ YYDPRINTF

#define YYDPRINTF (   Args)
Value:
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (YYID (0))

Definition at line 687 of file Grammar.cpp.

◆ YYEMPTY

#define YYEMPTY   (-2)

Definition at line 619 of file Grammar.cpp.

◆ YYEOF

#define YYEOF   0

Definition at line 620 of file Grammar.cpp.

◆ YYERRCODE

#define YYERRCODE   256

Definition at line 663 of file Grammar.cpp.

◆ yyerrok

#define yyerrok   (yyerrstatus = 0)

Definition at line 617 of file Grammar.cpp.

◆ YYERROR

#define YYERROR   goto yyerrorlab

Definition at line 624 of file Grammar.cpp.

◆ YYERROR_VERBOSE

#define YYERROR_VERBOSE   0

Definition at line 123 of file Grammar.cpp.

◆ YYFAIL

#define YYFAIL   goto yyerrlab

Definition at line 634 of file Grammar.cpp.

◆ YYFINAL

#define YYFINAL   42

Definition at line 406 of file Grammar.cpp.

◆ YYFPRINTF

#define YYFPRINTF   fprintf

Definition at line 684 of file Grammar.cpp.

◆ YYFREE

#define YYFREE   free

Definition at line 335 of file Grammar.cpp.

◆ YYID

#define YYID (   N)    (N)

Definition at line 258 of file Grammar.cpp.

◆ YYINITDEPTH

#define YYINITDEPTH   200

Definition at line 855 of file Grammar.cpp.

◆ YYLAST

#define YYLAST   65

Definition at line 408 of file Grammar.cpp.

◆ YYLEX

#define YYLEX   yylex (&yylval)

Definition at line 676 of file Grammar.cpp.

◆ YYMALLOC

#define YYMALLOC   malloc

Definition at line 328 of file Grammar.cpp.

◆ YYMAXDEPTH

#define YYMAXDEPTH   10000

Definition at line 866 of file Grammar.cpp.

◆ YYMAXUTOK

#define YYMAXUTOK   269

Definition at line 421 of file Grammar.cpp.

◆ YYNNTS

#define YYNNTS   6

Definition at line 413 of file Grammar.cpp.

◆ YYNRULES

#define YYNRULES   31

Definition at line 415 of file Grammar.cpp.

◆ YYNSTATES

#define YYNSTATES   56

Definition at line 417 of file Grammar.cpp.

◆ YYNTOKENS

#define YYNTOKENS   16

Definition at line 411 of file Grammar.cpp.

◆ YYPACT_NINF

#define YYPACT_NINF   -6

Definition at line 556 of file Grammar.cpp.

◆ yypact_value_is_default

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

Definition at line 588 of file Grammar.cpp.

◆ YYPOPSTACK

#define YYPOPSTACK (   N)    (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 ( )    (!!yyerrstatus)

Definition at line 642 of file Grammar.cpp.

◆ YYSIZE_MAXIMUM

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 235 of file Grammar.cpp.

◆ YYSIZE_T

#define YYSIZE_T   unsigned int

Definition at line 231 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)) \

Definition at line 361 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 357 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 372 of file Grammar.cpp.

◆ yystype

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

Definition at line 164 of file Grammar.cpp.

◆ YYSTYPE_IS_DECLARED

#define YYSTYPE_IS_DECLARED   1

Definition at line 165 of file Grammar.cpp.

◆ YYSTYPE_IS_TRIVIAL

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 163 of file Grammar.cpp.

◆ YYTABLE_NINF

#define YYTABLE_NINF   -4

Definition at line 576 of file Grammar.cpp.

◆ yytable_value_is_error

#define yytable_value_is_error (   Yytable_value)    YYID (0)

Definition at line 591 of file Grammar.cpp.

◆ YYTERROR

#define YYTERROR   1

Definition at line 662 of file Grammar.cpp.

◆ YYTOKENTYPE

#define YYTOKENTYPE

Definition at line 140 of file Grammar.cpp.

◆ YYTRANSLATE

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 423 of file Grammar.cpp.

◆ YYUNDEFTOK

#define YYUNDEFTOK   2

Definition at line 420 of file Grammar.cpp.

◆ YYUSE

#define YYUSE (   E)    ((void) (E))

Definition at line 251 of file Grammar.cpp.

Typedef Documentation

◆ YYSTYPE

typedef int YYSTYPE

Definition at line 162 of file Grammar.cpp.

◆ yytype_int16

typedef short int yytype_int16

Definition at line 218 of file Grammar.cpp.

◆ yytype_int8

typedef short int yytype_int8

Definition at line 206 of file Grammar.cpp.

◆ yytype_uint16

typedef unsigned short int yytype_uint16

Definition at line 212 of file Grammar.cpp.

◆ yytype_uint8

typedef unsigned char yytype_uint8

Definition at line 197 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 
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 143 of file Grammar.cpp.

Function Documentation

◆ for() [1/2]

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

Definition at line 790 of file Grammar.cpp.

+ Here is the caller graph for this function:

◆ for() [2/2]

for ( )

Definition at line 826 of file Grammar.cpp.

◆ if()

if ( yyvaluep)
Initial value:

Definition at line 724 of file Grammar.cpp.

+ Here is the caller graph for this function:

◆ switch()

switch ( yytype  )

Definition at line 736 of file Grammar.cpp.

+ Here is the caller graph for this function:

◆ YY_SYMBOL_PRINT()

YY_SYMBOL_PRINT ( yymsg  ,
yytype  ,
yyvaluep  ,
yylocationp   
)

◆ yyerror()

void yyerror ( const char *  s)

Definition at line 101 of file Grammar.cpp.

+ Here is the call 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 1187 of file Grammar.cpp.

◆ YYUSE() [1/2]

YYUSE ( yyo  )

◆ YYUSE() [2/2]

YYUSE ( yyoutput  )

Variable Documentation

◆ yydebug

int yydebug

Definition at line 844 of file Grammar.cpp.

◆ yyi

int yyi
Initial value:
{
int yynrhs = yyr2[yyrule]

Definition at line 819 of file Grammar.cpp.

◆ yylno

unsigned long int yylno = yyrline[yyrule]

Definition at line 822 of file Grammar.cpp.

◆ yyrule

int yyrule

Definition at line 817 of file Grammar.cpp.

◆ yytop

yytype_int16* yytop

Definition at line 786 of file Grammar.cpp.

◆ yytype

int yytype

Definition at line 718 of file Grammar.cpp.

◆ yyvaluep

YYSTYPE * yyvaluep

Definition at line 719 of file Grammar.cpp.

ColorMap::Value
Value
Color maps that associate a color to every float from [0..1].
Definition: color.h:16
YYID
#define YYID(N)
Definition: Grammar.cpp:258
YYSTACK_GAP_MAXIMUM
#define YYSTACK_GAP_MAXIMUM
Definition: Grammar.cpp:357
yyvaluep
YYSTYPE const *const yyvaluep
Definition: Grammar.cpp:719
yytype_int16
short int yytype_int16
Definition: Grammar.cpp:218
YYEMPTY
#define YYEMPTY
Definition: Grammar.cpp:619
if
if(!yyvaluep)
Definition: Grammar.cpp:724
armarx::aron::similarity::FloatSimilarity::Type
Type
The Type enum.
Definition: FloatSimilarity.h:8
YYUSE
#define YYUSE(E)
Definition: Grammar.cpp:251
yydebug
int yydebug
Definition: Grammar.cpp:844
yyi
int yyi
Definition: Grammar.cpp:819
YY_
#define YY_(Msgid)
Definition: Grammar.cpp:245
yyrule
int yyrule
Definition: Grammar.cpp:817
YYSTYPE
int YYSTYPE
Definition: Grammar.cpp:162