Google OR-Tools: ortools/flatzinc/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.

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)

◆ orfz__delete_buffer()

◆ 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()

◆ orfz_set_in()

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