Changeset 3f9a8d0 for src/AST/Type.hpp
- Timestamp:
- Feb 26, 2024, 8:17:20 AM (19 months ago)
- Branches:
- master
- Children:
- f1149ac
- Parents:
- 1bb76ad (diff), a4da45e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.hpp
r1bb76ad r3f9a8d0 362 362 using EnumInstType = SueInstType<EnumDecl>; 363 363 364 class EnumPosType final : public Type { 365 public: 366 readonly<EnumInstType> instance; 367 const Type * accept( Visitor & v ) const override { return v.visit( this ); } 368 EnumPosType( const EnumInstType * instance ): instance(instance) {} 369 370 private: 371 EnumPosType * clone() const override { return new EnumPosType{ *this }; } 372 MUTATE_FRIEND 373 }; 374 364 375 /// An instance of a trait type. 365 376 class TraitInstType final : public BaseInstType {
Note:
See TracChangeset
for help on using the changeset viewer.