Changeset 85855b0 for src/AST/Expr.hpp
- Timestamp:
- Jun 10, 2024, 2:43:13 AM (5 weeks ago)
- Branches:
- master
- Children:
- 42cdd07d
- Parents:
- d68de59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.hpp
rd68de59 r85855b0 256 256 public: 257 257 ptr<Decl> type_decl; 258 std::string name; 258 const std::string type_name; 259 const std::string name; 259 260 260 261 QualifiedNameExpr( const CodeLocation & loc, const Decl * d, const std::string & n ) 261 : Expr( loc ), type_decl( d ), name( n ) {} 262 : Expr( loc ), type_decl( d ), type_name(""), name( n ) {} 263 264 QualifiedNameExpr( const CodeLocation & loc, const std::string & type_name, const std::string & name) 265 : Expr( loc ), type_name( type_name ), name( name ) {} 262 266 263 267 const Expr * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset
for help on using the changeset viewer.