Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Constant.h

    r7e4b44db rbb9d8e8  
    1919#include <string>     // for string
    2020
     21#include "BaseSyntaxNode.h"
    2122#include "Mutator.h"  // for Mutator
    2223#include "Visitor.h"  // for Visitor
    2324
    24 #include "Common/Indenter.h"  // for Indenter
    25 
    2625class Type;
    2726
    28 class Constant {
     27class Constant : public BaseSyntaxNode {
    2928  public:
    3029        Constant( Type * type, std::string rep, unsigned long long val );
    3130        Constant( Type * type, std::string rep, double val );
    3231        Constant( const Constant & other );
    33        
     32        virtual ~Constant();
     33
    3434        virtual Constant * clone() const { return new Constant( *this ); }
    3535
Note: See TracChangeset for help on using the changeset viewer.