Changeset 5d125e4 for src/SynTree/Type.h


Ignore:
Timestamp:
Jul 15, 2016, 10:16:47 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
873ffb7
Parents:
5ed9061
Message:

start code allowing structures to no fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Type.h

    r5ed9061 r5d125e4  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Mar  2 17:29:08 2016
    13 // Update Count     : 21
     12// Last Modified On : Wed Jul 13 11:46:54 2016
     13// Update Count     : 23
    1414//
    1515
     
    226226        virtual std::string typeString() const = 0;
    227227        std::list< Expression* > parameters;
    228   private:
    229228        std::string name;
     229  private:
    230230};
    231231
     
    249249        virtual void accept( Visitor &v ) { v.visit( this ); }
    250250        virtual Type *acceptMutator( Mutator &m ) { return m.mutate( this ); }
     251
     252        virtual void print( std::ostream &os, int indent = 0 ) const;
    251253  private:
    252254        virtual std::string typeString() const;
     
    276278        virtual void accept( Visitor &v ) { v.visit( this ); }
    277279        virtual Type *acceptMutator( Mutator &m ) { return m.mutate( this ); }
     280
     281        virtual void print( std::ostream &os, int indent = 0 ) const;
    278282  private:
    279283        virtual std::string typeString() const;
Note: See TracChangeset for help on using the changeset viewer.