OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kJSClassAttributeNoAutomaticPrototype
(Results
1 - 4
of
4
) sorted by null
/external/webkit/Source/JavaScriptCore/qt/api/
qscriptfunction.cpp
66
kJSClassAttributeNoAutomaticPrototype
, // attributes
126
kJSClassAttributeNoAutomaticPrototype
, // attributes
/external/webkit/Source/JavaScriptCore/API/
JSObjectRef.h
66
@constant
kJSClassAttributeNoAutomaticPrototype
Specifies that a class should not automatically generate a shared prototype for its instance objects. Use
kJSClassAttributeNoAutomaticPrototype
in combination with JSObjectSetPrototype to manage prototypes manually.
70
kJSClassAttributeNoAutomaticPrototype
= 1 << 1
339
Standard JavaScript practice calls for storing function objects in prototypes, so they can be shared. The default JSClass created by JSClassCreate follows this idiom, instantiating objects with a shared, automatically generating prototype containing the class's function objects. The
kJSClassAttributeNoAutomaticPrototype
attribute specifies that a JSClass should not automatically generate such a prototype. The resulting JSClass instantiates objects with the default object prototype, and gives each instance object its own copy of the class's function objects.
[
all
...]
JSObjectRef.cpp
58
RefPtr<OpaqueJSClass> jsClass = (definition->attributes &
kJSClassAttributeNoAutomaticPrototype
)
/external/webkit/Source/JavaScriptCore/API/tests/
testapi.c
851
globalObjectClassDefinition.attributes =
kJSClassAttributeNoAutomaticPrototype
;
[
all
...]
Completed in 209 milliseconds