Changeset b21c77a for src/Parser/TypedefTable.h
- Timestamp:
- Jun 29, 2018, 4:14:15 PM (8 years ago)
- Branches:
- new-env
- Children:
- 184557e
- Parents:
- 97397a26 (diff), 28f3a19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Parser/TypedefTable.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypedefTable.h
r97397a26 rb21c77a 10 10 // Created On : Sat May 16 15:24:36 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 22 08:39:29201813 // Update Count : 7712 // Last Modified On : Fri Jun 22 05:29:58 2018 13 // Update Count : 86 14 14 // 15 15 … … 25 25 typedef ScopedMap< std::string, int > KindTable; 26 26 KindTable kindTable; 27 unsigned int level = 0; 27 28 public: 28 29 ~TypedefTable(); … … 30 31 bool exists( const std::string & identifier ); 31 32 int isKind( const std::string & identifier ) const; 32 void changeKind( const std::string & identifier, int kind);33 void makeTypedef( const std::string & name);34 void addToEnclosingScope( const std::string & identifier, int kind );33 void makeTypedef( const std::string & name, int kind = TYPEDEFname ); 34 void addToScope( const std::string & identifier, int kind, const char * ); 35 void addToEnclosingScope( const std::string & identifier, int kind, const char * ); 35 36 36 37 void enterScope(); 37 38 void leaveScope(); 39 40 void up() { level += 1; } 41 void down() { level -= 1; } 42 43 void print( void ) const; 38 44 }; // TypedefTable 39 45
Note:
See TracChangeset
for help on using the changeset viewer.