Public Member Functions | Protected Attributes

wali::witness::WitnessMerge Class Reference

List of all members.

Public Member Functions

 WitnessMerge (sem_elem_t weight, witness_merge_fn_t witness_merge_fn, witness_t caller, witness_t rule, witness_t callee)
 Constructor bears witness to a merge function being applied to left and right with result weight.
virtual ~WitnessMerge ()
virtual void accept (Visitor &v, bool visitOnce=false)
 Override Witness::accept.
virtual void reset_marks () const
 Override Witness::reset_marks.
virtual std::ostream & prettyPrint (std::ostream &o, size_t depth) const
 Override Witness::pretty_print.
witness_t caller ()
bool hasCaller () const
witness_t rule ()
bool hasRule () const
witness_t callee ()
bool hasCallee () const

Protected Attributes

witness_merge_fn_t witness_merge_fn
 the merge function used
witness_t fCaller
 caller param to apply
witness_t fRule
 calling rule
witness_t fCallee
 callee param to apply

Constructor & Destructor Documentation

wali::witness::WitnessMerge::WitnessMerge ( sem_elem_t  weight,
witness_merge_fn_t  witness_merge_fn,
witness_t  caller,
witness_t  rule,
witness_t  callee 
)

Constructor bears witness to a merge function being applied to left and right with result weight.

wali::witness::WitnessMerge::~WitnessMerge (  )  [virtual]

Member Function Documentation

void wali::witness::WitnessMerge::accept ( Visitor v,
bool visitOnce  = false 
) [virtual]
void wali::witness::WitnessMerge::reset_marks (  )  const [virtual]
std::ostream & wali::witness::WitnessMerge::prettyPrint ( std::ostream &  o,
size_t  depth 
) const [virtual]
witness_t wali::witness::WitnessMerge::caller (  ) 
bool wali::witness::WitnessMerge::hasCaller (  )  const
witness_t wali::witness::WitnessMerge::rule (  ) 
bool wali::witness::WitnessMerge::hasRule (  )  const
witness_t wali::witness::WitnessMerge::callee (  ) 
bool wali::witness::WitnessMerge::hasCallee (  )  const

Member Data Documentation

the merge function used

Referenced by prettyPrint().

caller param to apply

Referenced by caller(), hasCaller(), prettyPrint(), and reset_marks().

calling rule

Referenced by hasRule(), prettyPrint(), reset_marks(), and rule().

callee param to apply

Referenced by callee(), hasCallee(), prettyPrint(), and reset_marks().


The documentation for this class was generated from the following files: