Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/DeclMutator.h

    r6b0b624 r5f98ce5  
    1010// Created On       : Fri Nov 27 14:44:00 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jul 22 09:21:12 2017
    13 // Update Count     : 4
     12// Last Modified On : Tue Jul 12 17:39:01 2016
     13// Update Count     : 2
    1414//
    1515
    16 #pragma once
     16#ifndef _DECLMUTATOR_H
     17#define _DECLMUTATOR_H
    1718
    1819#include <list>
     
    2627        /// Mutates a list of declarations, providing a means of adding new declarations into the list
    2728        class DeclMutator : public Mutator {
    28           public:
     29        public:
    2930                typedef Mutator Parent;
    3031
     
    4950                /// Called on exit from a scope; overriders should call this as a super-class call
    5051                virtual void doEndScope();
    51           protected:
     52        protected:
    5253                /// Mutate a statement that forms its own scope
    5354                Statement* mutateStatement( Statement *stmt );
     
    5859                /// Add a declaration to the list to be added after the current position
    5960                void addDeclarationAfter( Declaration* decl );
    60           private:
     61        private:
    6162                /// A stack of declarations to add before the current declaration or statement
    6263                std::vector< std::list< Declaration* > > declsToAdd;
     
    6667} // namespace
    6768
     69#endif // _DECLMUTATOR_H
     70
    6871// Local Variables: //
    6972// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.