klee
|
#include <ExprPPrinter.h>
Public Member Functions | |
virtual | ~ExprPPrinter () |
virtual void | setNewline (const std::string &newline)=0 |
virtual void | setForceNoLineBreaks (bool forceNoLineBreaks)=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 (llvm::raw_ostream &os) |
static void | printOne (llvm::raw_ostream &os, const char *message, const ref< Expr > &e) |
static void | printSingleExpr (llvm::raw_ostream &os, const ref< Expr > &e) |
static void | printConstraints (llvm::raw_ostream &os, const ConstraintSet &constraints) |
static void | printQuery (llvm::raw_ostream &os, const ConstraintSet &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, bool printArrayDecls=true) |
Protected Member Functions | |
ExprPPrinter () | |
Definition at line 21 of file ExprPPrinter.h.
|
inlineprotected |
Definition at line 23 of file ExprPPrinter.h.
|
inlinevirtual |
Definition at line 28 of file ExprPPrinter.h.
|
static |
Definition at line 446 of file ExprPPrinter.cpp.
Referenced by klee::PTree::dump().
Implemented in PPrinter.
|
static |
Definition at line 474 of file ExprPPrinter.cpp.
References klee::ConstantExpr::alloc(), klee::Expr::Bool, and printQuery().
Referenced by klee::Executor::getConstraintLog().
|
static |
printOne - Pretty print a single expression prefixed by a message and followed by a line break.
Definition at line 450 of file ExprPPrinter.cpp.
References PrintContext::breakLine(), message, PPrinter::print(), and PPrinter::scan().
Referenced by klee::Executor::executeAlloc().
|
static |
Definition at line 488 of file ExprPPrinter.cpp.
References klee::ConstraintSet::begin(), PrintContext::breakLine(), klee::ConstraintSet::empty(), klee::ConstraintSet::end(), klee::Expr::isFalse(), PrintContext::pos, PPrinter::print(), PPrinter::printSeparator(), PPrinter::scan(), and PPrinter::usedArrays.
Referenced by klee::expr::QueryCommand::dump(), klee::Executor::getSymbolicSolution(), printConstraints(), and KQueryLoggingSolver::printQuery().
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 464 of file ExprPPrinter.cpp.
References PPrinter::print(), and PPrinter::scan().
Referenced by klee::Expr::print().
|
pure virtual |
Implemented in PPrinter.
|
inline |
Definition at line 39 of file ExprPPrinter.h.
References scan().
|
inline |
Definition at line 44 of file ExprPPrinter.h.
References scan().
|
pure virtual |
Implemented in PPrinter.
|
pure virtual |
Implemented in PPrinter.
Referenced by klee::PTree::dump().