Changes in src/SynTree/Declaration.h [3a5131ed:e994912]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r3a5131ed re994912 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Feb 16 14:53:35201713 // Update Count : 5 712 // Last Modified On : Thu Feb 9 14:27:08 2017 13 // Update Count : 56 14 14 // 15 15 … … 17 17 #define DECLARATION_H 18 18 19 #include <string> 20 21 #include "BaseSyntaxNode.h" 19 #include "SynTree.h" 20 #include "Visitor.h" 22 21 #include "Mutator.h" 23 #include "Visitor.h"24 #include "SynTree.h"25 22 #include "Parser/LinkageSpec.h" 26 23 #include "Parser/ParseNode.h" 27 28 class Declaration : public BaseSyntaxNode { 24 #include <string> 25 26 class Declaration { 29 27 public: 30 28 Declaration( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Spec linkage ); … … 140 138 CompoundStmt *get_statements() const { return statements; } 141 139 void set_statements( CompoundStmt *newValue ) { statements = newValue; } 140 std::list< std::string >& get_oldIdents() { return oldIdents; } 141 std::list< Declaration* >& get_oldDecls() { return oldDecls; } 142 142 143 143 virtual FunctionDecl *clone() const { return new FunctionDecl( *this ); } … … 149 149 FunctionType *type; 150 150 CompoundStmt *statements; 151 std::list< std::string > oldIdents; 152 std::list< Declaration* > oldDecls; 151 153 }; 152 154
Note:
See TracChangeset
for help on using the changeset viewer.