Changeset 85855b0 for src/AST/SymbolTable.cpp
- Timestamp:
- Jun 10, 2024, 2:43:13 AM (2 months ago)
- Branches:
- master
- Children:
- 42cdd07d
- Parents:
- d68de59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/SymbolTable.cpp
rd68de59 r85855b0 159 159 } 160 160 161 std::vector<SymbolTable::IdData> SymbolTable::lookupIdIgnoreHidden( const std::string &id ) const { 162 std::vector<IdData> out; 163 std::vector<IdData> lookupResult = lookupId(id); 164 for ( auto candidate: lookupResult) { 165 if ( candidate.id ) { 166 if (candidate.id->isHidden) continue; 167 } 168 out.push_back(candidate); 169 } 170 return out; 171 } 172 161 173 std::vector<SymbolTable::IdData> SymbolTable::specialLookupId( SymbolTable::SpecialFunctionKind kind, const std::string & otypeKey ) const { 162 174 static Stats::Counters::CounterGroup * special_stats = Stats::Counters::build<Stats::Counters::CounterGroup>("Special Lookups");
Note: See TracChangeset
for help on using the changeset viewer.