Changeset b5978ca for src/AST/Type.hpp
- Timestamp:
- Mar 24, 2025, 2:04:44 PM (9 months ago)
- Branches:
- master
- Children:
- d73e667
- Parents:
- f5bf3c2
- File:
-
- 1 edited
-
src/AST/Type.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.hpp
rf5bf3c2 rb5978ca 383 383 const Type * accept( Visitor & v ) const override { return v.visit( this ); } 384 384 385 std::string typeString() const { 386 if (formal_usage > 0) return std::string("_") + std::to_string(formal_usage) + "_" + std::to_string(expr_id) + "_" + name; 387 else return name; 388 } 385 std::string typeString() const; 389 386 private: 390 387 TypeInstType * clone() const override { return new TypeInstType{ *this }; }
Note:
See TracChangeset
for help on using the changeset viewer.