Changeset 7030dab for src/AST/Expr.hpp
- Timestamp:
- Apr 6, 2020, 4:46:28 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- e3bc51c
- Parents:
- 71d6bd8 (diff), 057298e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.hpp
r71d6bd8 r7030dab 9 9 // Author : Aaron B. Moss 10 10 // Created On : Fri May 10 10:30:00 2019 11 // Last Modified By : Andrew Beach12 // Created On : Thr Sep 26 12:51:00 201913 // Update Count : 211 // Last Modified By : Peter A. Buhr 12 // Created On : Fri May 10 10:30:00 2019 13 // Update Count : 7 14 14 // 15 15 … … 26 26 #include "Fwd.hpp" // for UniqueId 27 27 #include "Label.hpp" 28 #include "Decl.hpp" 28 29 #include "ParseNode.hpp" 29 30 #include "Visitor.hpp" … … 310 311 public: 311 312 ptr<Expr> arg; 312 enum Target { Coroutine, Thread, Monitor, NUMBER_OF_TARGETS }target;313 314 KeywordCastExpr( const CodeLocation & loc, const Expr * a, Targett )313 ast::AggregateDecl::Aggregate target; 314 315 KeywordCastExpr( const CodeLocation & loc, const Expr * a, ast::AggregateDecl::Aggregate t ) 315 316 : Expr( loc ), arg( a ), target( t ) {} 316 317 317 318 /// Get a name for the target type 318 const std::string&targetString() const;319 const char * targetString() const; 319 320 320 321 const Expr * accept( Visitor & v ) const override { return v.visit( this ); }
Note: See TracChangeset
for help on using the changeset viewer.