![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
#include "parser.tab.hh"#include <cstdint>#include "absl/log/check.h"#include "absl/strings/match.h"#include "absl/strings/str_format.h"#include "ortools/flatzinc/parser_util.cc"#include <limits.h>Go to the source code of this file.
Classes | |
| union | yyalloc |
| struct | yypcontext_t |
| struct | Annotation |
| struct | Argument |
| struct | Constraint |
| struct | Domain |
| class | Model |
| struct | ParserContext |
| struct | SolutionOutputSpecs |
| struct | Variable |
| struct | VarRefOrValue |
Macros | |
| #define | YYBISON 30802 |
| #define | YYBISON_VERSION "3.8.2" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 2 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | YYSTYPE ORFZ_STYPE |
| #define | yyparse orfz_parse |
| #define | yylex orfz_lex |
| #define | yyerror orfz_error |
| #define | yydebug orfz_debug |
| #define | yynerrs orfz_nerrs |
| #define | YY_CAST(Type, Val) |
| #define | YY_REINTERPRET_CAST(Type, Val) |
| #define | YY_NULLPTR ((void*)0) |
| #define | YYPTRDIFF_T long |
| #define | YYPTRDIFF_MAXIMUM LONG_MAX |
| #define | YYSIZE_T unsigned |
| #define | YYSIZE_MAXIMUM |
| #define | YYSIZEOF(X) |
| #define | YY_(Msgid) |
| #define | YY_ATTRIBUTE_PURE |
| #define | YY_ATTRIBUTE_UNUSED |
| #define | YY_USE(E) |
| #define | YY_INITIAL_VALUE(Value) |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YY_IGNORE_USELESS_CAST_BEGIN |
| #define | YY_IGNORE_USELESS_CAST_END |
| #define | YY_ASSERT(E) |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYMALLOC malloc |
| #define | YYFREE free |
| #define | YYSTACK_GAP_MAXIMUM (YYSIZEOF(union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYCOPY_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYFINAL 3 |
| #define | YYLAST 292 |
| #define | YYNTOKENS 32 |
| #define | YYNNTS 32 |
| #define | YYNRULES 101 |
| #define | YYNSTATES 233 |
| #define | YYMAXUTOK 276 |
| #define | YYTRANSLATE(YYX) |
| #define | YY_ACCESSING_SYMBOL(State) |
| #define | YYPACT_NINF (-192) |
| #define | yypact_value_is_default(Yyn) |
| #define | YYTABLE_NINF (-19) |
| #define | yytable_value_is_error(Yyn) |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = ORFZ_EMPTY) |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYNOMEM goto yyexhaustedlab |
| #define | YYRECOVERING() |
| #define | YYBACKUP(Token, Value) |
| #define | YYERRCODE ORFZ_UNDEF |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYCASE_(N, S) |
| #define | YYPOPSTACK(N) |
Typedefs | |
| typedef enum yysymbol_kind_t | yysymbol_kind_t |
| typedef signed char | yytype_int8 |
| typedef short | yytype_int16 |
| typedef unsigned char | yytype_uint8 |
| typedef unsigned short | yytype_uint16 |
| typedef yytype_uint8 | yy_state_t |
| typedef int | yy_state_fast_t |
Functions | |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| static const char * | yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED |
| static int | yypcontext_expected_tokens (const yypcontext_t *yyctx, yysymbol_kind_t yyarg[], int yyargn) |
| static YYPTRDIFF_T | yystrlen (const char *yystr) |
| static char * | yystpcpy (char *yydest, const char *yysrc) |
| static YYPTRDIFF_T | yytnamerr (char *yyres, const char *yystr) |
| static int | yy_syntax_error_arguments (const yypcontext_t *yyctx, yysymbol_kind_t yyarg[], int yyargn) |
| static int | yysyntax_error (YYPTRDIFF_T *yymsg_alloc, char **yymsg, const yypcontext_t *yyctx) |
| static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep, operations_research::fz::ParserContext *context, operations_research::fz::Model *model, bool *ok, void *scanner) |
| int | yyparse (operations_research::fz::ParserContext *context, operations_research::fz::Model *model, bool *ok, void *scanner) |
| int64_t | ConvertAsIntegerOrDie (double d) |
| template<class T> | |
| const T & | Lookup (const std::vector< T > &v, int index) |
Variables | |
| static const yytype_int8 | yytranslate [] |
| static const char *const | yytname [] |
| static const yytype_int16 | yypact [] |
| static const yytype_int8 | yydefact [] |
| static const yytype_int16 | yypgoto [] |
| static const yytype_uint8 | yydefgoto [] |
| static const yytype_int16 | yytable [] |
| static const yytype_int16 | yycheck [] |
| static const yytype_int8 | yystos [] |
| static const yytype_int8 | yyr1 [] |
| static const yytype_int8 | yyr2 [] |
| #define YY_ | ( | Msgid | ) |
Definition at line 314 of file parser.tab.cc.
| #define YY_ACCESSING_SYMBOL | ( | State | ) |
| #define YY_ASSERT | ( | E | ) |
Definition at line 376 of file parser.tab.cc.
| #define YY_ATTRIBUTE_PURE |
Definition at line 322 of file parser.tab.cc.
| #define YY_ATTRIBUTE_UNUSED |
Definition at line 330 of file parser.tab.cc.
| #define YY_CAST | ( | Type, | |
| Val ) |
Definition at line 80 of file parser.tab.cc.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 358 of file parser.tab.cc.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 359 of file parser.tab.cc.
| #define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 372 of file parser.tab.cc.
| #define YY_IGNORE_USELESS_CAST_END |
Definition at line 373 of file parser.tab.cc.
| #define YY_INITIAL_VALUE | ( | Value | ) |
Definition at line 355 of file parser.tab.cc.
| #define YY_NULLPTR ((void*)0) |
Definition at line 92 of file parser.tab.cc.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 921 of file parser.tab.cc.
| #define YY_REINTERPRET_CAST | ( | Type, | |
| Val ) |
Definition at line 81 of file parser.tab.cc.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top ) |
Definition at line 920 of file parser.tab.cc.
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Kind, | |||
| Value, | |||
| Location ) |
Definition at line 919 of file parser.tab.cc.
| #define YY_USE | ( | E | ) |
Definition at line 336 of file parser.tab.cc.
| #define YYABORT goto yyabortlab |
Definition at line 784 of file parser.tab.cc.
| #define YYACCEPT goto yyacceptlab |
Definition at line 783 of file parser.tab.cc.
| #define YYBACKUP | ( | Token, | |
| Value ) |
Definition at line 790 of file parser.tab.cc.
| #define YYBISON 30802 |
Definition at line 49 of file parser.tab.cc.
| #define YYBISON_VERSION "3.8.2" |
Definition at line 52 of file parser.tab.cc.
| #define YYCASE_ | ( | N, | |
| S ) |
| #define yyclearin (yychar = ORFZ_EMPTY) |
Definition at line 781 of file parser.tab.cc.
| #define YYCOPY_NEEDED 1 |
Definition at line 466 of file parser.tab.cc.
| #define yydebug orfz_debug |
Definition at line 72 of file parser.tab.cc.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 918 of file parser.tab.cc.
| #define YYERRCODE ORFZ_UNDEF |
Definition at line 807 of file parser.tab.cc.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 780 of file parser.tab.cc.
| #define YYERROR goto yyerrorlab |
Definition at line 785 of file parser.tab.cc.
| #define yyerror orfz_error |
Definition at line 71 of file parser.tab.cc.
| #define YYFINAL 3 |
Definition at line 502 of file parser.tab.cc.
| #define YYFREE free |
Definition at line 440 of file parser.tab.cc.
| #define YYINITDEPTH 200 |
Definition at line 926 of file parser.tab.cc.
| #define YYLAST 292 |
Definition at line 504 of file parser.tab.cc.
| #define yylex orfz_lex |
Definition at line 70 of file parser.tab.cc.
| #define YYMALLOC malloc |
Definition at line 434 of file parser.tab.cc.
| #define YYMAXDEPTH 10000 |
Definition at line 937 of file parser.tab.cc.
| #define YYMAXUTOK 276 |
Definition at line 516 of file parser.tab.cc.
| #define yynerrs orfz_nerrs |
Definition at line 73 of file parser.tab.cc.
| #define YYNNTS 32 |
Definition at line 509 of file parser.tab.cc.
| #define YYNOMEM goto yyexhaustedlab |
Definition at line 786 of file parser.tab.cc.
| #define YYNRULES 101 |
Definition at line 511 of file parser.tab.cc.
| #define YYNSTATES 233 |
Definition at line 513 of file parser.tab.cc.
| #define YYNTOKENS 32 |
Definition at line 507 of file parser.tab.cc.
| #define YYPACT_NINF (-192) |
Definition at line 636 of file parser.tab.cc.
| #define yypact_value_is_default | ( | Yyn | ) |
Definition at line 638 of file parser.tab.cc.
| #define yyparse orfz_parse |
Definition at line 69 of file parser.tab.cc.
| #define YYPOPSTACK | ( | N | ) |
| #define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 276 of file parser.tab.cc.
| #define YYPTRDIFF_T long |
Definition at line 275 of file parser.tab.cc.
| #define YYPULL 1 |
Definition at line 64 of file parser.tab.cc.
| #define YYPURE 2 |
Definition at line 58 of file parser.tab.cc.
| #define YYPUSH 0 |
Definition at line 61 of file parser.tab.cc.
| #define YYRECOVERING | ( | ) |
Definition at line 788 of file parser.tab.cc.
| #define YYSIZE_MAXIMUM |
Definition at line 293 of file parser.tab.cc.
| #define YYSIZE_T unsigned |
Definition at line 289 of file parser.tab.cc.
| #define YYSIZEOF | ( | X | ) |
Definition at line 298 of file parser.tab.cc.
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file parser.tab.cc.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 420 of file parser.tab.cc.
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 423 of file parser.tab.cc.
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 463 of file parser.tab.cc.
| #define YYSTACK_FREE YYFREE |
Definition at line 421 of file parser.tab.cc.
Definition at line 459 of file parser.tab.cc.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack ) |
Definition at line 473 of file parser.tab.cc.
| #define YYSTYPE ORFZ_STYPE |
Definition at line 67 of file parser.tab.cc.
| #define YYTABLE_NINF (-19) |
Definition at line 640 of file parser.tab.cc.
| #define yytable_value_is_error | ( | Yyn | ) |
Definition at line 642 of file parser.tab.cc.
| #define YYTRANSLATE | ( | YYX | ) |
Definition at line 520 of file parser.tab.cc.
| typedef int yy_state_fast_t |
Definition at line 304 of file parser.tab.cc.
| typedef yytype_uint8 yy_state_t |
Definition at line 301 of file parser.tab.cc.
| typedef enum yysymbol_kind_t yysymbol_kind_t |
Definition at line 167 of file parser.tab.cc.
| typedef short yytype_int16 |
Definition at line 227 of file parser.tab.cc.
| typedef signed char yytype_int8 |
Definition at line 219 of file parser.tab.cc.
| typedef unsigned short yytype_uint16 |
Definition at line 259 of file parser.tab.cc.
| typedef unsigned char yytype_uint8 |
Definition at line 248 of file parser.tab.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| YYENOMEM | |
Definition at line 778 of file parser.tab.cc.
| enum yysymbol_kind_t |
Definition at line 98 of file parser.tab.cc.
| int64_t operations_research::fz::ConvertAsIntegerOrDie | ( | double | d | ) |
Definition at line 68 of file parser_util.cc.
| void free | ( | void * | ) |
| const T & operations_research::fz::Lookup | ( | const std::vector< T > & | v, |
| int | index ) |
Definition at line 78 of file parser_util.cc.
| void * malloc | ( | YYSIZE_T | ) |
|
static |
Definition at line 1054 of file parser.tab.cc.
|
static |
Definition at line 1178 of file parser.tab.cc.
| int yyparse | ( | operations_research::fz::ParserContext * | context, |
| operations_research::fz::Model * | model, | ||
| bool * | ok, | ||
| void * | scanner ) |
Definition at line 1200 of file parser.tab.cc.
|
static |
Definition at line 952 of file parser.tab.cc.
|
static |
Definition at line 1000 of file parser.tab.cc.
|
static |
Definition at line 986 of file parser.tab.cc.
|
static |
Definition at line 631 of file parser.tab.cc.
|
static |
Definition at line 1103 of file parser.tab.cc.
|
static |
Definition at line 1019 of file parser.tab.cc.
|
static |
Definition at line 722 of file parser.tab.cc.
|
static |
Definition at line 671 of file parser.tab.cc.
|
static |
Definition at line 693 of file parser.tab.cc.
|
static |
Definition at line 646 of file parser.tab.cc.
|
static |
Definition at line 687 of file parser.tab.cc.
|
static |
Definition at line 761 of file parser.tab.cc.
|
static |
Definition at line 771 of file parser.tab.cc.
|
static |
Definition at line 745 of file parser.tab.cc.
|
static |
Definition at line 700 of file parser.tab.cc.
|
static |
Definition at line 565 of file parser.tab.cc.
|
static |
Definition at line 527 of file parser.tab.cc.