CliXoN
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
clixon_yang_parse.tab.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 3.0.2. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 #ifndef YY_CLIXON_YANG_PARSE_Y_TAB_H_INCLUDED
34 # define YY_CLIXON_YANG_PARSE_Y_TAB_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int clixon_yang_parsedebug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
47  {
48  MY_EOF = 258,
49  DQ = 259,
50  K_UNKNOWN = 260,
51  CHAR = 261,
52  K_ANYXML = 262,
53  K_ARGUMENT = 263,
54  K_AUGMENT = 264,
55  K_BASE = 265,
56  K_BELONGS_TO = 266,
57  K_BIT = 267,
58  K_CASE = 268,
59  K_CHOICE = 269,
60  K_CONFIG = 270,
61  K_CONTACT = 271,
62  K_CONTAINER = 272,
63  K_DEFAULT = 273,
65  K_DEVIATE = 275,
66  K_DEVIATION = 276,
67  K_ENUM = 277,
70  K_EXTENSION = 280,
71  K_FEATURE = 281,
73  K_GROUPING = 283,
74  K_IDENTITY = 284,
75  K_IF_FEATURE = 285,
76  K_IMPORT = 286,
77  K_INCLUDE = 287,
78  K_INPUT = 288,
79  K_KEY = 289,
80  K_LEAF = 290,
81  K_LEAF_LIST = 291,
82  K_LENGTH = 292,
83  K_LIST = 293,
84  K_MANDATORY = 294,
87  K_MODULE = 297,
88  K_MUST = 298,
89  K_NAMESPACE = 299,
91  K_ORDERED_BY = 301,
93  K_OUTPUT = 303,
94  K_PATH = 304,
95  K_PATTERN = 305,
96  K_POSITION = 306,
97  K_PREFIX = 307,
98  K_PRESENCE = 308,
99  K_RANGE = 309,
100  K_REFERENCE = 310,
101  K_REFINE = 311,
103  K_REVISION = 313,
105  K_RPC = 315,
106  K_STATUS = 316,
107  K_SUBMODULE = 317,
108  K_TYPE = 318,
109  K_TYPEDEF = 319,
110  K_UNIQUE = 320,
111  K_UNITS = 321,
112  K_USES = 322,
113  K_VALUE = 323,
114  K_WHEN = 324,
117  };
118 #endif
119 /* Tokens. */
120 #define MY_EOF 258
121 #define DQ 259
122 #define K_UNKNOWN 260
123 #define CHAR 261
124 #define K_ANYXML 262
125 #define K_ARGUMENT 263
126 #define K_AUGMENT 264
127 #define K_BASE 265
128 #define K_BELONGS_TO 266
129 #define K_BIT 267
130 #define K_CASE 268
131 #define K_CHOICE 269
132 #define K_CONFIG 270
133 #define K_CONTACT 271
134 #define K_CONTAINER 272
135 #define K_DEFAULT 273
136 #define K_DESCRIPTION 274
137 #define K_DEVIATE 275
138 #define K_DEVIATION 276
139 #define K_ENUM 277
140 #define K_ERROR_APP_TAG 278
141 #define K_ERROR_MESSAGE 279
142 #define K_EXTENSION 280
143 #define K_FEATURE 281
144 #define K_FRACTION_DIGITS 282
145 #define K_GROUPING 283
146 #define K_IDENTITY 284
147 #define K_IF_FEATURE 285
148 #define K_IMPORT 286
149 #define K_INCLUDE 287
150 #define K_INPUT 288
151 #define K_KEY 289
152 #define K_LEAF 290
153 #define K_LEAF_LIST 291
154 #define K_LENGTH 292
155 #define K_LIST 293
156 #define K_MANDATORY 294
157 #define K_MAX_ELEMENTS 295
158 #define K_MIN_ELEMENTS 296
159 #define K_MODULE 297
160 #define K_MUST 298
161 #define K_NAMESPACE 299
162 #define K_NOTIFICATION 300
163 #define K_ORDERED_BY 301
164 #define K_ORGANIZATION 302
165 #define K_OUTPUT 303
166 #define K_PATH 304
167 #define K_PATTERN 305
168 #define K_POSITION 306
169 #define K_PREFIX 307
170 #define K_PRESENCE 308
171 #define K_RANGE 309
172 #define K_REFERENCE 310
173 #define K_REFINE 311
174 #define K_REQUIRE_INSTANCE 312
175 #define K_REVISION 313
176 #define K_REVISION_DATE 314
177 #define K_RPC 315
178 #define K_STATUS 316
179 #define K_SUBMODULE 317
180 #define K_TYPE 318
181 #define K_TYPEDEF 319
182 #define K_UNIQUE 320
183 #define K_UNITS 321
184 #define K_USES 322
185 #define K_VALUE 323
186 #define K_WHEN 324
187 #define K_YANG_VERSION 325
188 #define K_YIN_ELEMENT 326
189 
190 /* Value type. */
191 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
192 typedef union YYSTYPE YYSTYPE;
193 union YYSTYPE
194 {
195 
196 
197  int intval;
198  char *string;
199 
200 
201 };
202 # define YYSTYPE_IS_TRIVIAL 1
203 # define YYSTYPE_IS_DECLARED 1
204 #endif
205 
206 
208 
209 int clixon_yang_parseparse (void *_yy);
210 
211 #endif /* !YY_CLIXON_YANG_PARSE_Y_TAB_H_INCLUDED */
#define DQ
Definition: clixon_yang_parse.tab.h:121
#define K_LEAF_LIST
Definition: clixon_yang_parse.tab.h:153
#define K_KEY
Definition: clixon_yang_parse.tab.h:151
#define K_FRACTION_DIGITS
Definition: clixon_yang_parse.tab.h:144
#define K_RANGE
Definition: clixon_yang_parse.tab.h:171
#define K_RPC
Definition: clixon_yang_parse.tab.h:177
#define K_CONTAINER
Definition: clixon_yang_parse.tab.h:134
#define K_MIN_ELEMENTS
Definition: clixon_yang_parse.tab.h:158
int intval
Definition: clixon_json_parse.l:119
#define K_PREFIX
Definition: clixon_yang_parse.tab.h:169
int clixon_yang_parseparse(void *_yy)
#define K_MODULE
Definition: clixon_yang_parse.tab.h:159
#define K_LIST
Definition: clixon_yang_parse.tab.h:155
YYSTYPE clixon_yang_parselval
#define K_PRESENCE
Definition: clixon_yang_parse.tab.h:170
#define K_DEVIATE
Definition: clixon_yang_parse.tab.h:137
#define K_DEFAULT
Definition: clixon_yang_parse.tab.h:135
#define K_WHEN
Definition: clixon_yang_parse.tab.h:186
#define K_MAX_ELEMENTS
Definition: clixon_yang_parse.tab.h:157
#define K_ENUM
Definition: clixon_yang_parse.tab.h:139
#define K_TYPE
Definition: clixon_yang_parse.tab.h:180
#define K_UNIQUE
Definition: clixon_yang_parse.tab.h:182
#define K_LENGTH
Definition: clixon_yang_parse.tab.h:154
#define K_CHOICE
Definition: clixon_yang_parse.tab.h:131
#define K_EXTENSION
Definition: clixon_yang_parse.tab.h:142
#define K_STATUS
Definition: clixon_yang_parse.tab.h:178
#define K_CASE
Definition: clixon_yang_parse.tab.h:130
#define K_MANDATORY
Definition: clixon_yang_parse.tab.h:156
#define K_LEAF
Definition: clixon_yang_parse.tab.h:152
#define K_BELONGS_TO
Definition: clixon_yang_parse.tab.h:128
#define K_ERROR_APP_TAG
Definition: clixon_yang_parse.tab.h:140
#define K_USES
Definition: clixon_yang_parse.tab.h:184
#define K_MUST
Definition: clixon_yang_parse.tab.h:160
#define K_YIN_ELEMENT
Definition: clixon_yang_parse.tab.h:188
#define K_OUTPUT
Definition: clixon_yang_parse.tab.h:165
#define K_BIT
Definition: clixon_yang_parse.tab.h:129
#define K_NOTIFICATION
Definition: clixon_yang_parse.tab.h:162
#define K_REQUIRE_INSTANCE
Definition: clixon_yang_parse.tab.h:174
#define K_GROUPING
Definition: clixon_yang_parse.tab.h:145
#define K_CONFIG
Definition: clixon_yang_parse.tab.h:132
#define K_INPUT
Definition: clixon_yang_parse.tab.h:150
#define K_NAMESPACE
Definition: clixon_yang_parse.tab.h:161
#define K_IMPORT
Definition: clixon_yang_parse.tab.h:148
char * string
Definition: clixon_json_parse.l:120
yytokentype
Definition: clixon_json_parse.tab.c:107
#define K_DEVIATION
Definition: clixon_yang_parse.tab.h:138
#define K_SUBMODULE
Definition: clixon_yang_parse.tab.h:179
#define K_ORDERED_BY
Definition: clixon_yang_parse.tab.h:163
#define K_PATTERN
Definition: clixon_yang_parse.tab.h:167
#define K_ARGUMENT
Definition: clixon_yang_parse.tab.h:125
#define CHAR
Definition: clixon_yang_parse.tab.h:123
#define K_YANG_VERSION
Definition: clixon_yang_parse.tab.h:187
#define K_IDENTITY
Definition: clixon_yang_parse.tab.h:146
#define K_REFERENCE
Definition: clixon_yang_parse.tab.h:172
#define K_UNKNOWN
Definition: clixon_yang_parse.tab.h:122
#define K_UNITS
Definition: clixon_yang_parse.tab.h:183
#define K_TYPEDEF
Definition: clixon_yang_parse.tab.h:181
#define K_DESCRIPTION
Definition: clixon_yang_parse.tab.h:136
#define K_ERROR_MESSAGE
Definition: clixon_yang_parse.tab.h:141
#define K_BASE
Definition: clixon_yang_parse.tab.h:127
#define K_PATH
Definition: clixon_yang_parse.tab.h:166
#define K_CONTACT
Definition: clixon_yang_parse.tab.h:133
Definition: clixon_json_parse.l:115
#define K_REVISION
Definition: clixon_yang_parse.tab.h:175
#define K_ORGANIZATION
Definition: clixon_yang_parse.tab.h:164
#define K_INCLUDE
Definition: clixon_yang_parse.tab.h:149
#define K_REFINE
Definition: clixon_yang_parse.tab.h:173
#define K_FEATURE
Definition: clixon_yang_parse.tab.h:143
#define K_REVISION_DATE
Definition: clixon_yang_parse.tab.h:176
#define K_ANYXML
Definition: clixon_yang_parse.tab.h:124
#define K_VALUE
Definition: clixon_yang_parse.tab.h:185
#define K_POSITION
Definition: clixon_yang_parse.tab.h:168
#define K_IF_FEATURE
Definition: clixon_yang_parse.tab.h:147
#define MY_EOF
Definition: clixon_yang_parse.tab.h:120
#define K_AUGMENT
Definition: clixon_yang_parse.tab.h:126