Globus Toolkit  6.0.1551490201
globus_i_rvf_parser.h
1 /* A Bison parser, made by GNU Bison 3.0.4. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2015 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_GLOBUS_I_RVF_GLOBUS_I_RVF_PARSER_H_INCLUDED
34 # define YY_GLOBUS_I_RVF_GLOBUS_I_RVF_PARSER_H_INCLUDED
35 /* Debug traces. */
36 #ifndef YYDEBUG
37 # define YYDEBUG 1
38 #endif
39 #if YYDEBUG
40 extern int globus_i_rvf_debug;
41 #endif
42 
43 /* Token type. */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46  enum yytokentype
47  {
48  RVF_TOKEN_ERROR = 258,
49  RVF_TOKEN_COMMENT = 259,
50  RVF_TOKEN_NEWLINE = 260,
51  RVF_TOKEN_QUOTE = 261,
52  RVF_TOKEN_ATTRIBUTE = 262,
53  RVF_TOKEN_DEFAULT = 263,
54  RVF_TOKEN_DEFAULTWHEN = 264,
55  RVF_TOKEN_DESCRIPTION = 265,
56  RVF_TOKEN_PUBLISH = 266,
57  RVF_TOKEN_REQUIREDWHEN = 267,
58  RVF_TOKEN_VALIDWHEN = 268,
59  RVF_TOKEN_VALUES = 269,
60  RVF_TOKEN_TEXT = 270,
61  RVF_TOKEN_ASPECT_DELIMITER = 271,
62  RVF_TOKEN_SUBMIT = 272,
63  RVF_TOKEN_RESTART = 273,
64  RVF_TOKEN_STDIO_UPDATE = 274,
65  RVF_TOKEN_BOOL = 275
66  };
67 #endif
68 /* Tokens. */
69 #define RVF_TOKEN_ERROR 258
70 #define RVF_TOKEN_COMMENT 259
71 #define RVF_TOKEN_NEWLINE 260
72 #define RVF_TOKEN_QUOTE 261
73 #define RVF_TOKEN_ATTRIBUTE 262
74 #define RVF_TOKEN_DEFAULT 263
75 #define RVF_TOKEN_DEFAULTWHEN 264
76 #define RVF_TOKEN_DESCRIPTION 265
77 #define RVF_TOKEN_PUBLISH 266
78 #define RVF_TOKEN_REQUIREDWHEN 267
79 #define RVF_TOKEN_VALIDWHEN 268
80 #define RVF_TOKEN_VALUES 269
81 #define RVF_TOKEN_TEXT 270
82 #define RVF_TOKEN_ASPECT_DELIMITER 271
83 #define RVF_TOKEN_SUBMIT 272
84 #define RVF_TOKEN_RESTART 273
85 #define RVF_TOKEN_STDIO_UPDATE 274
86 #define RVF_TOKEN_BOOL 275
87 
88 /* Value type. */
89 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
90 
91 union YYSTYPE
92 {
93 #line 74 "globus_i_rvf_parser.y" /* yacc.c:1909 */
94 
95  int aspect_name;
96  globus_bool_t bool_value;
97  globus_rvf_record_t record;
98  globus_i_rvf_aspect_t aspect;
99  struct
100  {
101  enum {RVF_STRINGVAL, RVF_WHENVAL, RVF_BOOLVAL, RVF_EMPTYVAL } value_type;
102  char *string_value;
103  int when_value;
104  globus_bool_t bool_value;
105  } value;
106  globus_list_t * validation_file;
107 
108 #line 109 "globus_i_rvf_parser.h" /* yacc.c:1909 */
109 };
110 
111 typedef union YYSTYPE YYSTYPE;
112 # define YYSTYPE_IS_TRIVIAL 1
113 # define YYSTYPE_IS_DECLARED 1
114 #endif
115 
116 /* Location type. */
117 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
118 typedef struct YYLTYPE YYLTYPE;
119 struct YYLTYPE
120 {
121  int first_line;
122  int first_column;
123  int last_line;
124  int last_column;
125 };
126 # define YYLTYPE_IS_DECLARED 1
127 # define YYLTYPE_IS_TRIVIAL 1
128 #endif
129 
130 
131 
132 int globus_i_rvf_parse (globus_list_t ** output, void * scanner);
133 
134 #endif /* !YY_GLOBUS_I_RVF_GLOBUS_I_RVF_PARSER_H_INCLUDED */
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
List data type.
Definition: globus_list.h:43