Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
parser.cc File Reference
#include "ortools/flatzinc/parser.h"
#include <cstdio>
#include <string>
#include "absl/log/log.h"
#include "ortools/flatzinc/model.h"
#include "ortools/flatzinc/parser.tab.hh"
#include "ortools/flatzinc/parser_util.h"

Go to the source code of this file.

Namespaces

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

Functions

int orfz_parse (operations_research::fz::ParserContext *parser, operations_research::fz::Model *model, bool *ok, void *scanner)
int orfz_lex_init (void **scanner)
int orfz_lex_destroy (void *scanner)
void orfz_set_in (FILE *in_str, void *yyscanner)
yy_buffer_stateorfz__scan_bytes (const char *input, int size, void *scanner)
void orfz__delete_buffer (yy_buffer_state *b, void *scanner)
bool operations_research::fz::ParseFlatzincFile (const std::string &filename, Model *model)
bool operations_research::fz::ParseFlatzincString (const std::string &input, Model *model)

Function Documentation

◆ orfz__delete_buffer()

void orfz__delete_buffer ( yy_buffer_state * b,
void * scanner )
extern

◆ orfz__scan_bytes()

yy_buffer_state * orfz__scan_bytes ( const char * input,
int size,
void * scanner )
extern

◆ orfz_lex_destroy()

int orfz_lex_destroy ( void * scanner)
extern

◆ orfz_lex_init()

int orfz_lex_init ( void ** scanner)
extern

◆ orfz_parse()

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

◆ orfz_set_in()

void orfz_set_in ( FILE * in_str,
void * yyscanner )
extern