Changeset 2a3d446 for src/SynTree/Expression.h
- Timestamp:
- Dec 12, 2019, 10:25:49 AM (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:
- 983edfd
- Parents:
- f80f840 (diff), 737c98a (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/SynTree/Expression.h
rf80f840 r2a3d446 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Thr Aug 15 13:46:00201913 // Update Count : 5411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Dec 11 16:50:19 2019 13 // Update Count : 60 14 14 // 15 15 … … 28 28 #include "Label.h" // for Label 29 29 #include "Mutator.h" // for Mutator 30 #include "Declaration.h" // for Aggregate 30 31 #include "SynTree.h" // for UniqueId 31 32 #include "Visitor.h" // for Visitor … … 229 230 public: 230 231 Expression * arg; 231 enum Target {232 Coroutine, Thread, Monitor, NUMBER_OF_TARGETS233 };234 232 struct Concrete { 235 233 std::string field; 236 234 std::string getter; 237 235 }; 238 Targettarget;236 AggregateDecl::Aggregate target; 239 237 Concrete concrete_target; 240 238 241 KeywordCastExpr( Expression * arg, Targettarget );239 KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target ); 242 240 KeywordCastExpr( const KeywordCastExpr & other ); 243 241 virtual ~KeywordCastExpr(); 244 242 245 const std::string &targetString() const;243 const char * targetString() const; 246 244 247 245 virtual KeywordCastExpr * clone() const override { return new KeywordCastExpr( * this ); }
Note: See TracChangeset
for help on using the changeset viewer.