Changes in src/AST/Expr.hpp [b0d9ff7:e6cf857f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.hpp
rb0d9ff7 re6cf857f 254 254 }; 255 255 256 class QualifiedNameExpr final : public Expr {257 public:258 ptr<Decl> type_decl;259 ptr<DeclWithType> var;260 std::string name;261 262 QualifiedNameExpr( const CodeLocation & loc, const Decl * d, const DeclWithType * r, const std::string & n )263 : Expr( loc ), type_decl( d ), var(r), name( n ) {}264 265 const Expr * accept( Visitor & v ) const override { return v.visit( this ); }266 private:267 QualifiedNameExpr * clone() const override { return new QualifiedNameExpr{ *this }; }268 MUTATE_FRIEND269 };270 271 256 /// A reference to a named variable. 272 257 class VariableExpr final : public Expr {
Note:
See TracChangeset
for help on using the changeset viewer.