Gecode::FlatZinc::ParserState Class Reference
State of the FlatZinc parser More...
#include <parser.hh>
Public Member Functions | |
ParserState (const std::string &b, std::ostream &err0, Gecode::FlatZinc::FlatZincSpace *fg0) | |
ParserState (char *buf0, int length0, std::ostream &err0, Gecode::FlatZinc::FlatZincSpace *fg0) | |
int | fillBuffer (char *lexBuf, unsigned int lexBufSize) |
void | output (std::string x, AST::Node *n) |
AST::Array * | getOutput (void) |
Public Attributes | |
void * | yyscanner |
const char * | buf |
unsigned int | pos |
unsigned int | length |
Gecode::FlatZinc::FlatZincSpace * | fg |
std::vector< std::pair < std::string, AST::Node * > > | _output |
SymbolTable< SymbolEntry > | symbols |
std::vector< varspec > | intvars |
std::vector< varspec > | boolvars |
std::vector< varspec > | setvars |
std::vector< int > | arrays |
std::vector< AST::SetLit > | setvals |
std::vector< ConExpr * > | domainConstraints |
bool | hadError |
std::ostream & | err |
Detailed Description
State of the FlatZinc parser
Definition at line 178 of file parser.hh.
Constructor & Destructor Documentation
Gecode::FlatZinc::ParserState::ParserState | ( | const std::string & | b, | |
std::ostream & | err0, | |||
Gecode::FlatZinc::FlatZincSpace * | fg0 | |||
) | [inline] |
Gecode::FlatZinc::ParserState::ParserState | ( | char * | buf0, | |
int | length0, | |||
std::ostream & | err0, | |||
Gecode::FlatZinc::FlatZincSpace * | fg0 | |||
) | [inline] |
Member Function Documentation
int Gecode::FlatZinc::ParserState::fillBuffer | ( | char * | lexBuf, | |
unsigned int | lexBufSize | |||
) | [inline] |
void Gecode::FlatZinc::ParserState::output | ( | std::string | x, | |
AST::Node * | n | |||
) | [inline] |
AST::Array* Gecode::FlatZinc::ParserState::getOutput | ( | void | ) | [inline] |
Member Data Documentation
const char* Gecode::FlatZinc::ParserState::buf |
unsigned int Gecode::FlatZinc::ParserState::pos |
unsigned int Gecode::FlatZinc::ParserState::length |
std::vector<std::pair<std::string,AST::Node*> > Gecode::FlatZinc::ParserState::_output |
std::vector<varspec> Gecode::FlatZinc::ParserState::intvars |
std::vector<varspec> Gecode::FlatZinc::ParserState::boolvars |
std::vector<varspec> Gecode::FlatZinc::ParserState::setvars |
std::vector<int> Gecode::FlatZinc::ParserState::arrays |
std::vector<AST::SetLit> Gecode::FlatZinc::ParserState::setvals |
std::vector<ConExpr*> Gecode::FlatZinc::ParserState::domainConstraints |
std::ostream& Gecode::FlatZinc::ParserState::err |
The documentation for this class was generated from the following file:
- gecode/flatzinc/parser.hh (Revision: 11293)