Lines Matching defs:defaultMethod
426 ir::MethodDefinition *defaultMethod)
431 funcCallArgs.reserve(defaultMethod->Function()->Params().size());
435 for (auto *param : defaultMethod->Function()->Params()) {
460 ir::MethodDefinition *defaultMethod)
467 auto *const callee = checker->AllocNode<ir::Identifier>(defaultMethod->Id()->Name(), checker->Allocator());
470 if (defaultMethod->IsStatic() && defaultMethod->Parent()->IsClassDefinition() &&
471 (!defaultMethod->Parent()->AsClassDefinition()->IsGlobal())) {
472 id = checker->AllocNode<ir::Identifier>(defaultMethod->Parent()->AsClassDefinition()->Ident()->Name(),
481 CreateArgsForOptionalCall(ctx, lambda, defaultMethod),
484 callExpression->SetSignature(defaultMethod->Function()->Signature());
486 if ((defaultMethod->Function()->ReturnTypeAnnotation() != nullptr) ||
487 ((defaultMethod->Function()->AsScriptFunction()->Flags() & ir::ScriptFunctionFlags::HAS_RETURN) != 0)) {
500 LambdaInfo const *info, ir::MethodDefinition *defaultMethod,
513 cmInfo.body = CreateFunctionBody(ctx, lambda, defaultMethod);
516 auto *method = CreateCalleeMethod(ctx, lambda, info, &cmInfo, limit, defaultMethod->Id()->Variable());