OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:callAsConstructor
(Results
1 - 5
of
5
) sorted by null
/external/webkit/JavaScriptCore/API/
JSClassRef.h
104
JSObjectCallAsConstructorCallback
callAsConstructor
;
JSClassRef.cpp
69
,
callAsConstructor
(definition->
callAsConstructor
)
JSObjectRef.h
231
@discussion If you named your function
CallAsConstructor
, you would declare it like this:
233
JSObjectRef
CallAsConstructor
(JSContextRef ctx, JSObjectRef constructor, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
258
Standard JavaScript practice calls for objects that implement the
callAsConstructor
callback to implement the hasInstance callback as well.
328
@field
callAsConstructor
The callback invoked when an object is used as a constructor in a 'new' expression.
361
JSObjectCallAsConstructorCallback
callAsConstructor
;
427
@param
callAsConstructor
A JSObjectCallAsConstructorCallback to invoke when your constructor is used in a 'new' expression. Pass NULL to use the default object constructor.
431
JS_EXPORT JSObjectRef JSObjectMakeConstructor(JSContextRef ctx, JSClassRef jsClass, JSObjectCallAsConstructorCallback
callAsConstructor
);
[
all
...]
JSCallbackObjectFunctions.h
301
if (jsClass->
callAsConstructor
) {
316
if (JSObjectCallAsConstructorCallback
callAsConstructor
= jsClass->
callAsConstructor
) {
325
result = toJS(
callAsConstructor
(execRef, constructorRef, argumentCount, arguments.data(), &exception));
JSObjectRef.cpp
101
JSObjectRef JSObjectMakeConstructor(JSContextRef ctx, JSClassRef jsClass, JSObjectCallAsConstructorCallback
callAsConstructor
)
110
JSCallbackConstructor* constructor = new (exec) JSCallbackConstructor(exec->lexicalGlobalObject()->callbackConstructorStructure(), jsClass,
callAsConstructor
);
Completed in 26 milliseconds