Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
parser.tab.hh File Reference
#include "absl/strings/match.h"
#include "absl/strings/str_format.h"
#include "ortools/flatzinc/parser_util.h"

Go to the source code of this file.

Macros

#define ORFZ_DEBUG   1
 
#define OR_TOOLS_FLATZINC_FLATZINC_TAB_HH_
 
#define YYLEX_PARAM   scanner
 Defines the parameter to the orfz_lex() call from the orfz_parse() method.
 
#define ORFZ_TOKENTYPE
 

Enumerations

enum  orfz_tokentype {
  ORFZ_EMPTY = -2 , ORFZ_EOF = 0 , ORFZ_error = 256 , ORFZ_UNDEF = 257 ,
  ARRAY = 258 , TOKEN_BOOL = 259 , CONSTRAINT = 260 , TOKEN_FLOAT = 261 ,
  TOKEN_INT = 262 , MAXIMIZE = 263 , MINIMIZE = 264 , OF = 265 ,
  PREDICATE = 266 , SATISFY = 267 , SET = 268 , SOLVE = 269 ,
  VAR = 270 , DOTDOT = 271 , COLONCOLON = 272 , IVALUE = 273 ,
  SVALUE = 274 , IDENTIFIER = 275 , DVALUE = 276
}
 

Functions

int orfz_parse (operations_research::fz::ParserContext *context, operations_research::fz::Model *model, bool *ok, void *scanner)
 

Macro Definition Documentation

◆ OR_TOOLS_FLATZINC_FLATZINC_TAB_HH_

#define OR_TOOLS_FLATZINC_FLATZINC_TAB_HH_

Definition at line 59 of file parser.tab.hh.

◆ ORFZ_DEBUG

#define ORFZ_DEBUG   1

Definition at line 49 of file parser.tab.hh.

◆ ORFZ_TOKENTYPE

#define ORFZ_TOKENTYPE

Definition at line 76 of file parser.tab.hh.

◆ YYLEX_PARAM

#define YYLEX_PARAM   scanner

Defines the parameter to the orfz_lex() call from the orfz_parse() method.

Definition at line 68 of file parser.tab.hh.

Enumeration Type Documentation

◆ orfz_tokentype

Enumerator
ORFZ_EMPTY 
ORFZ_EOF 
ORFZ_error 
ORFZ_UNDEF 
ARRAY 
TOKEN_BOOL 
CONSTRAINT 
TOKEN_FLOAT 
TOKEN_INT 
MAXIMIZE 
MINIMIZE 
OF 
PREDICATE 
SATISFY 
SET 
SOLVE 
VAR 
DOTDOT 
COLONCOLON 
IVALUE 
SVALUE 
IDENTIFIER 
DVALUE 

Definition at line 77 of file parser.tab.hh.

Function Documentation

◆ orfz_parse()

int orfz_parse ( operations_research::fz::ParserContext * context,
operations_research::fz::Model * model,
bool * ok,
void * scanner )