Changes in src/SynTree/Expression.h [312029a:3b0c8cb]
- File:
-
- 1 edited
-
src/SynTree/Expression.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
r312029a r3b0c8cb 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed Dec 11 16:50:19201913 // Update Count : 6011 // Last Modified By : Andrew Beach 12 // Last Modified On : Thr Aug 15 13:46:00 2019 13 // Update Count : 54 14 14 // 15 15 … … 28 28 #include "Label.h" // for Label 29 29 #include "Mutator.h" // for Mutator 30 #include "Declaration.h" // for Aggregate31 30 #include "SynTree.h" // for UniqueId 32 31 #include "Visitor.h" // for Visitor … … 230 229 public: 231 230 Expression * arg; 231 enum Target { 232 Coroutine, Thread, Monitor, NUMBER_OF_TARGETS 233 }; 232 234 struct Concrete { 233 235 std::string field; 234 236 std::string getter; 235 237 }; 236 AggregateDecl::Aggregatetarget;238 Target target; 237 239 Concrete concrete_target; 238 240 239 KeywordCastExpr( Expression * arg, AggregateDecl::Aggregatetarget );241 KeywordCastExpr( Expression * arg, Target target ); 240 242 KeywordCastExpr( const KeywordCastExpr & other ); 241 243 virtual ~KeywordCastExpr(); 242 244 243 const char *targetString() const;245 const std::string & targetString() const; 244 246 245 247 virtual KeywordCastExpr * clone() const override { return new KeywordCastExpr( * this ); }
Note:
See TracChangeset
for help on using the changeset viewer.