tipc
A TIP to LLVM compiler
TipAbsentField.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "TipCons.h"
4 #include "TipType.h"
5 #include <string>
6 
12 class TipAbsentField : public TipCons {
13 public:
15 
16  bool operator==(const TipType &other) const override;
17  bool operator!=(const TipType &other) const override;
18 
19  void accept(TipTypeVisitor *visitor) override;
20 
21 protected:
22  std::ostream &print(std::ostream &out) const override;
23 };
A proper type representing an absent record field.
Definition: TipAbsentField.h:12
bool operator==(const TipType &other) const override
Definition: TipAbsentField.cpp:8
TipAbsentField()
Definition: TipAbsentField.cpp:6
std::ostream & print(std::ostream &out) const override
Definition: TipAbsentField.cpp:21
bool operator!=(const TipType &other) const override
Definition: TipAbsentField.cpp:17
void accept(TipTypeVisitor *visitor) override
Definition: TipAbsentField.cpp:27
Abstract base class for all proper types.
Definition: TipCons.h:14
Base class for TIP type visitors.
Definition: TipTypeVisitor.h:24
Abstract base class of all types.
Definition: TipType.h:19