#include <Typeclass.hxx>
Public Types | |
| typedef TypeSet::iterator | iterator |
Public Member Functions | |
| TCConstraints () | |
| bool | empty () const |
| size_t | size () const |
| void | addPred (boost::shared_ptr< Typeclass > tc) |
| void | clearPred (boost::shared_ptr< Constraint > ct) |
| void | normalize () |
| Re-build a type class constrain set from scratch, with the side effect that subsumption relations are re-checked. | |
| bool | contains (boost::shared_ptr< Typeclass > tc) |
| void | collectAllFnDeps (TypeSet &fnDeps) |
| void | clearHintsOnPreds (boost::shared_ptr< Trail > trail) |
| iterator | begin () |
| iterator | end () |
Static Public Member Functions | |
| static void | close (TypeSet &closure, const TypeSet &fnDeps) |
| static boost::shared_ptr< TCConstraints > | make () |
Data Fields | |
| TypeSet | pred |
Definition at line 105 of file Typeclass.hxx.
| typedef TypeSet::iterator TCConstraints::iterator |
Definition at line 108 of file Typeclass.hxx.
| TCConstraints::TCConstraints | ( | ) | [inline] |
| void TCConstraints::addPred | ( | boost::shared_ptr< Typeclass > | tc | ) |
Referenced by normalize().
| iterator TCConstraints::begin | ( | ) | [inline] |
| void TCConstraints::clearHintsOnPreds | ( | boost::shared_ptr< Trail > | trail | ) |
| void TCConstraints::clearPred | ( | boost::shared_ptr< Constraint > | ct | ) |
| void TCConstraints::collectAllFnDeps | ( | TypeSet & | fnDeps | ) |
| bool TCConstraints::contains | ( | boost::shared_ptr< Typeclass > | tc | ) |
| bool TCConstraints::empty | ( | ) | const [inline] |
| iterator TCConstraints::end | ( | ) | [inline] |
| static boost::shared_ptr<TCConstraints> TCConstraints::make | ( | ) | [inline, static] |
Definition at line 145 of file Typeclass.hxx.
References TCConstraints().
Referenced by checkConstraints(), UocInfo::DoTypeCheck(), InferInstance(), InferObject(), InferStruct(), InferTypeClass(), InferUnion(), TypeScheme::ts_instance(), and typeInfer().
| void TCConstraints::normalize | ( | ) |
Re-build a type class constrain set from scratch, with the side effect that subsumption relations are re-checked.
Definition at line 122 of file Constraints.cxx.
| size_t TCConstraints::size | ( | ) | const [inline] |
Definition at line 107 of file Typeclass.hxx.
Referenced by begin(), empty(), end(), normalize(), and size().
1.4.7