Searched refs:mTable (Results 1 – 8 of 8) sorted by relevance
79 return mTable.empty(); in isEmpty()84 return mTable.size() == 1u; in atGlobalLevel()89 mTable.emplace_back(new TSymbolTableLevel); in push()95 mTable.pop_back(); in pop()228 int userDefinedLevel = static_cast<int>(mTable.size()) - 1; in findUserDefined()231 const TSymbol *symbol = mTable[userDefinedLevel]->find(name); in findUserDefined()245 ASSERT(!mTable.empty()); in findUserDefinedFunction()246 return static_cast<TFunction *>(mTable[0]->find(name)); in findUserDefinedFunction()251 ASSERT(!mTable.empty()); in findGlobal()252 return mTable[0]->find(name); in findGlobal()[all …]
191 TScopedSymbolTableLevel(TSymbolTable *table) : mTable(table) in TScopedSymbolTableLevel()193 ASSERT(mTable->isEmpty()); in TScopedSymbolTableLevel()194 mTable->push(); in TScopedSymbolTableLevel()198 while (!mTable->isEmpty()) in ~TScopedSymbolTableLevel()199 mTable->pop(); in ~TScopedSymbolTableLevel()203 TSymbolTable *mTable; member in sh::__anon5a32be3a0211::TScopedSymbolTableLevel
175 std::vector<std::unique_ptr<TSymbolTableLevel>> mTable; variable
116 return mTable.empty(); in isEmpty()121 return mTable.size() == 1u; in atGlobalLevel()126 mTable.emplace_back(new TSymbolTableLevel); in push()132 mTable.pop_back(); in pop()265 int userDefinedLevel = static_cast<int>(mTable.size()) - 1; in findUserDefined()268 const TSymbol *symbol = mTable[userDefinedLevel]->find(name); in findUserDefined()282 ASSERT(!mTable.empty()); in findUserDefinedFunction()283 return static_cast<TFunction *>(mTable[0]->find(name)); in findUserDefinedFunction()288 ASSERT(!mTable.empty()); in findGlobal()289 return mTable[0]->find(name); in findGlobal()[all …]
230 TScopedSymbolTableLevel(TSymbolTable *table) : mTable(table) in TScopedSymbolTableLevel()232 ASSERT(mTable->isEmpty()); in TScopedSymbolTableLevel()233 mTable->push(); in TScopedSymbolTableLevel()237 while (!mTable->isEmpty()) in ~TScopedSymbolTableLevel()238 mTable->pop(); in ~TScopedSymbolTableLevel()242 TSymbolTable *mTable; member in sh::__anondb1160e50211::TScopedSymbolTableLevel
358 std::vector<std::unique_ptr<TSymbolTableLevel>> mTable; variable
151 mTable[key] = id;156 const auto it = mTable.find(key);157 if (it != mTable.end()) {164 auto it = mTable.find(key);165 if (it != mTable.end()) {166 mTable.erase(it);171 std::map<T, ObjectId> mTable;
203 mTable[key] = id;208 const auto it = mTable.find(key);209 if (it != mTable.end()) {216 auto it = mTable.find(key);217 if (it != mTable.end()) {218 mTable.erase(it);223 std::map<T, ObjectId> mTable;