9 std::set<std::shared_ptr<TipVar>> vars;
21 std::set<std::shared_ptr<TipVar>>
getVars() {
return vars; }
Class for free type variables.
Definition: TipAlpha.h:10
Class representing a recursive type.
Definition: TipMu.h:12
Base class for TIP type visitors.
Definition: TipTypeVisitor.h:24
Abstract base class of all types.
Definition: TipType.h:19
Class representing a type variable.
Definition: TipVar.h:13
Produces set of type variables in a type expression.
Definition: TypeVars.h:8
std::set< std::shared_ptr< TipVar > > getVars()
Definition: TypeVars.h:21
virtual void endVisit(TipMu *element) override
Definition: TypeVars.cpp:9
static std::set< std::shared_ptr< TipVar > > collect(TipType *t)
Collect the set of type variables in a type expression.
Definition: TypeVars.cpp:3