#include <ExprPPrinter.h>

Public Member Functions | |
| virtual | ~ExprPPrinter () |
| virtual void | setNewline (const std::string &newline)=0 |
| virtual void | reset ()=0 |
| virtual void | scan (const ref< Expr > &e)=0 |
| virtual void | print (const ref< Expr > &e, unsigned indent=0)=0 |
| template<class Container > | |
| void | scan (Container c) |
| template<class InputIterator > | |
| void | scan (InputIterator it, InputIterator end) |
Static Public Member Functions | |
| static ExprPPrinter * | create (std::ostream &os) |
| static void | printOne (std::ostream &os, const char *message, const ref< Expr > &e) |
| static void | printSingleExpr (std::ostream &os, const ref< Expr > &e) |
| static void | printConstraints (std::ostream &os, const ConstraintManager &constraints) |
| static void | printQuery (std::ostream &os, const ConstraintManager &constraints, const ref< Expr > &q, const ref< Expr > *evalExprsBegin=0, const ref< Expr > *evalExprsEnd=0, const Array *const *evalArraysBegin=0, const Array *const *evalArraysEnd=0) |
Protected Member Functions | |
| ExprPPrinter () | |
Definition at line 18 of file ExprPPrinter.h.
| klee::ExprPPrinter::ExprPPrinter | ( | ) | [inline, protected] |
Definition at line 20 of file ExprPPrinter.h.
| virtual klee::ExprPPrinter::~ExprPPrinter | ( | ) | [inline, virtual] |
Definition at line 25 of file ExprPPrinter.h.
| ExprPPrinter * klee::ExprPPrinter::create | ( | std::ostream & | os | ) | [static] |
Definition at line 468 of file ExprPPrinter.cpp.
Referenced by klee::PTree::dump(), PPrinter::hasOrderedReads(), and PPrinter::isReadExprAtOffset().

| virtual void klee::ExprPPrinter::print | ( | const ref< Expr > & | e, | |
| unsigned | indent = 0 | |||
| ) | [pure virtual] |
Implemented in PPrinter.
Referenced by klee::PTree::dump().

| void ExprPPrinter::printConstraints | ( | std::ostream & | os, | |
| const ConstraintManager & | constraints | |||
| ) | [static] |
Definition at line 496 of file ExprPPrinter.cpp.
References klee::ConstantExpr::alloc(), klee::Expr::Bool, and printQuery().
Referenced by klee::Executor::getConstraintLog().


| void ExprPPrinter::printOne | ( | std::ostream & | os, | |
| const char * | message, | |||
| const ref< Expr > & | e | |||
| ) | [static] |
printOne - Pretty print a single expression prefixed by a message and followed by a line break.
Definition at line 472 of file ExprPPrinter.cpp.
References PrintContext::breakLine(), PPrinter::print(), and PPrinter::scan().
Referenced by klee::Executor::executeAlloc().


| void ExprPPrinter::printQuery | ( | std::ostream & | os, | |
| const ConstraintManager & | constraints, | |||
| const ref< Expr > & | q, | |||
| const ref< Expr > * | evalExprsBegin = 0, |
|||
| const ref< Expr > * | evalExprsEnd = 0, |
|||
| const Array *const * | evalArraysBegin = 0, |
|||
| const Array *const * | evalArraysEnd = 0 | |||
| ) | [static] |
Definition at line 502 of file ExprPPrinter.cpp.
References klee::ConstraintManager::begin(), PrintContext::breakLine(), klee::ConstraintManager::empty(), klee::ConstraintManager::end(), PrintContext::pos, PPrinter::print(), PPrinter::printSeparator(), and PPrinter::scan().
Referenced by klee::expr::QueryCommand::dump(), klee::Executor::getSymbolicSolution(), printConstraints(), and PCLoggingSolver::startQuery().


printSingleExpr - Pretty print a single expression.
The expression will not be followed by a line break.
Note that if the output stream is not positioned at the beginning of a line then printing will not resume at the correct position following any output line breaks.
Definition at line 486 of file ExprPPrinter.cpp.
References PPrinter::print(), and PPrinter::scan().
Referenced by klee::Expr::print().


| virtual void klee::ExprPPrinter::reset | ( | ) | [pure virtual] |
Implemented in PPrinter.
| void klee::ExprPPrinter::scan | ( | InputIterator | it, | |
| InputIterator | end | |||
| ) | [inline] |
Definition at line 40 of file ExprPPrinter.h.
References scan().

| void klee::ExprPPrinter::scan | ( | Container | c | ) | [inline] |
Definition at line 35 of file ExprPPrinter.h.
References scan().

| virtual void klee::ExprPPrinter::setNewline | ( | const std::string & | newline | ) | [pure virtual] |
Implemented in PPrinter.
Referenced by klee::PTree::dump().

1.5.8