#include <Typeclass.hxx>
Public Member Functions | |
| Instance (boost::shared_ptr< TypeScheme > _ts, boost::shared_ptr< AST >_ins) | |
| bool | equals (boost::shared_ptr< Instance > ins, boost::shared_ptr< const InstEnvironment > instEnv) const |
| bool | overlaps (boost::shared_ptr< Instance > ins) const |
| bool | satisfies (boost::shared_ptr< Typeclass > pred, boost::shared_ptr< const InstEnvironment > instEnv) const |
| std::string | asString () const |
| std::string | asXML () |
| void | asXML (sherpa::INOstream &out) |
| int | operator< (const struct Instance &rhs) const |
Static Public Member Functions | |
| static boost::shared_ptr< Instance > | make (boost::shared_ptr< TypeScheme > _ts, boost::shared_ptr< AST >_ins) |
Data Fields | |
| boost::shared_ptr< TypeScheme > | ts |
| boost::shared_ptr< AST > | ast |
Definition at line 61 of file Typeclass.hxx.
| Instance::Instance | ( | boost::shared_ptr< TypeScheme > | _ts, | |
| boost::shared_ptr< AST > | _ins | |||
| ) | [inline] |
| std::string Instance::asString | ( | ) | const |
| void Instance::asXML | ( | sherpa::INOstream & | out | ) |
| std::string Instance::asXML | ( | ) |
| bool Instance::equals | ( | boost::shared_ptr< Instance > | ins, | |
| boost::shared_ptr< const InstEnvironment > | instEnv | |||
| ) | const |
| static boost::shared_ptr<Instance> Instance::make | ( | boost::shared_ptr< TypeScheme > | _ts, | |
| boost::shared_ptr< AST > | _ins | |||
| ) | [inline, static] |
| int Instance::operator< | ( | const struct Instance & | rhs | ) | const [inline] |
| bool Instance::overlaps | ( | boost::shared_ptr< Instance > | ins | ) | const |
| bool Instance::satisfies | ( | boost::shared_ptr< Typeclass > | pred, | |
| boost::shared_ptr< const InstEnvironment > | instEnv | |||
| ) | const |
| boost::shared_ptr<AST> Instance::ast |
| boost::shared_ptr<TypeScheme> Instance::ts |
Definition at line 62 of file Typeclass.hxx.
Referenced by asString(), asXML(), Instance(), and overlaps().
1.4.7