Lines Matching refs:declarable
101 for (auto& declarable : declarables_) { in FindSomeInternalBuiltinWithType() local
102 if (Builtin* builtin = Builtin::DynamicCast(declarable.get())) { in FindSomeInternalBuiltinWithType()
136 Declarable* declarable = TryLookup(name); in TryLookupMacro() local
137 if (declarable != nullptr) { in TryLookupMacro()
138 if (declarable->IsMacroList()) { in TryLookupMacro()
139 for (auto& m : MacroList::cast(declarable)->list()) { in TryLookupMacro()
162 Declarable* declarable = Lookup(name); in LookupBuiltin() local
163 if (declarable != nullptr) { in LookupBuiltin()
164 if (declarable->IsBuiltin()) { in LookupBuiltin()
165 return Builtin::cast(declarable); in LookupBuiltin()
186 Declarable* declarable = Lookup(name); in LookupModuleConstant() local
187 if (declarable != nullptr) { in LookupModuleConstant()
188 if (declarable->IsModuleConstant()) { in LookupModuleConstant()
189 return ModuleConstant::cast(declarable); in LookupModuleConstant()