ROSE  0.9.10.69
matcherparser.h
1 /* A Bison parser, made by GNU Bison 2.3. */
2 
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6  Free Software Foundation, Inc.
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2, or (at your option)
11  any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  Boston, MA 02110-1301, USA. */
22 
23 /* As a special exception, you may create a larger work that contains
24  part or all of the Bison parser skeleton and distribute that work
25  under terms of your choice, so long as that work isn't itself a
26  parser generator using the skeleton or a modified version thereof
27  as a parser skeleton. Alternatively, if you modify or redistribute
28  the parser skeleton itself, you may (at your option) remove this
29  special exception, which will cause the skeleton and the resulting
30  Bison output files to be licensed under the GNU General Public
31  License without this special exception.
32 
33  This special exception was added by the Free Software Foundation in
34  version 2.2 of Bison. */
35 
36 /* Tokens. */
37 
38 /* Rasmussen (4/30/2018): Added check for Apple OS X to fix compilation error. */
39 #if defined(_MSC_VER) || (defined(__APPLE__) && defined(__MACH__))
40  #undef TRUE
41  #undef FALSE
42 #endif
43 
44 
45 #ifndef YYTOKENTYPE
46 # define YYTOKENTYPE
47  /* Put the tokens into the symbol table, so that GDB and other debuggers
48  know about them. */
49  enum yytokentype {
50  ALTERNATION = 258,
51  NOT = 259,
52  AND = 260,
53  XOR = 261,
54  OR = 262,
55  NEQ = 263,
56  EQ = 264,
57  C_NEQ = 265,
58  C_EQ = 266,
59  WHERE = 267,
60  TRUE = 268,
61  FALSE = 269,
62  IDENT = 270,
63  VARIABLE = 271,
64  INTEGER = 272,
65  SQ_STRING = 273,
66  NULL_NODE = 274,
67  DOTDOT = 275
68  };
69 #endif
70 /* Tokens. */
71 #define ALTERNATION 258
72 #define NOT 259
73 #define AND 260
74 #define XOR 261
75 #define OR 262
76 #define NEQ 263
77 #define EQ 264
78 #define C_NEQ 265
79 #define C_EQ 266
80 #define WHERE 267
81 #define TRUE 268
82 #define FALSE 269
83 #define IDENT 270
84 #define VARIABLE 271
85 #define INTEGER 272
86 #define SQ_STRING 273
87 #define NULL_NODE 274
88 #define DOTDOT 275
89 
90 
91 
92 
93 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
94 typedef union YYSTYPE
95 #line 34 "/export/tmp.schordan1/development/rosework/mainbranch/rose/src/midend/astMatching/matcherparser.yy"
96 {
97 char* idstring; /* IDENT */
98 char* varstring; /* VARIABLE */
99 char* sq_string; /* single quoted STRING */
100 MatchOperationListList* matchoperationlistlist; /* list of (MatchOperation or subclasses) */
101 MatchOperation* matchoperation; /* MatchOperation or subclasses */
102 MatchOperationList* matchoperationlist; /* list of (MatchOperation or subclasses) */
103 long intval; /* INTEGER */
104 int length; /* #elements */
105 }
106 /* Line 1529 of yacc.c. */
107 #line 100 "y.tab.h"
108  YYSTYPE;
109 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
110 # define YYSTYPE_IS_DECLARED 1
111 # define YYSTYPE_IS_TRIVIAL 1
112 #endif
113 
114 extern YYSTYPE matcherparserlval;
115