Lines Matching refs:Scope

19 Symbols<1024> Scope::allSymbols;
52 Scope &Scope::MakeScope(Kind kind, Symbol *symbol) { in MakeScope()
68 MutableSymbolVector Scope::GetSymbols() { in GetSymbols()
71 SymbolVector Scope::GetSymbols() const { in GetSymbols()
75 Scope::iterator Scope::find(const SourceName &name) { in find()
78 Scope::size_type Scope::erase(const SourceName &name) { in erase()
87 Symbol *Scope::FindSymbol(const SourceName &name) const { in FindSymbol()
98 Symbol *Scope::FindComponent(SourceName name) const { in FindComponent()
103 } else if (const Scope * parent{GetDerivedTypeParent()}) { in FindComponent()
110 bool Scope::Contains(const Scope &that) const { in Contains()
111 for (const Scope *scope{&that};; scope = &scope->parent()) { in Contains()
121 Symbol *Scope::CopySymbol(const Symbol &symbol) { in CopySymbol()
133 void Scope::add_equivalenceSet(EquivalenceSet &&set) { in add_equivalenceSet()
137 void Scope::add_crayPointer(const SourceName &name, Symbol &pointer) { in add_crayPointer()
142 Symbol &Scope::MakeCommonBlock(const SourceName &name) { in MakeCommonBlock()
152 Symbol *Scope::FindCommonBlock(const SourceName &name) const { in FindCommonBlock()
157 Scope *Scope::FindSubmodule(const SourceName &name) const { in FindSubmodule()
165 bool Scope::AddSubmodule(const SourceName &name, Scope &submodule) { in AddSubmodule()
169 const DeclTypeSpec *Scope::FindType(const DeclTypeSpec &type) const { in FindType()
174 const DeclTypeSpec &Scope::MakeNumericType( in MakeNumericType()
178 const DeclTypeSpec &Scope::MakeLogicalType(KindExpr &&kind) { in MakeLogicalType()
181 const DeclTypeSpec &Scope::MakeTypeStarType() { in MakeTypeStarType()
184 const DeclTypeSpec &Scope::MakeClassStarType() { in MakeClassStarType()
189 const DeclTypeSpec &Scope::MakeLengthlessType(DeclTypeSpec &&type) { in MakeLengthlessType()
194 const DeclTypeSpec &Scope::MakeCharacterType( in MakeCharacterType()
200 DeclTypeSpec &Scope::MakeDerivedType( in MakeDerivedType()
205 const DeclTypeSpec *Scope::GetType(const SomeExpr &expr) { in GetType()
248 Scope::ImportKind Scope::GetImportKind() const { in GetImportKind()
262 std::optional<parser::MessageFixedText> Scope::SetImportKind(ImportKind kind) { in SetImportKind()
282 void Scope::add_importName(const SourceName &name) { in add_importName()
287 bool Scope::CanImport(const SourceName &name) const { in CanImport()
303 const Scope *Scope::FindScope(parser::CharBlock source) const { in FindScope()
304 return const_cast<Scope *>(this)->FindScope(source); in FindScope()
307 Scope *Scope::FindScope(parser::CharBlock source) { in FindScope()
320 void Scope::AddSourceRange(const parser::CharBlock &source) { in AddSourceRange()
326 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, const Scope &scope) { in operator <<()
327 os << Scope::EnumToString(scope.kind()) << " scope: "; in operator <<()
356 bool Scope::IsStmtFunction() const { in IsStmtFunction()
377 static bool IsParameterizedDerivedTypeHelper(const Scope &scope) { in IsParameterizedDerivedTypeHelper()
379 if (const Scope * parent{scope.GetDerivedTypeParent()}) { in IsParameterizedDerivedTypeHelper()
393 bool Scope::IsParameterizedDerivedType() const { in IsParameterizedDerivedType()
396 bool Scope::IsDerivedTypeWithLengthParameter() const { in IsDerivedTypeWithLengthParameter()
399 bool Scope::IsDerivedTypeWithKindParameter() const { in IsDerivedTypeWithKindParameter()
403 const DeclTypeSpec *Scope::FindInstantiatedDerivedType( in FindInstantiatedDerivedType()
415 const Scope *Scope::GetDerivedTypeParent() const { in GetDerivedTypeParent()
424 const Scope &Scope::GetDerivedTypeBase() const { in GetDerivedTypeBase()
425 const Scope *child{this}; in GetDerivedTypeBase()
426 for (const Scope *parent{GetDerivedTypeParent()}; parent != nullptr; in GetDerivedTypeBase()
433 void Scope::InstantiateDerivedTypes() { in InstantiateDerivedTypes()