tipc
A TIP to LLVM compiler
|
A proper type representing an int. More...
#include <TipInt.h>
Public Member Functions | |
TipInt () | |
bool | operator== (const TipType &other) const override |
bool | operator!= (const TipType &other) const override |
void | accept (TipTypeVisitor *visitor) override |
![]() | |
TipCons ()=default | |
const std::vector< std::shared_ptr< TipType > > & | getArguments () const |
void | setArguments (std::vector< std::shared_ptr< TipType >> &args) |
virtual int | arity () const |
bool | doMatch (TipType const *t) const |
Check for dynamic subtype and artity agreement We explicitly test the types here which is not robust to the addition of new subtypes of TipCons. Extend this if you add such a subtype. More... | |
![]() | |
virtual | ~TipType ()=default |
Protected Member Functions | |
std::ostream & | print (std::ostream &out) const override |
![]() | |
TipCons (std::vector< std::shared_ptr< TipType >> arguments) | |
Additional Inherited Members | |
![]() | |
std::vector< std::shared_ptr< TipType > > | arguments |
A proper type representing an int.
TipInt::TipInt | ( | ) |
|
overridevirtual |
Implements TipType.
|
overrideprotectedvirtual |
Implements TipType.