Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.h

    r312029a r3b0c8cb  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Dec 11 16:50:19 2019
    13 // Update Count     : 60
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Thr Aug 15 13:46:00 2019
     13// Update Count     : 54
    1414//
    1515
     
    2828#include "Label.h"                // for Label
    2929#include "Mutator.h"              // for Mutator
    30 #include "Declaration.h"          // for Aggregate
    3130#include "SynTree.h"              // for UniqueId
    3231#include "Visitor.h"              // for Visitor
     
    230229public:
    231230        Expression * arg;
     231        enum Target {
     232                Coroutine, Thread, Monitor, NUMBER_OF_TARGETS
     233        };
    232234        struct Concrete {
    233235                std::string field;
    234236                std::string getter;
    235237        };
    236         AggregateDecl::Aggregate target;
     238        Target target;
    237239        Concrete concrete_target;
    238240
    239         KeywordCastExpr( Expression * arg, AggregateDecl::Aggregate target );
     241        KeywordCastExpr( Expression * arg, Target target );
    240242        KeywordCastExpr( const KeywordCastExpr & other );
    241243        virtual ~KeywordCastExpr();
    242244
    243         const char * targetString() const;
     245        const std::string & targetString() const;
    244246
    245247        virtual KeywordCastExpr * clone() const override { return new KeywordCastExpr( * this ); }
Note: See TracChangeset for help on using the changeset viewer.