Changeset b5978ca for src/AST/Type.hpp


Ignore:
Timestamp:
Mar 24, 2025, 2:04:44 PM (9 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
d73e667
Parents:
f5bf3c2
Message:

Moved a reasonably large function out of a header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Type.hpp

    rf5bf3c2 rb5978ca  
    383383        const Type * accept( Visitor & v ) const override { return v.visit( this ); }
    384384
    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;
    389386private:
    390387        TypeInstType * clone() const override { return new TypeInstType{ *this }; }
Note: See TracChangeset for help on using the changeset viewer.