Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
parser.yy.cc File Reference
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cstdint>
#include <string>
#include "absl/strings/numbers.h"
#include "ortools/flatzinc/parser.tab.hh"
#include <unistd.h>

Go to the source code of this file.

Classes

struct  yy_buffer_state
 
struct  yy_trans_info
 
struct  yyguts_t
 

Macros

#define YY_INT_ALIGNED   short int
 
#define FLEX_SCANNER
 
#define YY_FLEX_MAJOR_VERSION   2
 
#define YY_FLEX_MINOR_VERSION   6
 
#define YY_FLEX_SUBMINOR_VERSION   4
 
#define yy_create_buffer   orfz__create_buffer
 
#define yy_delete_buffer   orfz__delete_buffer
 
#define yy_scan_buffer   orfz__scan_buffer
 
#define yy_scan_string   orfz__scan_string
 
#define yy_scan_bytes   orfz__scan_bytes
 
#define yy_init_buffer   orfz__init_buffer
 
#define yy_flush_buffer   orfz__flush_buffer
 
#define yy_load_buffer_state   orfz__load_buffer_state
 
#define yy_switch_to_buffer   orfz__switch_to_buffer
 
#define yypush_buffer_state   orfz_push_buffer_state
 
#define yypop_buffer_state   orfz_pop_buffer_state
 
#define yyensure_buffer_stack   orfz_ensure_buffer_stack
 
#define yylex   orfz_lex
 
#define yyrestart   orfz_restart
 
#define yylex_init   orfz_lex_init
 
#define yylex_init_extra   orfz_lex_init_extra
 
#define yylex_destroy   orfz_lex_destroy
 
#define yyget_debug   orfz_get_debug
 
#define yyset_debug   orfz_set_debug
 
#define yyget_extra   orfz_get_extra
 
#define yyset_extra   orfz_set_extra
 
#define yyget_in   orfz_get_in
 
#define yyset_in   orfz_set_in
 
#define yyget_out   orfz_get_out
 
#define yyset_out   orfz_set_out
 
#define yyget_leng   orfz_get_leng
 
#define yyget_text   orfz_get_text
 
#define yyget_lineno   orfz_get_lineno
 
#define yyset_lineno   orfz_set_lineno
 
#define yyget_column   orfz_get_column
 
#define yyset_column   orfz_set_column
 
#define yywrap   orfz_wrap
 
#define yyget_lval   orfz_get_lval
 
#define yyset_lval   orfz_set_lval
 
#define yyalloc   orfz_alloc
 
#define yyrealloc   orfz_realloc
 
#define yyfree   orfz_free
 
#define FLEXINT_H
 
#define INT8_MIN   (-128)
 
#define INT16_MIN   (-32767 - 1)
 
#define INT32_MIN   (-2147483647 - 1)
 
#define INT8_MAX   (127)
 
#define INT16_MAX   (32767)
 
#define INT32_MAX   (2147483647)
 
#define UINT8_MAX   (255U)
 
#define UINT16_MAX   (65535U)
 
#define UINT32_MAX   (4294967295U)
 
#define SIZE_MAX   (~(size_t)0)
 
#define yyconst   const
 
#define yynoreturn
 
#define YY_NULL   0
 
#define YY_SC_TO_UI(c)
 
#define YY_TYPEDEF_YY_SCANNER_T
 
#define yyin   yyg->yyin_r
 
#define yyout   yyg->yyout_r
 
#define yyextra   yyg->yyextra_r
 
#define yyleng   yyg->yyleng_r
 
#define yytext   yyg->yytext_r
 
#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
 
#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
 
#define yy_flex_debug   yyg->yy_flex_debug_r
 
#define BEGIN   yyg->yy_start = 1 + 2 *
 
#define YY_START   ((yyg->yy_start - 1) / 2)
 
#define YYSTATE   YY_START
 
#define YY_STATE_EOF(state)
 
#define YY_NEW_FILE   yyrestart(yyin, yyscanner)
 
#define YY_END_OF_BUFFER_CHAR   0
 
#define YY_BUF_SIZE   16384
 
#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
 
#define YY_TYPEDEF_YY_BUFFER_STATE
 
#define YY_TYPEDEF_YY_SIZE_T
 
#define EOB_ACT_CONTINUE_SCAN   0
 
#define EOB_ACT_END_OF_FILE   1
 
#define EOB_ACT_LAST_MATCH   2
 
#define YY_LESS_LINENO(n)
 
#define YY_LINENO_REWIND_TO(dst)
 
#define yyless(n)
 
#define unput(c)
 
#define YY_STRUCT_YY_BUFFER_STATE
 
#define YY_BUFFER_NEW   0
 
#define YY_BUFFER_NORMAL   1
 
#define YY_BUFFER_EOF_PENDING   2
 
#define YY_CURRENT_BUFFER    (yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : NULL)
 
#define YY_CURRENT_BUFFER_LVALUE   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
 
#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER, yyscanner)
 
#define yy_new_buffer   yy_create_buffer
 
#define yy_set_interactive(is_interactive)
 
#define yy_set_bol(at_bol)
 
#define YY_AT_BOL()
 
#define orfz_wrap(yyscanner)
 
#define YY_SKIP_YYWRAP
 
#define yytext_ptr   yytext_r
 
#define YY_DO_BEFORE_ACTION
 
#define YY_NUM_RULES   31
 
#define YY_END_OF_BUFFER   32
 
#define REJECT   reject_used_but_not_detected
 
