|
const Identifier & | name () const |
|
const Identifier & | ecmaName () const |
|
void | setEcmaName (const Identifier &name) |
|
const Identifier & | inferredName () const |
|
unsigned | parameterCount () const |
|
unsigned | functionLength () const |
|
SourceParseMode | parseMode () const |
|
const SourceCode & | classSource () const |
|
void | setClassSource (const SourceCode &source) |
|
bool | isInStrictContext () const |
|
FunctionMode | functionMode () const |
|
ConstructorKind | constructorKind () const |
|
SuperBinding | superBinding () const |
|
unsigned | lineCount () const |
|
unsigned | linkedStartColumn (unsigned parentStartColumn) const |
|
unsigned | linkedEndColumn (unsigned startColumn) const |
|
unsigned | unlinkedFunctionNameStart () const |
|
unsigned | unlinkedBodyStartColumn () const |
|
unsigned | unlinkedBodyEndColumn () const |
|
unsigned | startOffset () const |
|
unsigned | sourceLength () |
|
unsigned | parametersStartOffset () const |
|
unsigned | typeProfilingStartOffset () const |
|
unsigned | typeProfilingEndOffset () const |
|
void | setInvalidTypeProfilingOffsets () |
|
UnlinkedFunctionCodeBlock * | unlinkedCodeBlockFor (VM &, const SourceCode &, CodeSpecializationKind, DebuggerMode, ParserError &, SourceParseMode) |
|
JS_EXPORT_PRIVATE FunctionExecutable * | link (VM &, const SourceCode &parentSource, std::optional< int > overrideLineNumber=std::nullopt, Intrinsic=NoIntrinsic) |
|
void | clearCode () |
|
void | recordParse (CodeFeatures features, bool hasCapturedVariables) |
|
CodeFeatures | features () const |
|
bool | hasCapturedVariables () const |
|
bool | isBuiltinFunction () const |
|
ConstructAbility | constructAbility () const |
|
JSParserScriptMode | scriptMode () const |
|
bool | isClassConstructorFunction () const |
|
const VariableEnvironment * | parentScopeTDZVariables () const |
|
bool | isArrowFunction () const |
|
JSC::DerivedContextType | derivedContextType () const |
|
const String & | sourceURLDirective () const |
|
const String & | sourceMappingURLDirective () const |
|
void | setSourceURLDirective (const String &sourceURL) |
|
void | setSourceMappingURLDirective (const String &sourceMappingURL) |
|
const Identifier & | name () const |
|
const Identifier & | ecmaName () const |
|
void | setEcmaName (const Identifier &name) |
|
const Identifier & | inferredName () const |
|
unsigned | parameterCount () const |
|
unsigned | functionLength () const |
|
SourceParseMode | parseMode () const |
|
const SourceCode & | classSource () const |
|
void | setClassSource (const SourceCode &source) |
|
bool | isInStrictContext () const |
|
FunctionMode | functionMode () const |
|
ConstructorKind | constructorKind () const |
|
SuperBinding | superBinding () const |
|
unsigned | lineCount () const |
|
unsigned | linkedStartColumn (unsigned parentStartColumn) const |
|
unsigned | linkedEndColumn (unsigned startColumn) const |
|
unsigned | unlinkedFunctionNameStart () const |
|
unsigned | unlinkedBodyStartColumn () const |
|
unsigned | unlinkedBodyEndColumn () const |
|
unsigned | startOffset () const |
|
unsigned | sourceLength () |
|
unsigned | parametersStartOffset () const |
|
unsigned | typeProfilingStartOffset () const |
|
unsigned | typeProfilingEndOffset () const |
|
void | setInvalidTypeProfilingOffsets () |
|
UnlinkedFunctionCodeBlock * | unlinkedCodeBlockFor (VM &, const SourceCode &, CodeSpecializationKind, DebuggerMode, ParserError &, SourceParseMode) |
|
JS_EXPORT_PRIVATE FunctionExecutable * | link (VM &, const SourceCode &parentSource, std::optional< int > overrideLineNumber=std::nullopt, Intrinsic=NoIntrinsic) |
|
void | clearCode () |
|
void | recordParse (CodeFeatures features, bool hasCapturedVariables) |
|
CodeFeatures | features () const |
|
bool | hasCapturedVariables () const |
|
bool | isBuiltinFunction () const |
|
ConstructAbility | constructAbility () const |
|
JSParserScriptMode | scriptMode () const |
|
bool | isClassConstructorFunction () const |
|
const VariableEnvironment * | parentScopeTDZVariables () const |
|
bool | isArrowFunction () const |
|
JSC::DerivedContextType | derivedContextType () const |
|
const String & | sourceURLDirective () const |
|
const String & | sourceMappingURLDirective () const |
|
void | setSourceURLDirective (const String &sourceURL) |
|
void | setSourceMappingURLDirective (const String &sourceMappingURL) |
|
| JSCell (CreatingEarlyCellTag) |
|
bool | isString () const |
|
bool | isSymbol () const |
|
bool | isObject () const |
|
bool | isAnyWasmCallee (VM &) const |
|
bool | isGetterSetter () const |
|
bool | isCustomGetterSetter () const |
|
bool | isProxy () const |
|
bool | inherits (VM &, const ClassInfo *) const |
|
bool | isAPIValueWrapper () const |
|
void | lock () |
|
bool | tryLock () |
|
void | unlock () |
|
bool | isLocked () const |
|
JSType | type () const |
|
IndexingType | indexingTypeAndMisc () const |
|
IndexingType | indexingType () const |
|
StructureID | structureID () const |
|
Structure * | structure () const |
|
Structure * | structure (VM &) const |
|
void | setStructure (VM &, Structure *) |
|
void | setStructureIDDirectly (StructureID id) |
|
void | clearStructure () |
|
TypeInfo::InlineTypeFlags | inlineTypeFlags () const |
|
const char * | className (VM &) const |
|
JS_EXPORT_PRIVATE bool | getString (ExecState *, String &) const |
|
JS_EXPORT_PRIVATE String | getString (ExecState *) const |
|
JS_EXPORT_PRIVATE JSObject * | getObject () |
|
const JSObject * | getObject () const |
|
JS_EXPORT_PRIVATE JSValue | toPrimitive (ExecState *, PreferredPrimitiveType) const |
|
bool | getPrimitiveNumber (ExecState *, double &number, JSValue &) const |
|
bool | toBoolean (ExecState *) const |
|
TriState | pureToBoolean () const |
|
JS_EXPORT_PRIVATE double | toNumber (ExecState *) const |
|
JSObject * | toObject (ExecState *, JSGlobalObject *) const |
|
void | dump (PrintStream &) const |
|
size_t | estimatedSizeInBytes () const |
|
const ClassInfo * | classInfo (VM &) const |
|
const MethodTable * | methodTable () const |
|
const MethodTable * | methodTable (VM &) const |
|
JSValue | fastGetOwnProperty (VM &, Structure &, PropertyName) |
|
CellState | cellState () const |
|
void | setCellState (CellState data) const |
|
bool | atomicCompareExchangeCellStateWeakRelaxed (CellState oldState, CellState newState) |
|
CellState | atomicCompareExchangeCellStateStrong (CellState oldState, CellState newState) |
|
void | callDestructor (VM &) |
|
| JSCell (CreatingEarlyCellTag) |
|
bool | isString () const |
|
bool | isSymbol () const |
|
bool | isObject () const |
|
bool | isAnyWasmCallee (VM &) const |
|
bool | isGetterSetter () const |
|
bool | isCustomGetterSetter () const |
|
bool | isProxy () const |
|
bool | inherits (VM &, const ClassInfo *) const |
|
bool | isAPIValueWrapper () const |
|
void | lock () |
|
bool | tryLock () |
|
void | unlock () |
|
bool | isLocked () const |
|
JSType | type () const |
|
IndexingType | indexingTypeAndMisc () const |
|
IndexingType | indexingType () const |
|
StructureID | structureID () const |
|
Structure * | structure () const |
|
Structure * | structure (VM &) const |
|
void | setStructure (VM &, Structure *) |
|
void | setStructureIDDirectly (StructureID id) |
|
void | clearStructure () |
|
TypeInfo::InlineTypeFlags | inlineTypeFlags () const |
|
const char * | className (VM &) const |
|
JS_EXPORT_PRIVATE bool | getString (ExecState *, String &) const |
|
JS_EXPORT_PRIVATE String | getString (ExecState *) const |
|
JS_EXPORT_PRIVATE JSObject * | getObject () |
|
const JSObject * | getObject () const |
|
JS_EXPORT_PRIVATE JSValue | toPrimitive (ExecState *, PreferredPrimitiveType) const |
|
bool | getPrimitiveNumber (ExecState *, double &number, JSValue &) const |
|
bool | toBoolean (ExecState *) const |
|
TriState | pureToBoolean () const |
|
JS_EXPORT_PRIVATE double | toNumber (ExecState *) const |
|
JSObject * | toObject (ExecState *, JSGlobalObject *) const |
|
void | dump (PrintStream &) const |
|
size_t | estimatedSizeInBytes () const |
|
const ClassInfo * | classInfo (VM &) const |
|
const MethodTable * | methodTable () const |
|
const MethodTable * | methodTable (VM &) const |
|
JSValue | fastGetOwnProperty (VM &, Structure &, PropertyName) |
|
CellState | cellState () const |
|
void | setCellState (CellState data) const |
|
bool | atomicCompareExchangeCellStateWeakRelaxed (CellState oldState, CellState newState) |
|
CellState | atomicCompareExchangeCellStateStrong (CellState oldState, CellState newState) |
|
void | callDestructor (VM &) |
|
| HeapCell () |
|
void | zap () |
|
bool | isZapped () const |
|
bool | isLargeAllocation () const |
|
CellContainer | cellContainer () const |
|
MarkedBlock & | markedBlock () const |
|
LargeAllocation & | largeAllocation () const |
|
Heap * | heap () const |
|
VM * | vm () const |
|
size_t | cellSize () const |
|
AllocatorAttributes | allocatorAttributes () const |
|
DestructionMode | destructionMode () const |
|
Kind | cellKind () const |
|
| HeapCell () |
|
void | zap () |
|
bool | isZapped () const |
|
bool | isLargeAllocation () const |
|
CellContainer | cellContainer () const |
|
MarkedBlock & | markedBlock () const |
|
LargeAllocation & | largeAllocation () const |
|
Heap * | heap () const |
|
VM * | vm () const |
|
size_t | cellSize () const |
|
AllocatorAttributes | allocatorAttributes () const |
|
DestructionMode | destructionMode () const |
|
Kind | cellKind () const |
|
|
static UnlinkedFunctionExecutable * | create (VM *vm, const SourceCode &source, FunctionMetadataNode *node, UnlinkedFunctionKind unlinkedFunctionKind, ConstructAbility constructAbility, JSParserScriptMode scriptMode, VariableEnvironment &parentScopeTDZVariables, DerivedContextType derivedContextType, SourceCode &&parentSourceOverride=SourceCode()) |
|
static UnlinkedFunctionExecutable * | fromGlobalCode (const Identifier &, ExecState &, const SourceCode &, JSObject *&exception, int overrideLineNumber) |
|
static void | destroy (JSCell *) |
|
static Structure * | createStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto) |
|
static UnlinkedFunctionExecutable * | create (VM *vm, const SourceCode &source, FunctionMetadataNode *node, UnlinkedFunctionKind unlinkedFunctionKind, ConstructAbility constructAbility, JSParserScriptMode scriptMode, VariableEnvironment &parentScopeTDZVariables, DerivedContextType derivedContextType, SourceCode &&parentSourceOverride=SourceCode()) |
|
static UnlinkedFunctionExecutable * | fromGlobalCode (const Identifier &, ExecState &, const SourceCode &, JSObject *&exception, int overrideLineNumber) |
|
static void | destroy (JSCell *) |
|
static Structure * | createStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto) |
|
template<typename CellType > |
static Subspace * | subspaceFor (VM &) |
|
static JSCell * | seenMultipleCalleeObjects () |
|
static JS_EXPORT_PRIVATE CallType | getCallData (JSCell *, CallData &) |
|
static JS_EXPORT_PRIVATE ConstructType | getConstructData (JSCell *, ConstructData &) |
|
static JS_EXPORT_PRIVATE void | dumpToStream (const JSCell *, PrintStream &) |
|
static JS_EXPORT_PRIVATE size_t | estimatedSize (JSCell *) |
|
static void | visitChildren (JSCell *, SlotVisitor &) |
|
static void | visitOutputConstraints (JSCell *, SlotVisitor &) |
|
static JS_EXPORT_PRIVATE void | heapSnapshot (JSCell *, HeapSnapshotBuilder &) |
|
static bool | put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &) |
|
static bool | putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow) |
|
static bool | deleteProperty (JSCell *, ExecState *, PropertyName) |
|
static bool | deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName) |
|
static JSValue | toThis (JSCell *, ExecState *, ECMAMode) |
|
static bool | canUseFastGetOwnProperty (const Structure &) |
|
static ptrdiff_t | structureIDOffset () |
|
static ptrdiff_t | typeInfoFlagsOffset () |
|
static ptrdiff_t | typeInfoTypeOffset () |
|
static ptrdiff_t | indexingTypeAndMiscOffset () |
|
static ptrdiff_t | cellStateOffset () |
|
template<typename CellType > |
static Subspace * | subspaceFor (VM &) |
|
static JSCell * | seenMultipleCalleeObjects () |
|
static JS_EXPORT_PRIVATE CallType | getCallData (JSCell *, CallData &) |
|
static JS_EXPORT_PRIVATE ConstructType | getConstructData (JSCell *, ConstructData &) |
|
static JS_EXPORT_PRIVATE void | dumpToStream (const JSCell *, PrintStream &) |
|
static JS_EXPORT_PRIVATE size_t | estimatedSize (JSCell *) |
|
static void | visitChildren (JSCell *, SlotVisitor &) |
|
static void | visitOutputConstraints (JSCell *, SlotVisitor &) |
|
static JS_EXPORT_PRIVATE void | heapSnapshot (JSCell *, HeapSnapshotBuilder &) |
|
static bool | put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &) |
|
static bool | putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow) |
|
static bool | deleteProperty (JSCell *, ExecState *, PropertyName) |
|
static bool | deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName) |
|
static JSValue | toThis (JSCell *, ExecState *, ECMAMode) |
|
static bool | canUseFastGetOwnProperty (const Structure &) |
|
static ptrdiff_t | structureIDOffset () |
|
static ptrdiff_t | typeInfoFlagsOffset () |
|
static ptrdiff_t | typeInfoTypeOffset () |
|
static ptrdiff_t | indexingTypeAndMiscOffset () |
|
static ptrdiff_t | cellStateOffset () |
|
|
static void | visitChildren (JSCell *, SlotVisitor &) |
|
static void | visitChildren (JSCell *, SlotVisitor &) |
|
static JS_EXPORT_PRIVATE void | destroy (JSCell *) |
|
static JSValue | defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType) |
|
static NO_RETURN_DUE_TO_CRASH void | getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH void | getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH void | getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static uint32_t | getEnumerableLength (ExecState *, JSObject *) |
|
static NO_RETURN_DUE_TO_CRASH void | getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH void | getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH bool | preventExtensions (JSObject *, ExecState *) |
|
static NO_RETURN_DUE_TO_CRASH bool | isExtensible (JSObject *, ExecState *) |
|
static NO_RETURN_DUE_TO_CRASH bool | setPrototype (JSObject *, ExecState *, JSValue, bool) |
|
static NO_RETURN_DUE_TO_CRASH JSValue | getPrototype (JSObject *, ExecState *) |
|
static String | className (const JSObject *) |
|
static String | toStringName (const JSObject *, ExecState *) |
|
static JS_EXPORT_PRIVATE bool | customHasInstance (JSObject *, ExecState *, JSValue) |
|
static bool | defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow) |
|
static bool | getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &) |
|
static bool | getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &) |
|
static JS_EXPORT_PRIVATE ArrayBuffer * | slowDownAndWasteMemory (JSArrayBufferView *) |
|
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferView > | getTypedArrayImpl (JSArrayBufferView *) |
|
static JS_EXPORT_PRIVATE void | destroy (JSCell *) |
|
static JSValue | defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType) |
|
static NO_RETURN_DUE_TO_CRASH void | getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH void | getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH void | getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static uint32_t | getEnumerableLength (ExecState *, JSObject *) |
|
static NO_RETURN_DUE_TO_CRASH void | getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH void | getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode) |
|
static NO_RETURN_DUE_TO_CRASH bool | preventExtensions (JSObject *, ExecState *) |
|
static NO_RETURN_DUE_TO_CRASH bool | isExtensible (JSObject *, ExecState *) |
|
static NO_RETURN_DUE_TO_CRASH bool | setPrototype (JSObject *, ExecState *, JSValue, bool) |
|
static NO_RETURN_DUE_TO_CRASH JSValue | getPrototype (JSObject *, ExecState *) |
|
static String | className (const JSObject *) |
|
static String | toStringName (const JSObject *, ExecState *) |
|
static JS_EXPORT_PRIVATE bool | customHasInstance (JSObject *, ExecState *, JSValue) |
|
static bool | defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow) |
|
static bool | getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &) |
|
static bool | getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &) |
|
static JS_EXPORT_PRIVATE ArrayBuffer * | slowDownAndWasteMemory (JSArrayBufferView *) |
|
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferView > | getTypedArrayImpl (JSArrayBufferView *) |
|