1 #ifndef __AST_SYN_HPP_DEFINED__ 2 #define __AST_SYN_HPP_DEFINED__ 34 std::ostream&
write(std::ostream& out)
const;
38 if ((i + 1) <
args.size()) {
81 virtual std::ostream&
write(std::ostream& out)
const {
113 int width,
int incr);
128 int width,
int incr);
134 virtual std::ostream&
write(std::ostream& out)
const;
142 const nptr_t& wr,
int incr);
156 const nptr_t& wr,
int incr);
162 virtual std::ostream&
write(std::ostream& out)
const;
static ReadSlice * createReadSlice(const std::string &name, const nptr_t &bv, int width, int incr)
int width
Definition: choice.hpp:122
std::vector< std::string > choiceVars
Definition: choice.hpp:19
virtual Node * clone() const
Definition: choice.hpp:62
ChoiceExpr< BoolExpr > BoolChoice
Definition: choice.hpp:105
Choice choice
Definition: choice.hpp:49
nptr_t bitvec
Definition: choice.hpp:148
WriteSlice(const std::string &name, const nptr_vec_t &args, const nptr_t &bv, const nptr_t &wr, int incr)
Definition: choice.hpp:138
ChoiceExpr< MemExpr > MemChoice
Definition: choice.hpp:106
virtual std::ostream & write(std::ostream &out) const
nptr_t bitvec
Definition: choice.hpp:120
std::vector< nptr_t > nptr_vec_t
Definition: node.hpp:27
std::ostream & write(std::ostream &out) const
Definition: choice.hpp:109
Definition: choice.hpp:47
ReadSlice(const std::string &name, const nptr_vec_t &args, const nptr_t &bv, int width, int incr)
virtual std::ostream & write(std::ostream &out) const
Definition: choice.hpp:81
static NodeType getChoiceType(const nptr_vec_t &args)
nptr_t data
Definition: choice.hpp:150
virtual ~ChoiceExpr()
Definition: choice.hpp:59
boost::shared_ptr< Node > nptr_t
Definition: node.hpp:24
virtual Node * clone() const
bool equal(const Choice &that) const
ChoiceExpr * clone(const nptr_vec_t &args) const
Definition: choice.hpp:67
Definition: abstraction.hpp:21
virtual Node * clone() const
ChoiceExpr(const std::string &n_, const nptr_vec_t &args_)
Definition: choice.hpp:53
const char * getChoiceVarName(unsigned i) const
Definition: choice.hpp:37
int increment
Definition: choice.hpp:152
virtual unsigned nArgs() const
Definition: choice.hpp:86
virtual bool equal(const Node *that_) const
Definition: choice.hpp:72
static WriteSlice * createWriteSlice(const std::string &name, const nptr_t &bv, const nptr_t &wr, int incr)
int increment
Definition: choice.hpp:124
nptr_vec_t args
Definition: choice.hpp:17
Choice(const std::string &name, const nptr_vec_t &args)
ChoiceExpr< BitvectorExpr > BitvectorChoice
Definition: choice.hpp:104
virtual nptr_t arg(unsigned i) const
Definition: choice.hpp:89
virtual std::ostream & write(std::ostream &out) const
const char * getChoiceVarName(unsigned i) const
Definition: choice.hpp:98
Definition: choice.hpp:15