Lines Matching refs:localName
451 util::StringView localName)
456 auto str = util::Helpers::AppendAll(type, localName.Utf8(), "'");
694 bool ETSBinder::DetectNameConflict(const util::StringView localName, Variable *const var, Variable *const otherVar,
706 ThrowError(importPath->Start(), RedeclarationErrorMessageAssembler(var, otherVar, localName));
743 const auto localName = ImportLocalName(importSpecifier, importPath, imported, importSpecifiers_, TopScope());
757 auto varInGlobalClassScope = Program()->GlobalClassScope()->FindLocal(localName, ResolveBindingOptions::ALL);
758 auto previouslyImportedVariable = TopScope()->FindLocal(localName, ResolveBindingOptions::ALL);
759 if (DetectNameConflict(localName, var, varInGlobalClassScope, importPath, true) ||
760 DetectNameConflict(localName, var, previouslyImportedVariable, importPath, false)) {
770 InsertForeignBinding(specifier, import, localName, var);