Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
globus_rsl_scanner.h
1 #ifndef globus_rslHEADER_H
2 #define globus_rslHEADER_H 1
3 #define globus_rslIN_HEADER 1
4 
5 #line 6 "globus_rsl_scanner.h"
6 
7 #line 8 "globus_rsl_scanner.h"
8 
9 #define YY_INT_ALIGNED short int
10 
11 /* A lexical scanner generated by flex */
12 
13 #define FLEX_SCANNER
14 #define YY_FLEX_MAJOR_VERSION 2
15 #define YY_FLEX_MINOR_VERSION 5
16 #define YY_FLEX_SUBMINOR_VERSION 35
17 #if YY_FLEX_SUBMINOR_VERSION > 0
18 #define FLEX_BETA
19 #endif
20 
21 /* First, we deal with platform-specific or compiler-specific issues. */
22 
23 /* begin standard C headers. */
24 #include <stdio.h>
25 #include <string.h>
26 #include <errno.h>
27 #include <stdlib.h>
28 
29 /* end standard C headers. */
30 
31 /* flex integer type definitions */
32 
33 #ifndef FLEXINT_H
34 #define FLEXINT_H
35 
36 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
37 
38 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
39 
40 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
41  * if you want the limit (max/min) macros for int types.
42  */
43 #ifndef __STDC_LIMIT_MACROS
44 #define __STDC_LIMIT_MACROS 1
45 #endif
46 
47 #include <inttypes.h>
48 typedef int8_t flex_int8_t;
49 typedef uint8_t flex_uint8_t;
50 typedef int16_t flex_int16_t;
51 typedef uint16_t flex_uint16_t;
52 typedef int32_t flex_int32_t;
53 typedef uint32_t flex_uint32_t;
54 typedef uint64_t flex_uint64_t;
55 #else
56 typedef signed char flex_int8_t;
57 typedef short int flex_int16_t;
58 typedef int flex_int32_t;
59 typedef unsigned char flex_uint8_t;
60 typedef unsigned short int flex_uint16_t;
61 typedef unsigned int flex_uint32_t;
62 #endif /* ! C99 */
63 
64 /* Limits of integral types. */
65 #ifndef INT8_MIN
66 #define INT8_MIN (-128)
67 #endif
68 #ifndef INT16_MIN
69 #define INT16_MIN (-32767-1)
70 #endif
71 #ifndef INT32_MIN
72 #define INT32_MIN (-2147483647-1)
73 #endif
74 #ifndef INT8_MAX
75 #define INT8_MAX (127)
76 #endif
77 #ifndef INT16_MAX
78 #define INT16_MAX (32767)
79 #endif
80 #ifndef INT32_MAX
81 #define INT32_MAX (2147483647)
82 #endif
83 #ifndef UINT8_MAX
84 #define UINT8_MAX (255U)
85 #endif
86 #ifndef UINT16_MAX
87 #define UINT16_MAX (65535U)
88 #endif
89 #ifndef UINT32_MAX
90 #define UINT32_MAX (4294967295U)
91 #endif
92 
93 #endif /* ! FLEXINT_H */
94 
95 #ifdef __cplusplus
96 
97 /* The "const" storage-class-modifier is valid. */
98 #define YY_USE_CONST
99 
100 #else /* ! __cplusplus */
101 
102 /* C99 requires __STDC__ to be defined as 1. */
103 #if defined (__STDC__)
104 
105 #define YY_USE_CONST
106 
107 #endif /* defined (__STDC__) */
108 #endif /* ! __cplusplus */
109 
110 #ifdef YY_USE_CONST
111 #define yyconst const
112 #else
113 #define yyconst
114 #endif
115 
116 /* An opaque pointer. */
117 #ifndef YY_TYPEDEF_YY_SCANNER_T
118 #define YY_TYPEDEF_YY_SCANNER_T
119 typedef void* yyscan_t;
120 #endif
121 
122 /* For convenience, these vars (plus the bison vars far below)
123  are macros in the reentrant scanner. */
124 #define yyin yyg->yyin_r
125 #define yyout yyg->yyout_r
126 #define yyextra yyg->yyextra_r
127 #define yyleng yyg->yyleng_r
128 #define yytext yyg->yytext_r
129 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
130 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
131 #define yy_flex_debug yyg->yy_flex_debug_r
132 
133 /* Size of default input buffer. */
134 #ifndef YY_BUF_SIZE
135 #define YY_BUF_SIZE 16384
136 #endif
137 
138 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
139 #define YY_TYPEDEF_YY_BUFFER_STATE
140 typedef struct yy_buffer_state *YY_BUFFER_STATE;
141 #endif
142 
143 #ifndef YY_TYPEDEF_YY_SIZE_T
144 #define YY_TYPEDEF_YY_SIZE_T
145 typedef size_t yy_size_t;
146 #endif
147 
148 #ifndef YY_STRUCT_YY_BUFFER_STATE
149 #define YY_STRUCT_YY_BUFFER_STATE
150 struct yy_buffer_state
151  {
152  FILE *yy_input_file;
153 
154  char *yy_ch_buf; /* input buffer */
155  char *yy_buf_pos; /* current position in input buffer */
156 
157  /* Size of input buffer in bytes, not including room for EOB
158  * characters.
159  */
160  yy_size_t yy_buf_size;
161 
162  /* Number of characters read into yy_ch_buf, not including EOB
163  * characters.
164  */
165  yy_size_t yy_n_chars;
166 
167  /* Whether we "own" the buffer - i.e., we know we created it,
168  * and can realloc() it to grow it, and should free() it to
169  * delete it.
170  */
171  int yy_is_our_buffer;
172 
173  /* Whether this is an "interactive" input source; if so, and
174  * if we're using stdio for input, then we want to use getc()
175  * instead of fread(), to make sure we stop fetching input after
176  * each newline.
177  */
178  int yy_is_interactive;
179 
180  /* Whether we're considered to be at the beginning of a line.
181  * If so, '^' rules will be active on the next match, otherwise
182  * not.
183  */
184  int yy_at_bol;
185 
186  int yy_bs_lineno;
187  int yy_bs_column;
189  /* Whether to try to fill the input buffer when we reach the
190  * end of it.
191  */
192  int yy_fill_buffer;
193 
194  int yy_buffer_status;
195 
196  };
197 #endif /* !YY_STRUCT_YY_BUFFER_STATE */
198 
199 void globus_rslrestart (FILE *input_file ,yyscan_t yyscanner );
200 void globus_rsl_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
201 YY_BUFFER_STATE globus_rsl_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
202 void globus_rsl_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
203 void globus_rsl_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
204 void globus_rslpush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
205 void globus_rslpop_buffer_state (yyscan_t yyscanner );
206 
207 YY_BUFFER_STATE globus_rsl_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
208 YY_BUFFER_STATE globus_rsl_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
209 YY_BUFFER_STATE globus_rsl_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
210 
211 void *globus_rslalloc (yy_size_t ,yyscan_t yyscanner );
212 void *globus_rslrealloc (void *,yy_size_t ,yyscan_t yyscanner );
213 void globus_rslfree (void * ,yyscan_t yyscanner );
214 
215 #define globus_rslwrap(n) 1
216 #define YY_SKIP_YYWRAP
217 
218 #define yytext_ptr yytext_r
219 
220 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
221 #define INITIAL 0
222 #define COMMENT 1
223 #define VARIABLE 2
224 #define QUOTE 3
225 #define QUOTE_HIT_DELIM 4
226 #define IMPLICIT_CONCATENATE 5
227 
228 #endif
229 
230 #ifndef YY_NO_UNISTD_H
231 /* Special case for "unistd.h", since it is non-ANSI. We include it way
232  * down here because we want the user's section 1 to have been scanned first.
233  * The user has a chance to override it with an option.
234  */
235 #include <unistd.h>
236 #endif
237 
238 #define YY_EXTRA_TYPE struct globus_parse_state_s *
239 
240 int globus_rsllex_init (yyscan_t* scanner);
241 
242 int globus_rsllex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
243 
244 /* Accessor methods to globals.
245  These are made visible to non-reentrant scanners for convenience. */
246 
247 int globus_rsllex_destroy (yyscan_t yyscanner );
248 
249 int globus_rslget_debug (yyscan_t yyscanner );
250 
251 void globus_rslset_debug (int debug_flag ,yyscan_t yyscanner );
252 
253 YY_EXTRA_TYPE globus_rslget_extra (yyscan_t yyscanner );
254 
255 void globus_rslset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
256 
257 FILE *globus_rslget_in (yyscan_t yyscanner );
258 
259 void globus_rslset_in (FILE * in_str ,yyscan_t yyscanner );
260 
261 FILE *globus_rslget_out (yyscan_t yyscanner );
262 
263 void globus_rslset_out (FILE * out_str ,yyscan_t yyscanner );
264 
265 yy_size_t globus_rslget_leng (yyscan_t yyscanner );
266 
267 char *globus_rslget_text (yyscan_t yyscanner );
268 
269 int globus_rslget_lineno (yyscan_t yyscanner );
270 
271 void globus_rslset_lineno (int line_number ,yyscan_t yyscanner );
272 
273 YYSTYPE * globus_rslget_lval (yyscan_t yyscanner );
274 
275 void globus_rslset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
276 
277  YYLTYPE *globus_rslget_lloc (yyscan_t yyscanner );
278 
279  void globus_rslset_lloc (YYLTYPE * yylloc_param ,yyscan_t yyscanner );
280 
281 /* Macros after this point can all be overridden by user definitions in
282  * section 1.
283  */
284 
285 #ifndef YY_SKIP_YYWRAP
286 #ifdef __cplusplus
287 extern "C" int globus_rslwrap (yyscan_t yyscanner );
288 #else
289 extern int globus_rslwrap (yyscan_t yyscanner );
290 #endif
291 #endif
292 
293 #ifndef yytext_ptr
294 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
295 #endif
296 
297 #ifdef YY_NEED_STRLEN
298 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
299 #endif
300 
301 #ifndef YY_NO_INPUT
302 
303 #endif
304 
305 /* Amount of stuff to slurp up with each read. */
306 #ifndef YY_READ_BUF_SIZE
307 #define YY_READ_BUF_SIZE 8192
308 #endif
309 
310 /* Number of entries by which start-condition stack grows. */
311 #ifndef YY_START_STACK_INCR
312 #define YY_START_STACK_INCR 25
313 #endif
314 
315 /* Default declaration of generated scanner - a define so the user can
316  * easily add parameters.
317  */
318 #ifndef YY_DECL
319 #define YY_DECL_IS_OURS 1
320 
321 extern int globus_rsllex \
322  (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner);
323 
324 #define YY_DECL int globus_rsllex \
325  (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
326 #endif /* !YY_DECL */
327 
328 /* yy_get_previous_state - get the state just before the EOB char was reached */
329 
330 #undef YY_NEW_FILE
331 #undef YY_FLUSH_BUFFER
332 #undef yy_set_bol
333 #undef yy_new_buffer
334 #undef yy_set_interactive
335 #undef YY_DO_BEFORE_ACTION
336 
337 #ifdef YY_DECL_IS_OURS
338 #undef YY_DECL_IS_OURS
339 #undef YY_DECL
340 #endif
341 
342 #line 442 "globus_rsl_scanner.l"
343 
344 #line 345 "globus_rsl_scanner.h"
345 #undef globus_rslIN_HEADER
346 #endif /* globus_rslHEADER_H */