Lines Matching defs:method
480 auto *const method = importedVar->Declaration()->Node()->AsMethodDefinition();
487 if (!method->Overloads().empty() && !method->HasOverload(currentNode)) {
488 method->AddOverload(currentNode);
497 if (!currentNode->HasOverload(method)) {
498 currentNode->AddOverload(method);
499 method->Function()->Id()->SetVariable(variable);
500 method->Function()->AddFlag(ir::ScriptFunctionFlags::OVERLOAD);
501 method->Function()->AddFlag(ir::ScriptFunctionFlags::EXTERNAL_OVERLOAD);
502 util::UString newInternalName(method->Function()->Scope()->Name(), allocator);
503 method->Function()->Scope()->BindInternalName(newInternalName.View());