#define yymore()
 
#define YY_MORE_ADJ   0
 
#define YY_RESTORE_YY_MORE_OFFSET
 
#define INITIAL   0
 
#define YY_EXTRA_TYPE   void*
 
#define yylval   yyg->yylval_r
 
#define YY_READ_BUF_SIZE   8192
 
#define ECHO
 
#define YY_INPUT(buf, result, max_size)
 
#define yyterminate()
 
#define YY_START_STACK_INCR   25
 
#define YY_FATAL_ERROR(msg)
 
#define YY_DECL_IS_OURS   1
 
#define YY_DECL   int yylex(YYSTYPE* yylval_param, yyscan_t yyscanner)
 
#define YY_USER_ACTION
 
#define YY_BREAK   /*LINTED*/ break;
 
#define YY_RULE_SETUP   YY_USER_ACTION
 
#define YY_EXIT_FAILURE   2
 
#define yyless(n)
 
#define YYTABLES_NAME   "yytables"
 

Typedefs

typedef signed char flex_int8_t
 
typedef short int flex_int16_t
 
typedef int flex_int32_t
 
typedef unsigned char flex_uint8_t
 
typedef unsigned short int flex_uint16_t
 
typedef unsigned int flex_uint32_t
 
typedef void * yyscan_t
 
typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef size_t yy_size_t
 
typedef flex_uint8_t YY_CHAR
 
typedef int yy_state_type
 

Functions

void yyrestart (FILE *input_file, yyscan_t yyscanner)
 
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_create_buffer (FILE *file, int size, yyscan_t yyscanner)
 
void yy_delete_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 
void yy_flush_buffer (YY_BUFFER_STATE b, yyscan_t yyscanner)
 
