Changeset 9e1d485 for src/AST/Expr.hpp
- Timestamp:
- May 15, 2019, 3:41:08 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 69bafd2
- Parents:
- 264e691
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.hpp
r264e691 r9e1d485 119 119 Expr(const CodeLocation & loc ) : ParseNode( loc ), result(), env(), inferred() {} 120 120 121 Expr * set_extension( bool ex ) { extension = ex; return this; }121 Expr * set_extension( bool ex ) { extension = ex; return this; } 122 122 123 123 virtual Expr * accept( Visitor & v ) override = 0; … … 133 133 TypeExpr( const CodeLocation & loc, const Type * t ) : Expr(loc), type(t) {} 134 134 135 Expr * accept( Visitor & v ) override { return v.visit( this ); }135 Expr * accept( Visitor & v ) override { return v.visit( this ); } 136 136 private: 137 137 TypeExpr * clone() const override { return new TypeExpr{ *this }; }
Note: See TracChangeset
for help on using the changeset viewer.