Lines Matching defs:interface
117 void ETSChecker::ValidateImplementedInterface(ETSObjectType *type, Type *interface,
120 if (!interface->IsETSObjectType() || !interface->AsETSObjectType()->HasObjectFlag(ETSObjectFlags::INTERFACE)) {
125 if (!extendsSet->insert(interface).second) {
126 LogTypeError("Repeated interface.", pos);
129 type->AddInterface(interface->AsETSObjectType());
130 GetInterfaces(interface->AsETSObjectType());
634 for (auto *interface : interfaceType->Interfaces()) {
635 auto found = cachedComputedAbstracts_.find(interface);
680 for (auto *interface : found->second.second) {
681 abstractInheritanceTarget.insert(interface);
751 for (auto *const &interface : interfaces) {
752 for (auto *const &prop : interface->Methods()) {
761 /// Traverse the interface inheritance tree and collects implemented methods
1946 for (auto *interface : interfaceList) {
1947 auto *propertyFound = interface->GetProperty(it->Name(), searchFlag);
1952 interfaceFound = interface;
1995 targetType = "interface";
2001 LogTypeError({"Cannot inherit from interface ", interfaceFound->Name(), " because ", targetType, " ",
2190 compiler::Signatures::STATIC_INSTANTIATE_METHOD, " method both exist in class/interface ",