OR-Tools  9.1
parser_util.cc File Reference

Go to the source code of this file.

Namespaces

namespace  operations_research
 Collection of objects used to extend the Constraint Solver library.
 
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 ContainsId (std::vector< Annotation > *annotations, const std::string &id)
 
bool AllDomainsHaveOneValue (const std::vector< Domain > &domains)
 
int64_t ConvertAsIntegerOrDie (double d)
 
template<class T >
const T & 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 32 of file parser_util.cc.

◆ orfz_get_lineno()

int orfz_get_lineno ( void *  scanner)

◆ orfz_lex()

int orfz_lex ( YYSTYPE ,
void *  scanner 
)

Variable Documentation

◆ orfz_debug

int orfz_debug
extern