Searched refs:FindScope (Results 1 – 15 of 15) sorted by relevance
154 const Scope &FindScope(parser::CharBlock) const;155 Scope &FindScope(parser::CharBlock);215 const Scope &FindScope(const parser::CharBlock &where) const { in FindScope() function216 return context_.FindScope(where); in FindScope()
234 const Scope *FindScope(parser::CharBlock) const;235 Scope *FindScope(parser::CharBlock);
260 const Scope *Scope::FindScope(parser::CharBlock source) const { in FindScope() function in Fortran::semantics::Scope261 return const_cast<Scope *>(this)->FindScope(source); in FindScope()264 Scope *Scope::FindScope(parser::CharBlock source) { in FindScope() function in Fortran::semantics::Scope270 if (auto *scope{child.FindScope(source)}) { in FindScope()
248 const Scope &SemanticsContext::FindScope(parser::CharBlock source) const { in FindScope() function in Fortran::semantics::SemanticsContext249 return const_cast<SemanticsContext *>(this)->FindScope(source); in FindScope()252 Scope &SemanticsContext::FindScope(parser::CharBlock source) { in FindScope() function in Fortran::semantics::SemanticsContext253 if (auto *scope{globalScope_.FindScope(source)}) { in FindScope()
32 const auto &scope{context_.FindScope(context_.location().value())}; in Leave()
21 const Scope &scope{context_.FindScope(*context_.location())}; in Leave()
70 const Scope &scope{context_.FindScope(lhsLoc)}; in Analyze()167 const Scope &scope{context_.FindScope(source)}; in CheckForPureContext()
58 const Scope &scope{context_.FindScope(source_)}; in operator ()()
192 const Scope &blockScope{context_.FindScope(endBlockStmt.source)}; in Post()193 const Scope &doScope{context_.FindScope(doConcurrentSourcePosition_)}; in Post()342 blockScope_{context.FindScope(doConcurrentSourcePosition_)} {}556 context_.FindScope(currentStatementSourcePosition_).parent()}; in GatherLocals()
680 context_.FindScope(n.source))}) { in Analyze()1564 if (const auto *currScope{context_.globalScope().FindScope(source)}) { in Analyze()1599 const auto &innermost{context_.FindScope(expr.source)}; in Analyze()2109 semantics::Scope &scope{context_.FindScope(name->source)}; in Analyze()2256 context_.FindScope(callSite), treatExternalAsImplicit, in CheckCall()2262 context_.FindScope(callSite))}) { in CheckCall()2961 const auto &scope{context_.context().FindScope(source_)}; in TryDefinedOp()3071 const auto &scope{context_.context().FindScope(source_)}; in GetDefinedAssignmentProc()
931 if (WhyNotModifiable(*sym, context_.FindScope(*context_.location()))) { in CheckForDefinableVariable()939 if (FindPureProcedureContaining(context_.FindScope(*context_.location()))) { in CheckForPureSubprogram()
231 const Scope &scope{context.FindScope(at)}; in CheckAllocateOptions()
52 dirContext_.emplace_back(source, dir, context_.FindScope(source)); in PushContext()
292 if (auto symbol{semanticsContext.FindScope(*cb).FindSymbol(*cb)}) { in CompileFortran()
1093 processSymbolTable(semanticsContext.FindScope(