Home | History | Annotate | Download | only in scripts

Lines Matching refs:implClassName

311     my $implClassName = shift;
314 unless ($codeGenerator->IsSVGAnimatedType($implClassName) or IsScriptProfileType($implClassName)) {
315 push(@headerContent, "class $implClassName;\n\n");
317 } elsif (IsScriptProfileType($implClassName)) {
318 AddTypedefForScriptProfileType($implClassName);
382 my ($dataNode, $interfaceName, $className, $implClassName, $hasAttributes, $inlined) = @_;
415 if (IndexGetterReturnsStrings($implClassName)) {
418 push(@getOwnPropertySlotImpl, " if (ok && index < static_cast<$implClassName*>(impl())->length()) {\n");
430 push(@getOwnPropertySlotImpl, " if (canGetItemsForName(exec, static_cast<$implClassName*>(impl()), propertyName)) {\n");
466 my ($dataNode, $interfaceName, $className, $implClassName, $hasAttributes, $inlined) = @_;
506 push(@getOwnPropertyDescriptorImpl, " if (ok && index < static_cast<$implClassName*>(impl())->length()) {\n");
529 push(@getOwnPropertyDescriptorImpl, " if (canGetItemsForName(exec, static_cast<$implClassName*>(impl()), propertyName)) {\n");
611 my $implClassName = $interfaceName;
649 $headerIncludes{"$implClassName.h"} = 1;
655 my $implType = $implClassName;
669 if ($codeGenerator->IsSVGAnimatedType($implClassName)) {
670 $headerIncludes{"$implClassName.h"} = 1;
673 AddClassForwardIfNeeded($implClassName) unless $svgPropertyOrListPropertyType;
864 push(@headerContent, " $implClassName* impl() const\n");
866 push(@headerContent, " return static_cast<$implClassName*>(Base::impl());\n");
900 push(@headerContent, " static bool canGetItemsForName(JSC::ExecState*, $implClassName*, const JSC::Identifier&);\n");
909 push(@headerContent, GenerateGetOwnPropertySlotBody($dataNode, $interfaceName, $className, $implClassName, $numAttributes > 0, 1));
913 push(@headerContent, GenerateGetOwnPropertyDescriptorBody($dataNode, $interfaceName, $className, $implClassName, $numAttributes > 0, 1));
1167 my $implClassName = shift;
1175 my $functionName = "js${implClassName}PrototypeFunction" . $codeGenerator->WK_ucfirst($function->signature->name);
1199 my $implClassName = $interfaceName;
1399 my $implType = $implClassName;
1468 push(@implContent, GenerateGetOwnPropertySlotBody($dataNode, $interfaceName, $className, $implClassName, $numAttributes > 0, 0));
1472 push(@implContent, GenerateGetOwnPropertyDescriptorBody($dataNode, $interfaceName, $className, $implClassName, $numAttributes > 0, 0));
1480 push(@implContent, " if (propertyName < static_cast<$implClassName*>(impl())->length()) {\n");
1517 push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(castedThis->impl());\n");
1518 push(@implContent, " return checkNodeSecurity(exec, imp->$implGetterFunctionName()) ? " . NativeToJSValue($attribute->signature, 0, $implClassName, "imp->$implGetterFunctionName()", "castedThis") . " : jsUndefined();\n");
1522 push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(castedThis->impl());\n");
1523 push(@implContent, " return checkNodeSecurity(exec, imp->contentDocument()) ? " . NativeToJSValue($attribute->signature, 0, $implClassName, "imp->$implGetterFunctionName()", "castedThis") . " : jsUndefined();\n");
1527 push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(castedThis->impl());\n");
1530 if ($implClassName eq "Document" || $implClassName eq "WorkerContext" || $implClassName eq "SharedWorkerContext" || $implClassName eq "DedicatedWorkerContext") {
1556 push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $implClassName, "castedThis->impl()->$implGetterFunctionName()", "castedThis") . ";\n");
1560 push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $implClassName, "imp", "castedThis") . ";\n");
1562 push(@implContent, " JSValue result = " . NativeToJSValue($attribute->signature, 0, $implClassName, "imp.$implGetterFunctionName()", "castedThis") . ";\n");
1566 my $jsType = NativeToJSValue($attribute->signature, 0, $implClassName, $getterExpression, "castedThis");
1567 push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(castedThis->impl());\n");
1583 push(@implContent, " JSC::JSValue result = " . NativeToJSValue($attribute->signature, 0, $implClassName, "imp.$implGetterFunctionName(ec)", "castedThis") . ";\n");
1585 push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(castedThis->impl());\n");
1586 push(@implContent, " JSC::JSValue result = " . NativeToJSValue($attribute->signature, 0, $implClassName, "imp->$implGetterFunctionName(ec)", "castedThis") . ";\n");
1693 push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(static_cast<$className*>(thisObject)->impl());\n");
1810 push(@implContent, " for (unsigned i = 0; i < static_cast<${implClassName}*>(impl())->length(); ++i)\n");
1960 GenerateImplementationFunctionCall($function, $functionString, $paramIndex, " " x 2, $svgPropertyType, $implClassName);
2027 if ($codeGenerator->IsSVGTypeNeedingTearOff($argType) and not $implClassName =~ /List$/) {
2039 } elsif ($codeGenerator->IsSVGTypeNeedingTearOff($argType) and not $implClassName =~ /List$/) {
2055 GenerateImplementationFunctionCall($function, $functionString, $paramIndex, " ", $svgPropertyType, $implClassName);
2062 GenerateOverloadedPrototypeFunction($function, $dataNode, $implClassName);
2090 if (IndexGetterReturnsStrings($implClassName)) {
2094 push(@implContent, " return toJS(exec, thisObj->globalObject(), static_cast<$implClassName*>(thisObj->impl())->item(index));\n");
2106 push(@implContent, " return jsNumber(static_cast<$implClassName*>(impl())->item(index));\n");
2308 my $implClassName = shift;
2337 push(@implContent, "\n" . $indent . "JSC::JSValue result = " . NativeToJSValue($function->signature, 1, $implClassName, $functionString, "castedThis") . ";\n");
2501 my $implClassName = shift;
2550 if ($implClassName eq "Document") {
2575 if ($codeGenerator->IsSVGAnimatedType($implClassName)) {
2578 } elsif ($codeGenerator->IsSVGTypeNeedingTearOff($type) and not $implClassName =~ /List$/) {
2585 my $updateMethod = "&${implClassName}::update" . $codeGenerator->WK_ucfirst($getter);
2587 my $selfIsTearOffType = $codeGenerator->IsSVGTypeNeedingTearOff($implClassName);
2590 $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyWithParentTearOff<$implClassName, /;
2592 if ($value =~ /matrix/ and $implClassName eq "SVGTransform") {
2601 $tearOffType =~ s/SVGPropertyTearOff</SVGStaticPropertyTearOff<$implClassName, /;
2605 my $extraImp = "GetOwnerElementForType<$implClassName, IsDerivedFromSVGElement<$implClassName>::value>::ownerElement(imp), ";