Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
parser_util.cc File Reference
#include "ortools/flatzinc/parser_util.h"
#include <cmath>
#include <string>
#include <vector>
#include "absl/strings/string_view.h"
#include "ortools/base/logging.h"
#include "ortools/base/mathutil.h"
#include "ortools/base/stl_util.h"
#include "ortools/base/types.h"
#include "ortools/flatzinc/model.h"
#include "ortools/flatzinc/parser.tab.hh"
#include "ortools/util/string_array.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::fz

Functions

int orfz_lex (YYSTYPE *, void *scanner)
int orfz_get_lineno (void *scanner)
void orfz_error (operations_research::fz::ParserContext *context, operations_research::fz::Model *model, bool *ok, void *scanner, const char *str)
bool operations_research::fz::ContainsId (std::vector< Annotation > *annotations, absl::string_view id)
bool operations_research::fz::AllDomainsHaveOneValue (const std::vector< Domain > &domains)
int64_t operations_research::fz::ConvertAsIntegerOrDie (double d)
template<class T>
const T & operations_research::fz::Lookup (const std::vector< T > &v, int index)

Variables

int orfz_debug

Function Documentation

◆ orfz_error()

void orfz_error ( operations_research::fz::ParserContext * context,
operations_research::fz::Model * model,
bool * ok,
void * scanner,
const char * str )

Definition at line 35 of file parser_util.cc.

◆ orfz_get_lineno()

int orfz_get_lineno ( void * scanner)
extern

◆ orfz_lex()

int orfz_lex ( YYSTYPE * ,
void * scanner )
extern

Variable Documentation

◆ orfz_debug

int orfz_debug
extern