void yypush_buffer_state (YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
 
void yypop_buffer_state (yyscan_t yyscanner)
 
static void yyensure_buffer_stack (yyscan_t yyscanner)
 
static void yy_load_buffer_state (yyscan_t yyscanner)
 
static void yy_init_buffer (YY_BUFFER_STATE b, FILE *file, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_scan_buffer (char *base, yy_size_t size, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_scan_string (const char *yy_str, yyscan_t yyscanner)
 
YY_BUFFER_STATE yy_scan_bytes (const char *bytes, int len, yyscan_t yyscanner)
 
void * yyalloc (yy_size_t, yyscan_t yyscanner)
 
void * yyrealloc (void *, yy_size_t, yyscan_t yyscanner)
 
void yyfree (void *, yyscan_t yyscanner)
 
static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
 
static yy_state_type yy_try_NUL_trans (yy_state_type current_state, yyscan_t yyscanner)
 
static int yy_get_next_buffer (yyscan_t yyscanner)
 
static void yynoreturn yy_fatal_error (const char *msg, yyscan_t yyscanner)
 
static int yy_init_globals (yyscan_t yyscanner)
 
int yylex_init (yyscan_t *scanner)
 
int yylex_init_extra (YY_EXTRA_TYPE user_defined, yyscan_t *scanner)
 
int yylex_destroy (yyscan_t yyscanner)
 
int yyget_debug (yyscan_t yyscanner)
 
void yyset_debug (int debug_flag, yyscan_t yyscanner)
 
YY_EXTRA_TYPE yyget_extra (yyscan_t yyscanner)
 
void yyset_extra (YY_EXTRA_TYPE user_defined, yyscan_t yyscanner)
 
FILE * yyget_in (yyscan_t yyscanner)
 
void yyset_in (FILE *_in_str, yyscan_t yyscanner)
 
FILE * yyget_out (yyscan_t yyscanner)
 
void yyset_out (FILE *_out_str, yyscan_t yyscanner)
 
int yyget_leng (yyscan_t yyscanner)
 
char * yyget_text (yyscan_t yyscanner)
 
int yyget_lineno (yyscan_t yyscanner)
 
void yyset_lineno (int _line_number, yyscan_t yyscanner)
 
int yyget_column (yyscan_t yyscanner)
 
void yyset_column (int _column_no, yyscan_t yyscanner)
 
YYSTYPEyyget_lval (yyscan_t yyscanner)
 
void yyset_lval (YYSTYPE *yylval_param, yyscan_t yyscanner)
 
static void yyunput (int c, char *buf_ptr, yyscan_t yyscanner)
 
static int input (yyscan_t yyscanner)
 
int yylex (YYSTYPE *yylval_param, yyscan_t yyscanner)
 
 if (!yyg->yy_init)
 

Variables

static const flex_int16_t yy_accept [117]
 
static const YY_CHAR yy_ec [256]
 
static const YY_CHAR yy_meta [37]
 
static const flex_int16_t yy_base [123]
 
static const flex_int16_t yy_def [123]
 
static const flex_int16_t yy_nxt [212]
 
static const flex_int16_t yy_chk [212]
 
static const flex_int32_t yy_rule_can_match_eol [32]
 
 YY_DECL
 
char * yy_cp
 
char * yy_bp
 
int yy_act
 
struct yyguts_tyyg = (struct yyguts_t*)yyscanner
 
 yylval = yylval_param
 

Macro Definition Documentation

◆ BEGIN

#define BEGIN   yyg->yy_start = 1 + 2 *

Definition at line 370 of file parser.yy.cc.

◆ ECHO

#define ECHO
Value:
do { \
if (fwrite(yytext, (size_t)yyleng, 1, yyout)) { \
} \
} while (0)
#define yytext
Definition parser.yy.cc:361
#define yyout
Definition parser.yy.cc:358
#define yyleng
Definition parser.yy.cc:360

Definition at line 874 of file parser.yy.cc.

◆ EOB_ACT_CONTINUE_SCAN

#define EOB_ACT_CONTINUE_SCAN   0

Definition at line 411 of file parser.yy.cc.

◆ EOB_ACT_END_OF_FILE

#define EOB_ACT_END_OF_FILE   1

Definition at line 412 of file parser.yy.cc.

◆ EOB_ACT_LAST_MATCH

#define EOB_ACT_LAST_MATCH   2

Definition at line 413 of file parser.yy.cc.

◆ FLEX_SCANNER

#define FLEX_SCANNER

Definition at line 22 of file parser.yy.cc.

◆ FLEXINT_H

#define FLEXINT_H

Definition at line 265 of file parser.yy.cc.

◆ INITIAL

#define INITIAL   0

Definition at line 728 of file parser.yy.cc.

◆ INT16_MAX

#define INT16_MAX   (32767)

Definition at line 307 of file parser.yy.cc.

◆ INT16_MIN

#define INT16_MIN   (-32767 - 1)

Definition at line 298 of file parser.yy.cc.

◆ INT32_MAX

#define INT32_MAX   (2147483647)

Definition at line 310 of file parser.yy.cc.

◆ INT32_MIN

#define INT32_MIN   (-2147483647 - 1)

Definition at line 301 of file parser.yy.cc.

◆ INT8_MAX

#define INT8_MAX   (127)

Definition at line 304 of file parser.yy.cc.

◆ INT8_MIN

#define INT8_MIN   (-128)

Definition at line 295 of file parser.yy.cc.

◆ orfz_wrap

#define orfz_wrap ( yyscanner)
Value:
(/*CONSTCOND*/ 1)

Definition at line 568 of file parser.yy.cc.

◆ REJECT

#define REJECT   reject_used_but_not_detected

Definition at line 703 of file parser.yy.cc.

◆ SIZE_MAX

#define SIZE_MAX   (~(size_t)0)

Definition at line 323 of file parser.yy.cc.

◆ UINT16_MAX

#define UINT16_MAX   (65535U)

Definition at line 316 of file parser.yy.cc.

◆ UINT32_MAX

#define UINT32_MAX   (4294967295U)

Definition at line 319 of file parser.yy.cc.

◆ UINT8_MAX

#define UINT8_MAX   (255U)

Definition at line 313 of file parser.yy.cc.

◆ unput

#define unput ( c)
Value:
yyunput(c, yyg->yytext_ptr, yyscanner)
struct yyguts_t * yyg
Definition parser.yy.cc:961
static void yyunput(int c, char *buf_ptr, yyscan_t yyscanner)

Definition at line 446 of file parser.yy.cc.

◆ YY_AT_BOL

#define YY_AT_BOL ( )
Value:
#define YY_CURRENT_BUFFER_LVALUE
Definition parser.yy.cc:522

Definition at line 564 of file parser.yy.cc.

◆ YY_BREAK

#define YY_BREAK   /*LINTED*/ break;

Definition at line 950 of file parser.yy.cc.

◆ YY_BUF_SIZE

#define YY_BUF_SIZE   16384

Definition at line 392 of file parser.yy.cc.

◆ YY_BUFFER_EOF_PENDING

#define YY_BUFFER_EOF_PENDING   2

Definition at line 507 of file parser.yy.cc.

◆ YY_BUFFER_NEW

#define YY_BUFFER_NEW   0

Definition at line 495 of file parser.yy.cc.

◆ YY_BUFFER_NORMAL

#define YY_BUFFER_NORMAL   1

Definition at line 496 of file parser.yy.cc.

◆ yy_create_buffer

#define yy_create_buffer   orfz__create_buffer

Definition at line 33 of file parser.yy.cc.

◆ YY_CURRENT_BUFFER

#define YY_CURRENT_BUFFER    (yyg->yy_buffer_stack ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] : NULL)

Definition at line 517 of file parser.yy.cc.

◆ YY_CURRENT_BUFFER_LVALUE

#define YY_CURRENT_BUFFER_LVALUE   yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]

Definition at line 522 of file parser.yy.cc.

◆ YY_DECL

#define YY_DECL   int yylex(YYSTYPE* yylval_param, yyscan_t yyscanner)

Definition at line 938 of file parser.yy.cc.

◆ YY_DECL_IS_OURS

#define YY_DECL_IS_OURS   1

Definition at line 934 of file parser.yy.cc.

◆ yy_delete_buffer

#define yy_delete_buffer   orfz__delete_buffer

Definition at line 39 of file parser.yy.cc.

◆ YY_DO_BEFORE_ACTION

#define YY_DO_BEFORE_ACTION
Value:
yyg->yytext_ptr = yy_bp; \
yyleng = (int)(yy_cp - yy_bp); \
*yy_cp = '\0'; \
char * yy_cp
Definition parser.yy.cc:959
char * yy_bp
Definition parser.yy.cc:959
char * yy_c_buf_p
Definition parser.yy.cc:756
char yy_hold_char
Definition parser.yy.cc:753

Definition at line 585 of file parser.yy.cc.

◆ YY_END_OF_BUFFER

#define YY_END_OF_BUFFER   32

Definition at line 592 of file parser.yy.cc.

◆ YY_END_OF_BUFFER_CHAR

#define YY_END_OF_BUFFER_CHAR   0

Definition at line 381 of file parser.yy.cc.

◆ YY_EXIT_FAILURE

#define YY_EXIT_FAILURE   2

◆ YY_EXTRA_TYPE

#define YY_EXTRA_TYPE   void*

Definition at line 739 of file parser.yy.cc.

◆ YY_FATAL_ERROR

#define YY_FATAL_ERROR ( msg)
Value:
yy_fatal_error(msg, yyscanner)
static void yynoreturn yy_fatal_error(const char *msg, yyscan_t yyscanner)

Definition at line 925 of file parser.yy.cc.

◆ yy_flex_debug

#define yy_flex_debug   yyg->yy_flex_debug_r

Definition at line 364 of file parser.yy.cc.

◆ YY_FLEX_MAJOR_VERSION

#define YY_FLEX_MAJOR_VERSION   2

Definition at line 23 of file parser.yy.cc.

◆ YY_FLEX_MINOR_VERSION

#define YY_FLEX_MINOR_VERSION   6

Definition at line 24 of file parser.yy.cc.

◆ YY_FLEX_SUBMINOR_VERSION

#define YY_FLEX_SUBMINOR_VERSION   4

Definition at line 25 of file parser.yy.cc.

◆ YY_FLUSH_BUFFER

#define YY_FLUSH_BUFFER   yy_flush_buffer(YY_CURRENT_BUFFER, yyscanner)

Definition at line 535 of file parser.yy.cc.

◆ yy_flush_buffer

#define yy_flush_buffer   orfz__flush_buffer

Definition at line 69 of file parser.yy.cc.

◆ yy_init_buffer

#define yy_init_buffer   orfz__init_buffer

Definition at line 63 of file parser.yy.cc.

◆ YY_INPUT

#define YY_INPUT ( buf,
result,
max_size )
Value:
if (YY_CURRENT_BUFFER_LVALUE->yy_is_interactive) { \
int c = '*'; \
int n; \
for (n = 0; n < max_size && (c = getc(yyin)) != EOF && c != '\n'; ++n) \
buf[n] = (char)c; \
if (c == '\n') buf[n++] = (char)c; \
if (c == EOF && ferror(yyin)) \
YY_FATAL_ERROR("input in flex scanner failed"); \
result = n; \
} else { \
errno = 0; \
while ((result = (int)fread(buf, 1, (yy_size_t)max_size, yyin)) == 0 && \
ferror(yyin)) { \
if (errno != EINTR) { \
YY_FATAL_ERROR("input in flex scanner failed"); \
break; \
} \
errno = 0; \
clearerr(yyin); \
} \
}
if(!yyg->yy_init)
Definition parser.yy.cc:965
static int input(yyscan_t yyscanner)
#define yyin
Definition parser.yy.cc:357
#define YY_FATAL_ERROR(msg)
Definition parser.yy.cc:925
size_t yy_size_t
Definition parser.yy.cc:408

Definition at line 885 of file parser.yy.cc.

◆ YY_INT_ALIGNED

#define YY_INT_ALIGNED   short int

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 18 of file parser.yy.cc.

◆ YY_LESS_LINENO

#define YY_LESS_LINENO ( n)
Value:
do { \
int yyl; \
for (yyl = n; yyl < yyleng; ++yyl) \
if (yytext[yyl] == '\n') --yylineno; \
} while (0)
#define yylineno
Definition parser.yy.cc:362

Definition at line 422 of file parser.yy.cc.

◆ YY_LINENO_REWIND_TO

#define YY_LINENO_REWIND_TO ( dst)
Value:
do { \
const char* p; \
for (p = yy_cp - 1; p >= (dst); --p) \
if (*p == '\n') --yylineno; \
} while (0)

Definition at line 428 of file parser.yy.cc.

◆ yy_load_buffer_state

#define yy_load_buffer_state   orfz__load_buffer_state

Definition at line 75 of file parser.yy.cc.

◆ YY_MORE_ADJ

#define YY_MORE_ADJ   0

Definition at line 705 of file parser.yy.cc.

◆ yy_new_buffer

#define yy_new_buffer   yy_create_buffer

Definition at line 545 of file parser.yy.cc.

◆ YY_NEW_FILE

#define YY_NEW_FILE   yyrestart(yyin, yyscanner)

Definition at line 380 of file parser.yy.cc.

◆ YY_NULL

#define YY_NULL   0

Definition at line 342 of file parser.yy.cc.

◆ YY_NUM_RULES

#define YY_NUM_RULES   31

Definition at line 591 of file parser.yy.cc.

◆ YY_READ_BUF_SIZE

#define YY_READ_BUF_SIZE   8192

Definition at line 865 of file parser.yy.cc.

◆ YY_RESTORE_YY_MORE_OFFSET

#define YY_RESTORE_YY_MORE_OFFSET

Definition at line 706 of file parser.yy.cc.

◆ YY_RULE_SETUP

#define YY_RULE_SETUP   YY_USER_ACTION

Definition at line 953 of file parser.yy.cc.

◆ YY_SC_TO_UI

#define YY_SC_TO_UI ( c)
Value:
((YY_CHAR)(c))
flex_uint8_t YY_CHAR
Definition parser.yy.cc:570

Definition at line 347 of file parser.yy.cc.

◆ yy_scan_buffer

#define yy_scan_buffer   orfz__scan_buffer

Definition at line 45 of file parser.yy.cc.

◆ yy_scan_bytes

#define yy_scan_bytes   orfz__scan_bytes

Definition at line 57 of file parser.yy.cc.

◆ yy_scan_string

#define yy_scan_string   orfz__scan_string

Definition at line 51 of file parser.yy.cc.

◆ yy_set_bol

#define yy_set_bol ( at_bol)
Value:
{ \
yyensure_buffer_stack(yyscanner); \
yy_create_buffer(yyin, YY_BUF_SIZE, yyscanner); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
#define YY_CURRENT_BUFFER
Definition parser.yy.cc:517
#define YY_BUF_SIZE
Definition parser.yy.cc:392

Definition at line 555 of file parser.yy.cc.

◆ yy_set_interactive

#define yy_set_interactive ( is_interactive)
Value:
{ \
yyensure_buffer_stack(yyscanner); \
yy_create_buffer(yyin, YY_BUF_SIZE, yyscanner); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}

Definition at line 546 of file parser.yy.cc.

◆ YY_SKIP_YYWRAP

#define YY_SKIP_YYWRAP

Definition at line 569 of file parser.yy.cc.

◆ YY_START

#define YY_START   ((yyg->yy_start - 1) / 2)

Definition at line 375 of file parser.yy.cc.

◆ YY_START_STACK_INCR

#define YY_START_STACK_INCR   25

Definition at line 920 of file parser.yy.cc.

◆ YY_STATE_BUF_SIZE

#define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))

Definition at line 399 of file parser.yy.cc.

◆ YY_STATE_EOF

#define YY_STATE_EOF ( state)
Value:
(YY_END_OF_BUFFER + state + 1)
#define YY_END_OF_BUFFER
Definition parser.yy.cc:592

Definition at line 378 of file parser.yy.cc.

◆ YY_STRUCT_YY_BUFFER_STATE

#define YY_STRUCT_YY_BUFFER_STATE

Definition at line 449 of file parser.yy.cc.

◆ yy_switch_to_buffer

#define yy_switch_to_buffer   orfz__switch_to_buffer

Definition at line 81 of file parser.yy.cc.

◆ YY_TYPEDEF_YY_BUFFER_STATE

#define YY_TYPEDEF_YY_BUFFER_STATE

Definition at line 402 of file parser.yy.cc.

◆ YY_TYPEDEF_YY_SCANNER_T

#define YY_TYPEDEF_YY_SCANNER_T

Definition at line 351 of file parser.yy.cc.

◆ YY_TYPEDEF_YY_SIZE_T

#define YY_TYPEDEF_YY_SIZE_T

Definition at line 407 of file parser.yy.cc.

◆ YY_USER_ACTION

#define YY_USER_ACTION

Definition at line 945 of file parser.yy.cc.

◆ yyalloc

#define yyalloc   orfz_alloc

Definition at line 237 of file parser.yy.cc.

◆ yycolumn

#define yycolumn   (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)

Definition at line 363 of file parser.yy.cc.

◆ yyconst

#define yyconst   const

Definition at line 333 of file parser.yy.cc.

◆ yyensure_buffer_stack

#define yyensure_buffer_stack   orfz_ensure_buffer_stack

Definition at line 99 of file parser.yy.cc.

◆ yyextra

#define yyextra   yyg->yyextra_r

Definition at line 359 of file parser.yy.cc.

◆ yyfree

#define yyfree   orfz_free

Definition at line 249 of file parser.yy.cc.

◆ yyget_column

#define yyget_column   orfz_get_column

Definition at line 207 of file parser.yy.cc.

◆ yyget_debug

#define yyget_debug   orfz_get_debug

Definition at line 135 of file parser.yy.cc.

◆ yyget_extra

#define yyget_extra   orfz_get_extra

Definition at line 147 of file parser.yy.cc.

◆ yyget_in

#define yyget_in   orfz_get_in

Definition at line 159 of file parser.yy.cc.

◆ yyget_leng

#define yyget_leng   orfz_get_leng

Definition at line 183 of file parser.yy.cc.

◆ yyget_lineno

#define yyget_lineno   orfz_get_lineno

Definition at line 195 of file parser.yy.cc.

◆ yyget_lval

#define yyget_lval   orfz_get_lval

Definition at line 225 of file parser.yy.cc.

◆ yyget_out

#define yyget_out   orfz_get_out

Definition at line 171 of file parser.yy.cc.

◆ yyget_text

#define yyget_text   orfz_get_text

Definition at line 189 of file parser.yy.cc.

◆ yyin

#define yyin   yyg->yyin_r

Definition at line 357 of file parser.yy.cc.

◆ yyleng

#define yyleng   yyg->yyleng_r

Definition at line 360 of file parser.yy.cc.

◆ yyless [1/2]

#define yyless ( n)
Value:
do { \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg); \
YY_RESTORE_YY_MORE_OFFSET \
yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
YY_DO_BEFORE_ACTION; /* set up yytext again */ \
} while (0)
#define YY_MORE_ADJ
Definition parser.yy.cc:705
#define YY_DO_BEFORE_ACTION
Definition parser.yy.cc:585

Definition at line 436 of file parser.yy.cc.

◆ yyless [2/2]

#define yyless ( n)
Value:
do { \
/* Undo effects of setting up yytext. */ \
int yyless_macro_arg = (n); \
YY_LESS_LINENO(yyless_macro_arg); \
yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
*yyg->yy_c_buf_p = '\0'; \
yyleng = yyless_macro_arg; \
} while (0)

Definition at line 436 of file parser.yy.cc.

◆ yylex

#define yylex   orfz_lex

Definition at line 105 of file parser.yy.cc.

◆ yylex_destroy

#define yylex_destroy   orfz_lex_destroy

Definition at line 129 of file parser.yy.cc.

◆ yylex_init

#define yylex_init   orfz_lex_init

Definition at line 117 of file parser.yy.cc.

◆ yylex_init_extra

#define yylex_init_extra   orfz_lex_init_extra

Definition at line 123 of file parser.yy.cc.

◆ yylineno

#define yylineno   (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)

Definition at line 362 of file parser.yy.cc.

◆ yylval

#define yylval   yyg->yylval_r

Definition at line 781 of file parser.yy.cc.

◆ yymore

#define yymore ( )
Value:
yymore_used_but_not_detected

Definition at line 704 of file parser.yy.cc.

◆ yynoreturn

#define yynoreturn

Definition at line 338 of file parser.yy.cc.

◆ yyout

#define yyout   yyg->yyout_r

Definition at line 358 of file parser.yy.cc.

◆ yypop_buffer_state

#define yypop_buffer_state   orfz_pop_buffer_state

Definition at line 93 of file parser.yy.cc.

◆ yypush_buffer_state

#define yypush_buffer_state   orfz_push_buffer_state

Definition at line 87 of file parser.yy.cc.

◆ yyrealloc

#define yyrealloc   orfz_realloc

Definition at line 243 of file parser.yy.cc.

◆ yyrestart

#define yyrestart   orfz_restart

Definition at line 111 of file parser.yy.cc.

◆ yyset_column

#define yyset_column   orfz_set_column

Definition at line 213 of file parser.yy.cc.

◆ yyset_debug

#define yyset_debug   orfz_set_debug

Definition at line 141 of file parser.yy.cc.

◆ yyset_extra

#define yyset_extra   orfz_set_extra

Definition at line 153 of file parser.yy.cc.

◆ yyset_in

#define yyset_in   orfz_set_in

Definition at line 165 of file parser.yy.cc.

◆ yyset_lineno

#define yyset_lineno   orfz_set_lineno

Definition at line 201 of file parser.yy.cc.

◆ yyset_lval

#define yyset_lval   orfz_set_lval

Definition at line 231 of file parser.yy.cc.

◆ yyset_out

#define yyset_out   orfz_set_out

Definition at line 177 of file parser.yy.cc.

◆ YYSTATE

#define YYSTATE   YY_START

Definition at line 376 of file parser.yy.cc.

◆ YYTABLES_NAME

#define YYTABLES_NAME   "yytables"

◆ yyterminate

#define yyterminate ( )
Value:
return YY_NULL
#define YY_NULL
Definition parser.yy.cc:342

Definition at line 915 of file parser.yy.cc.

◆ yytext

#define yytext   yyg->yytext_r

Definition at line 361 of file parser.yy.cc.

◆ yytext_ptr

#define yytext_ptr   yytext_r

Definition at line 574 of file parser.yy.cc.

◆ yywrap

#define yywrap   orfz_wrap

Definition at line 219 of file parser.yy.cc.

Typedef Documentation

◆ flex_int16_t

typedef short int flex_int16_t

Definition at line 287 of file parser.yy.cc.

◆ flex_int32_t

typedef int flex_int32_t

Definition at line 288 of file parser.yy.cc.

◆ flex_int8_t

typedef signed char flex_int8_t

Definition at line 286 of file parser.yy.cc.

◆ flex_uint16_t

typedef unsigned short int flex_uint16_t

Definition at line 290 of file parser.yy.cc.

◆ flex_uint32_t

typedef unsigned int flex_uint32_t

Definition at line 291 of file parser.yy.cc.

◆ flex_uint8_t

typedef unsigned char flex_uint8_t

Definition at line 289 of file parser.yy.cc.

◆ YY_BUFFER_STATE

Definition at line 403 of file parser.yy.cc.

◆ YY_CHAR

Definition at line 570 of file parser.yy.cc.

◆ yy_size_t

typedef size_t yy_size_t

Definition at line 408 of file parser.yy.cc.

◆ yy_state_type

typedef int yy_state_type

Definition at line 572 of file parser.yy.cc.

◆ yyscan_t

typedef void* yyscan_t

Definition at line 352 of file parser.yy.cc.

Function Documentation

◆ if()

if ( !yyg-> yy_init)

Definition at line 965 of file parser.yy.cc.

◆ input()

static int input ( yyscan_t yyscanner)
static

◆ yy_create_buffer()

YY_BUFFER_STATE yy_create_buffer ( FILE * file,
int size,
yyscan_t yyscanner )

◆ yy_delete_buffer()

void yy_delete_buffer ( YY_BUFFER_STATE b,
yyscan_t yyscanner )

◆ yy_fatal_error()

static void yynoreturn yy_fatal_error ( const char * msg,
yyscan_t yyscanner )
static

◆ yy_flush_buffer()

void yy_flush_buffer ( YY_BUFFER_STATE b,
yyscan_t yyscanner )

◆ yy_get_next_buffer()

static int yy_get_next_buffer ( yyscan_t yyscanner)
static

◆ yy_get_previous_state()

static yy_state_type yy_get_previous_state ( yyscan_t yyscanner)
static

◆ yy_init_buffer()

static void yy_init_buffer ( YY_BUFFER_STATE b,
FILE * file,
yyscan_t yyscanner )
static

◆ yy_init_globals()

static int yy_init_globals ( yyscan_t yyscanner)
static

◆ yy_load_buffer_state()

static void yy_load_buffer_state ( yyscan_t yyscanner)
static

◆ yy_scan_buffer()

YY_BUFFER_STATE yy_scan_buffer ( char * base,
yy_size_t size,
yyscan_t yyscanner )

◆ yy_scan_bytes()

YY_BUFFER_STATE yy_scan_bytes ( const char * bytes,
int len,
yyscan_t yyscanner )

◆ yy_scan_string()

YY_BUFFER_STATE yy_scan_string ( const char * yy_str,
yyscan_t yyscanner )

◆ yy_switch_to_buffer()

void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer,
yyscan_t yyscanner )

◆ yy_try_NUL_trans()

static yy_state_type yy_try_NUL_trans ( yy_state_type current_state,
yyscan_t yyscanner )
static

◆ yyalloc()

void * yyalloc ( yy_size_t ,
yyscan_t yyscanner )

◆ yyensure_buffer_stack()

static void yyensure_buffer_stack ( yyscan_t yyscanner)
static

◆ yyfree()

void yyfree ( void * ,
yyscan_t yyscanner )

◆ yyget_column()

int yyget_column ( yyscan_t yyscanner)

◆ yyget_debug()

int yyget_debug ( yyscan_t yyscanner)

◆ yyget_extra()

YY_EXTRA_TYPE yyget_extra ( yyscan_t yyscanner)

◆ yyget_in()

FILE * yyget_in ( yyscan_t yyscanner)

◆ yyget_leng()

int yyget_leng ( yyscan_t yyscanner)

◆ yyget_lineno()

int yyget_lineno ( yyscan_t yyscanner)

◆ yyget_lval()

YYSTYPE * yyget_lval ( yyscan_t yyscanner)

◆ yyget_out()

FILE * yyget_out ( yyscan_t yyscanner)

◆ yyget_text()

char * yyget_text ( yyscan_t yyscanner)

◆ yylex()

int yylex ( YYSTYPE * yylval_param,
yyscan_t yyscanner )
extern

◆ yylex_destroy()

int yylex_destroy ( yyscan_t yyscanner)

◆ yylex_init()

int yylex_init ( yyscan_t * scanner)

◆ yylex_init_extra()

int yylex_init_extra ( YY_EXTRA_TYPE user_defined,
yyscan_t * scanner )

◆ yypop_buffer_state()

void yypop_buffer_state ( yyscan_t yyscanner)

◆ yypush_buffer_state()

void yypush_buffer_state ( YY_BUFFER_STATE new_buffer,
yyscan_t yyscanner )

◆ yyrealloc()

void * yyrealloc ( void * ,
yy_size_t ,
yyscan_t yyscanner )

◆ yyrestart()

void yyrestart ( FILE * input_file,
yyscan_t yyscanner )

◆ yyset_column()

void yyset_column ( int _column_no,
yyscan_t yyscanner )

◆ yyset_debug()

void yyset_debug ( int debug_flag,
yyscan_t yyscanner )

◆ yyset_extra()

void yyset_extra ( YY_EXTRA_TYPE user_defined,
yyscan_t yyscanner )

◆ yyset_in()

void yyset_in ( FILE * _in_str,
yyscan_t yyscanner )

◆ yyset_lineno()

void yyset_lineno ( int _line_number,
yyscan_t yyscanner )

◆ yyset_lval()

void yyset_lval ( YYSTYPE * yylval_param,
yyscan_t yyscanner )

◆ yyset_out()

void yyset_out ( FILE * _out_str,
yyscan_t yyscanner )

◆ yyunput()

static void yyunput ( int c,
char * buf_ptr,
yyscan_t yyscanner )
static

Variable Documentation

◆ yy_accept

const flex_int16_t yy_accept[117]
static
Initial value:
= {
0, 0, 0, 32, 30, 28, 27, 30, 29, 30, 30, 18, 18, 30, 24, 30, 24,
24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 26, 29, 18, 18, 14, 0,
0, 0, 0, 15, 24, 25, 0, 24, 24, 24, 24, 24, 24, 24, 24, 8, 24,
24, 24, 24, 24, 24, 21, 0, 23, 20, 19, 25, 24, 24, 24, 24, 24, 5,
24, 24, 24, 24, 11, 24, 24, 13, 0, 24, 2, 24, 24, 24, 24, 24, 24,
24, 24, 16, 0, 22, 1, 24, 17, 4, 24, 24, 24, 24, 12, 24, 24,
24, 24, 24, 24, 24, 24, 24, 10, 24, 6, 7, 24, 24, 9, 3, 0}

Definition at line 599 of file parser.yy.cc.

◆ yy_act

int yy_act

Definition at line 960 of file parser.yy.cc.

◆ yy_base

const flex_int16_t yy_base[123]
static
Initial value:
= {
0, 0, 0, 174, 175, 175, 175, 169, 0, 28, 164, 32, 17, 159, 0,
154, 140, 141, 140, 28, 140, 31, 143, 135, 40, 134, 145, 157, 175, 0,
0, 0, 175, 53, 62, 40, 0, 175, 0, 0, 144, 130, 131, 131, 132,
128, 123, 119, 126, 0, 130, 119, 118, 124, 115, 117, 65, 71, 74, 46,
0, 0, 128, 120, 113, 112, 124, 0, 117, 116, 118, 114, 0, 103, 114,
0, 81, 99, 0, 102, 111, 100, 105, 104, 105, 97, 105, 0, 84, 87,
0, 96, 0, 0, 101, 100, 103, 99, 0, 103, 83,
69, 83, 54, 55, 56, 49, 34, 0, 34, 0, 0, 37, 16, 0, 0,
175, 98, 103, 106, 108, 111, 113}

Definition at line 632 of file parser.yy.cc.

◆ yy_bp

char * yy_bp

Definition at line 959 of file parser.yy.cc.

◆ yy_chk

const flex_int16_t yy_chk[212]
static
Initial value:
= {
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 11, 11, 11, 11, 12,
19, 11, 113, 21, 35, 35, 12, 19, 11, 21, 59, 59, 24, 112, 11,
109, 24, 33, 33, 33, 107, 11, 24, 34, 34, 106, 34, 34, 34, 56,
56, 56, 105, 104, 56, 57, 57, 57, 58, 58, 58, 56, 76, 76, 103,
76, 76, 76, 88, 88, 88, 89, 89, 89, 117, 102,
117, 117, 117, 118, 101, 118, 118, 118, 119, 119, 119, 120, 120, 121, 121,
122, 122, 122, 100, 99, 97, 96, 95, 94, 91, 86, 85, 84, 83, 82,
81, 80, 79, 77, 74, 73, 71, 70, 69, 68, 66, 65, 64, 63, 62,
55, 54, 53, 52, 51, 50, 48, 47, 46, 45, 44, 43, 42, 41, 40,
27, 26, 25, 23, 22, 20, 18, 17, 16, 15, 13, 10, 7, 3, 116,
116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116,
116, 116, 116, 116, 116, 116, 116, 116, 116, 116,
116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116}

Definition at line 675 of file parser.yy.cc.

◆ yy_cp

char* yy_cp

Definition at line 959 of file parser.yy.cc.

◆ YY_DECL

YY_DECL
Initial value:
{
yy_state_type yy_current_state
int yy_state_type
Definition parser.yy.cc:572

The main scanner function which does all the work.

Definition at line 957 of file parser.yy.cc.

◆ yy_def

const flex_int16_t yy_def[123]
static
Initial value:
= {
0, 116, 1, 116, 116, 116, 116, 117, 118, 116, 116, 116, 11, 116, 119,
120, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 117, 116, 118,
11, 12, 116, 116, 116, 116, 121, 116, 119, 122, 120, 119, 119, 119, 119,
119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 116, 116, 116, 116,
121, 122, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
119, 116, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 116, 116,
119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
0, 116, 116, 116, 116, 116, 116}

Definition at line 644 of file parser.yy.cc.

◆ yy_ec

const YY_CHAR yy_ec[256]
static
Initial value:
= {
0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 4, 1, 1, 5,
1, 1, 1, 1, 1, 6, 1, 7, 8, 1, 9, 10, 10, 10, 10, 10, 10, 10, 11,
11, 12, 1, 1, 1, 1, 1, 1, 13, 13, 13, 13, 14, 13, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1,
16, 1, 17, 18, 19, 20,
21, 22, 15, 15, 23, 15, 15, 24, 25, 26, 27, 28, 15, 29, 30, 31, 32, 33, 15,
34, 35, 36, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}

Definition at line 609 of file parser.yy.cc.

◆ yy_meta

const YY_CHAR yy_meta[37]
static
Initial value:
= {0, 1, 1, 2, 1, 1, 1, 1, 1, 3, 3, 3, 1,
4, 4, 5, 5, 4, 4, 4, 4, 4, 4, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5}

Definition at line 628 of file parser.yy.cc.

◆ yy_nxt

const flex_int16_t yy_nxt[212]
static
Initial value:
= {
0, 4, 5, 6, 7, 8, 4, 9, 10, 11, 12, 12, 13, 14, 14,
14, 15, 16, 17, 18, 14, 14, 19, 20, 14, 21, 14, 22, 23, 14,
24, 25, 14, 26, 14, 14, 14, 30, 31, 31, 33, 31, 31, 31, 116,
44, 34, 115, 47, 59, 59, 116, 45, 34, 48, 59, 59, 51, 114, 35,
113, 52, 56, 56, 56, 112, 36, 53, 57, 57, 111, 58, 58, 58, 56,
56, 56, 110, 109, 76, 58, 58, 58, 58, 58, 58, 76, 88, 88, 108,
89, 89, 89, 89, 89, 89, 89, 89, 89, 27, 107,
27, 27, 27, 29, 106, 29, 29, 29, 38, 38, 38, 39, 39, 60, 60,
61, 61, 61, 105, 104, 103, 102, 101, 100, 99, 98, 97, 96, 95, 94,
93, 92, 91, 90, 87, 86, 85, 84, 83, 82, 81, 80, 79, 78, 77,
75, 74, 73, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 40,
28, 55, 54, 50, 49, 46, 43, 42, 41, 40, 37, 32, 28, 116, 3,
116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116,
116, 116, 116, 116, 116, 116, 116, 116, 116, 116,
116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116}

Definition at line 656 of file parser.yy.cc.

◆ yy_rule_can_match_eol

const flex_int32_t yy_rule_can_match_eol[32]
static
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
}

Definition at line 695 of file parser.yy.cc.

◆ yyg

struct yyguts_t* yyg = (struct yyguts_t*)yyscanner

Definition at line 961 of file parser.yy.cc.

◆ yylval

yylval = yylval_param

Definition at line 963 of file parser.yy.cc.