|
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 |
Public Member Functions inherited from TipCons | |
| 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... | |
Public Member Functions inherited from TipType | |
| virtual | ~TipType ()=default |
Protected Member Functions | |
| std::ostream & | print (std::ostream &out) const override |
Protected Member Functions inherited from TipCons | |
| TipCons (std::vector< std::shared_ptr< TipType >> arguments) | |
Additional Inherited Members | |
Protected Attributes inherited from TipCons | |
| std::vector< std::shared_ptr< TipType > > | arguments |
A proper type representing an int.
| TipInt::TipInt | ( | ) |
|
overridevirtual |
Implements TipType.
|
overrideprotectedvirtual |
Implements TipType.