Changeset fa2c005 for src/AST/SymbolTable.hpp
- Timestamp:
- Jun 8, 2023, 3:19:43 PM (3 years ago)
- Branches:
- ADT
- Parents:
- 044ae62
- File:
-
- 1 edited
-
src/AST/SymbolTable.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/SymbolTable.hpp
r044ae62 rfa2c005 111 111 /// Gets the top-most struct declaration with the given ID 112 112 const StructDecl * lookupStruct( const std::string &id ) const; 113 114 const AdtDecl * lookupAdt( const std::string &id ) const; 113 115 /// Gets the top-most enum declaration with the given ID 114 116 const EnumDecl * lookupEnum( const std::string &id ) const; … … 141 143 void addEnum( const EnumDecl * decl ); 142 144 /// Adds an adt declaration to the symbol table 145 void addAdt( const std::string & id ); 143 146 void addAdt( const AdtDecl * decl ); 144 147 /// Adds a union declaration to the symbol table by name
Note:
See TracChangeset
for help on using the changeset viewer.