webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Friends | List of all members
JSC::UnlinkedFunctionExecutable Class Referencefinal

#include <UnlinkedFunctionExecutable.h>

Inheritance diagram for JSC::UnlinkedFunctionExecutable:
JSC::JSCell JSC::JSCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell

Public Types

typedef JSCell Base
 
typedef JSCell Base
 
- Public Types inherited from JSC::JSCell
enum  CreatingEarlyCellTag { CreatingEarlyCell, CreatingEarlyCell }
 
enum  CreatingEarlyCellTag { CreatingEarlyCell, CreatingEarlyCell }
 
- Public Types inherited from JSC::HeapCell
enum  Kind : int8_t { JSCell, Auxiliary, JSCell, Auxiliary }
 
enum  Kind : int8_t { JSCell, Auxiliary, JSCell, Auxiliary }
 

Public Member Functions

const Identifiername () const
 
const IdentifierecmaName () const
 
void setEcmaName (const Identifier &name)
 
const IdentifierinferredName () const
 
unsigned parameterCount () const
 
unsigned functionLength () const
 
SourceParseMode parseMode () const
 
const SourceCodeclassSource () 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 ()
 
UnlinkedFunctionCodeBlockunlinkedCodeBlockFor (VM &, const SourceCode &, CodeSpecializationKind, DebuggerMode, ParserError &, SourceParseMode)
 
JS_EXPORT_PRIVATE FunctionExecutablelink (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 VariableEnvironmentparentScopeTDZVariables () const
 
bool isArrowFunction () const
 
JSC::DerivedContextType derivedContextType () const
 
const StringsourceURLDirective () const
 
const StringsourceMappingURLDirective () const
 
void setSourceURLDirective (const String &sourceURL)
 
void setSourceMappingURLDirective (const String &sourceMappingURL)
 
const Identifiername () const
 
const IdentifierecmaName () const
 
void setEcmaName (const Identifier &name)
 
const IdentifierinferredName () const
 
unsigned parameterCount () const
 
unsigned functionLength () const
 
SourceParseMode parseMode () const
 
const SourceCodeclassSource () 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 ()
 
UnlinkedFunctionCodeBlockunlinkedCodeBlockFor (VM &, const SourceCode &, CodeSpecializationKind, DebuggerMode, ParserError &, SourceParseMode)
 
JS_EXPORT_PRIVATE FunctionExecutablelink (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 VariableEnvironmentparentScopeTDZVariables () const
 
bool isArrowFunction () const
 
JSC::DerivedContextType derivedContextType () const
 
const StringsourceURLDirective () const
 
const StringsourceMappingURLDirective () const
 
void setSourceURLDirective (const String &sourceURL)
 
void setSourceMappingURLDirective (const String &sourceMappingURL)
 
- Public Member Functions inherited from JSC::JSCell
 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
 
Structurestructure () const
 
Structurestructure (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 JSObjectgetObject ()
 
const JSObjectgetObject () 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
 
JSObjecttoObject (ExecState *, JSGlobalObject *) const
 
void dump (PrintStream &) const
 
size_t estimatedSizeInBytes () const
 
const ClassInfoclassInfo (VM &) const
 
const MethodTablemethodTable () const
 
const MethodTablemethodTable (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
 
Structurestructure () const
 
Structurestructure (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 JSObjectgetObject ()
 
const JSObjectgetObject () 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
 
JSObjecttoObject (ExecState *, JSGlobalObject *) const
 
void dump (PrintStream &) const
 
size_t estimatedSizeInBytes () const
 
const ClassInfoclassInfo (VM &) const
 
const MethodTablemethodTable () const
 
const MethodTablemethodTable (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 &)
 
- Public Member Functions inherited from JSC::HeapCell
 HeapCell ()
 
void zap ()
 
bool isZapped () const
 
bool isLargeAllocation () const
 
CellContainer cellContainer () const
 
MarkedBlockmarkedBlock () const
 
LargeAllocationlargeAllocation () const
 
Heapheap () const
 
VMvm () 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
 
MarkedBlockmarkedBlock () const
 
LargeAllocationlargeAllocation () const
 
Heapheap () const
 
VMvm () const
 
size_t cellSize () const
 
AllocatorAttributes allocatorAttributes () const
 
DestructionMode destructionMode () const
 
Kind cellKind () const
 

Static Public Member Functions

static UnlinkedFunctionExecutablecreate (VM *vm, const SourceCode &source, FunctionMetadataNode *node, UnlinkedFunctionKind unlinkedFunctionKind, ConstructAbility constructAbility, JSParserScriptMode scriptMode, VariableEnvironment &parentScopeTDZVariables, DerivedContextType derivedContextType, SourceCode &&parentSourceOverride=SourceCode())
 
static UnlinkedFunctionExecutablefromGlobalCode (const Identifier &, ExecState &, const SourceCode &, JSObject *&exception, int overrideLineNumber)
 
static void destroy (JSCell *)
 
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto)
 
static UnlinkedFunctionExecutablecreate (VM *vm, const SourceCode &source, FunctionMetadataNode *node, UnlinkedFunctionKind unlinkedFunctionKind, ConstructAbility constructAbility, JSParserScriptMode scriptMode, VariableEnvironment &parentScopeTDZVariables, DerivedContextType derivedContextType, SourceCode &&parentSourceOverride=SourceCode())
 
static UnlinkedFunctionExecutablefromGlobalCode (const Identifier &, ExecState &, const SourceCode &, JSObject *&exception, int overrideLineNumber)
 
static void destroy (JSCell *)
 
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto)
 
- Static Public Member Functions inherited from JSC::JSCell
template<typename CellType >
static SubspacesubspaceFor (VM &)
 
static JSCellseenMultipleCalleeObjects ()
 
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 SubspacesubspaceFor (VM &)
 
static JSCellseenMultipleCalleeObjects ()
 
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 ()
 

Public Attributes

 DECLARE_EXPORT_INFO
 

Static Public Attributes

static const unsigned StructureFlags = Base::StructureFlags | StructureIsImmortal
 
static const bool needsDestruction = true
 
- Static Public Attributes inherited from JSC::JSCell
static const unsigned StructureFlags = 0
 
static const bool needsDestruction = false
 
static const TypedArrayType TypedArrayStorageType = NotTypedArray
 

Static Protected Member Functions

static void visitChildren (JSCell *, SlotVisitor &)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
- Static Protected Member Functions inherited from JSC::JSCell
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 ArrayBufferslowDownAndWasteMemory (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferViewgetTypedArrayImpl (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 ArrayBufferslowDownAndWasteMemory (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferViewgetTypedArrayImpl (JSArrayBufferView *)
 

Friends

class CodeCache
 
class VM
 

Additional Inherited Members

- Protected Member Functions inherited from JSC::JSCell
 JSCell (VM &, Structure *)
 
void finishCreation (VM &)
 
void finishCreation (VM &, Structure *, CreatingEarlyCellTag)
 
 JSCell (VM &, Structure *)
 
void finishCreation (VM &)
 
void finishCreation (VM &, Structure *, CreatingEarlyCellTag)
 

Member Typedef Documentation

◆ Base [1/2]

◆ Base [2/2]

Member Function Documentation

◆ classSource() [1/2]

const SourceCode& JSC::UnlinkedFunctionExecutable::classSource ( ) const
inline

◆ classSource() [2/2]

const SourceCode& JSC::UnlinkedFunctionExecutable::classSource ( ) const
inline

◆ clearCode() [1/2]

void JSC::UnlinkedFunctionExecutable::clearCode ( )
inline

◆ clearCode() [2/2]

void JSC::UnlinkedFunctionExecutable::clearCode ( )
inline

◆ constructAbility() [1/2]

ConstructAbility JSC::UnlinkedFunctionExecutable::constructAbility ( ) const
inline

◆ constructAbility() [2/2]

ConstructAbility JSC::UnlinkedFunctionExecutable::constructAbility ( ) const
inline

◆ constructorKind() [1/2]

ConstructorKind JSC::UnlinkedFunctionExecutable::constructorKind ( ) const
inline

◆ constructorKind() [2/2]

ConstructorKind JSC::UnlinkedFunctionExecutable::constructorKind ( ) const
inline

◆ create() [1/2]

static UnlinkedFunctionExecutable* JSC::UnlinkedFunctionExecutable::create ( VM vm,
const SourceCode source,
FunctionMetadataNode node,
UnlinkedFunctionKind  unlinkedFunctionKind,
ConstructAbility  constructAbility,
JSParserScriptMode  scriptMode,
VariableEnvironment parentScopeTDZVariables,
DerivedContextType  derivedContextType,
SourceCode &&  parentSourceOverride = SourceCode() 
)
inlinestatic

◆ create() [2/2]

static UnlinkedFunctionExecutable* JSC::UnlinkedFunctionExecutable::create ( VM vm,
const SourceCode source,
FunctionMetadataNode node,
UnlinkedFunctionKind  unlinkedFunctionKind,
ConstructAbility  constructAbility,
JSParserScriptMode  scriptMode,
VariableEnvironment parentScopeTDZVariables,
DerivedContextType  derivedContextType,
SourceCode &&  parentSourceOverride = SourceCode() 
)
inlinestatic

◆ createStructure() [1/2]

static Structure* JSC::UnlinkedFunctionExecutable::createStructure ( VM vm,
JSGlobalObject globalObject,
JSValue  proto 
)
inlinestatic

◆ createStructure() [2/2]

static Structure* JSC::UnlinkedFunctionExecutable::createStructure ( VM vm,
JSGlobalObject globalObject,
JSValue  proto 
)
inlinestatic

◆ derivedContextType() [1/2]

JSC::DerivedContextType JSC::UnlinkedFunctionExecutable::derivedContextType ( ) const
inline

◆ derivedContextType() [2/2]

JSC::DerivedContextType JSC::UnlinkedFunctionExecutable::derivedContextType ( ) const
inline

◆ destroy() [1/2]

void JSC::UnlinkedFunctionExecutable::destroy ( JSCell cell)
static

◆ destroy() [2/2]

static void JSC::UnlinkedFunctionExecutable::destroy ( JSCell )
static

◆ ecmaName() [1/2]

const Identifier& JSC::UnlinkedFunctionExecutable::ecmaName ( ) const
inline

◆ ecmaName() [2/2]

const Identifier& JSC::UnlinkedFunctionExecutable::ecmaName ( ) const
inline

◆ features() [1/2]

CodeFeatures JSC::UnlinkedFunctionExecutable::features ( ) const
inline

◆ features() [2/2]

CodeFeatures JSC::UnlinkedFunctionExecutable::features ( ) const
inline

◆ fromGlobalCode() [1/2]

static UnlinkedFunctionExecutable* JSC::UnlinkedFunctionExecutable::fromGlobalCode ( const Identifier ,
ExecState ,
const SourceCode ,
JSObject *&  exception,
int  overrideLineNumber 
)
static

◆ fromGlobalCode() [2/2]

UnlinkedFunctionExecutable * JSC::UnlinkedFunctionExecutable::fromGlobalCode ( const Identifier name,
ExecState exec,
const SourceCode source,
JSObject *&  exception,
int  overrideLineNumber 
)
static

◆ functionLength() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::functionLength ( ) const
inline

◆ functionLength() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::functionLength ( ) const
inline

◆ functionMode() [1/2]

FunctionMode JSC::UnlinkedFunctionExecutable::functionMode ( ) const
inline

◆ functionMode() [2/2]

FunctionMode JSC::UnlinkedFunctionExecutable::functionMode ( ) const
inline

◆ hasCapturedVariables() [1/2]

bool JSC::UnlinkedFunctionExecutable::hasCapturedVariables ( ) const
inline

◆ hasCapturedVariables() [2/2]

bool JSC::UnlinkedFunctionExecutable::hasCapturedVariables ( ) const
inline

◆ inferredName() [1/2]

const Identifier& JSC::UnlinkedFunctionExecutable::inferredName ( ) const
inline

◆ inferredName() [2/2]

const Identifier& JSC::UnlinkedFunctionExecutable::inferredName ( ) const
inline

◆ isArrowFunction() [1/2]

bool JSC::UnlinkedFunctionExecutable::isArrowFunction ( ) const
inline

◆ isArrowFunction() [2/2]

bool JSC::UnlinkedFunctionExecutable::isArrowFunction ( ) const
inline

◆ isBuiltinFunction() [1/2]

bool JSC::UnlinkedFunctionExecutable::isBuiltinFunction ( ) const
inline

◆ isBuiltinFunction() [2/2]

bool JSC::UnlinkedFunctionExecutable::isBuiltinFunction ( ) const
inline

◆ isClassConstructorFunction() [1/2]

bool JSC::UnlinkedFunctionExecutable::isClassConstructorFunction ( ) const
inline

◆ isClassConstructorFunction() [2/2]

bool JSC::UnlinkedFunctionExecutable::isClassConstructorFunction ( ) const
inline

◆ isInStrictContext() [1/2]

bool JSC::UnlinkedFunctionExecutable::isInStrictContext ( ) const
inline

◆ isInStrictContext() [2/2]

bool JSC::UnlinkedFunctionExecutable::isInStrictContext ( ) const
inline

◆ lineCount() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::lineCount ( ) const
inline

◆ lineCount() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::lineCount ( ) const
inline

◆ link() [1/2]

JS_EXPORT_PRIVATE FunctionExecutable* JSC::UnlinkedFunctionExecutable::link ( VM ,
const SourceCode parentSource,
std::optional< int >  overrideLineNumber = std::nullopt,
Intrinsic  = NoIntrinsic 
)

◆ link() [2/2]

FunctionExecutable * JSC::UnlinkedFunctionExecutable::link ( VM vm,
const SourceCode parentSource,
std::optional< int >  overrideLineNumber = std::nullopt,
Intrinsic  intrinsic = NoIntrinsic 
)

◆ linkedEndColumn() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::linkedEndColumn ( unsigned  startColumn) const
inline

◆ linkedEndColumn() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::linkedEndColumn ( unsigned  startColumn) const
inline

◆ linkedStartColumn() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::linkedStartColumn ( unsigned  parentStartColumn) const
inline

◆ linkedStartColumn() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::linkedStartColumn ( unsigned  parentStartColumn) const
inline

◆ name() [1/2]

const Identifier& JSC::UnlinkedFunctionExecutable::name ( ) const
inline

◆ name() [2/2]

const Identifier& JSC::UnlinkedFunctionExecutable::name ( ) const
inline

◆ parameterCount() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::parameterCount ( ) const
inline

◆ parameterCount() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::parameterCount ( ) const
inline

◆ parametersStartOffset() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::parametersStartOffset ( ) const
inline

◆ parametersStartOffset() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::parametersStartOffset ( ) const
inline

◆ parentScopeTDZVariables() [1/2]

const VariableEnvironment* JSC::UnlinkedFunctionExecutable::parentScopeTDZVariables ( ) const
inline

◆ parentScopeTDZVariables() [2/2]

const VariableEnvironment* JSC::UnlinkedFunctionExecutable::parentScopeTDZVariables ( ) const
inline

◆ parseMode() [1/2]

SourceParseMode JSC::UnlinkedFunctionExecutable::parseMode ( ) const
inline

◆ parseMode() [2/2]

SourceParseMode JSC::UnlinkedFunctionExecutable::parseMode ( ) const
inline

◆ recordParse() [1/2]

void JSC::UnlinkedFunctionExecutable::recordParse ( CodeFeatures  features,
bool  hasCapturedVariables 
)
inline

◆ recordParse() [2/2]

void JSC::UnlinkedFunctionExecutable::recordParse ( CodeFeatures  features,
bool  hasCapturedVariables 
)
inline

◆ scriptMode() [1/2]

JSParserScriptMode JSC::UnlinkedFunctionExecutable::scriptMode ( ) const
inline

◆ scriptMode() [2/2]

JSParserScriptMode JSC::UnlinkedFunctionExecutable::scriptMode ( ) const
inline

◆ setClassSource() [1/2]

void JSC::UnlinkedFunctionExecutable::setClassSource ( const SourceCode source)
inline

◆ setClassSource() [2/2]

void JSC::UnlinkedFunctionExecutable::setClassSource ( const SourceCode source)
inline

◆ setEcmaName() [1/2]

void JSC::UnlinkedFunctionExecutable::setEcmaName ( const Identifier name)
inline

◆ setEcmaName() [2/2]

void JSC::UnlinkedFunctionExecutable::setEcmaName ( const Identifier name)
inline

◆ setInvalidTypeProfilingOffsets() [1/2]

void JSC::UnlinkedFunctionExecutable::setInvalidTypeProfilingOffsets ( )

◆ setInvalidTypeProfilingOffsets() [2/2]

void JSC::UnlinkedFunctionExecutable::setInvalidTypeProfilingOffsets ( )

◆ setSourceMappingURLDirective() [1/2]

void JSC::UnlinkedFunctionExecutable::setSourceMappingURLDirective ( const String sourceMappingURL)
inline

◆ setSourceMappingURLDirective() [2/2]

void JSC::UnlinkedFunctionExecutable::setSourceMappingURLDirective ( const String sourceMappingURL)
inline

◆ setSourceURLDirective() [1/2]

void JSC::UnlinkedFunctionExecutable::setSourceURLDirective ( const String sourceURL)
inline

◆ setSourceURLDirective() [2/2]

void JSC::UnlinkedFunctionExecutable::setSourceURLDirective ( const String sourceURL)
inline

◆ sourceLength() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::sourceLength ( )
inline

◆ sourceLength() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::sourceLength ( )
inline

◆ sourceMappingURLDirective() [1/2]

const String& JSC::UnlinkedFunctionExecutable::sourceMappingURLDirective ( ) const
inline

◆ sourceMappingURLDirective() [2/2]

const String& JSC::UnlinkedFunctionExecutable::sourceMappingURLDirective ( ) const
inline

◆ sourceURLDirective() [1/2]

const String& JSC::UnlinkedFunctionExecutable::sourceURLDirective ( ) const
inline

◆ sourceURLDirective() [2/2]

const String& JSC::UnlinkedFunctionExecutable::sourceURLDirective ( ) const
inline

◆ startOffset() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::startOffset ( ) const
inline

◆ startOffset() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::startOffset ( ) const
inline

◆ superBinding() [1/2]

SuperBinding JSC::UnlinkedFunctionExecutable::superBinding ( ) const
inline

◆ superBinding() [2/2]

SuperBinding JSC::UnlinkedFunctionExecutable::superBinding ( ) const
inline

◆ typeProfilingEndOffset() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::typeProfilingEndOffset ( ) const
inline

◆ typeProfilingEndOffset() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::typeProfilingEndOffset ( ) const
inline

◆ typeProfilingStartOffset() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::typeProfilingStartOffset ( ) const
inline

◆ typeProfilingStartOffset() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::typeProfilingStartOffset ( ) const
inline

◆ unlinkedBodyEndColumn() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::unlinkedBodyEndColumn ( ) const
inline

◆ unlinkedBodyEndColumn() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::unlinkedBodyEndColumn ( ) const
inline

◆ unlinkedBodyStartColumn() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::unlinkedBodyStartColumn ( ) const
inline

◆ unlinkedBodyStartColumn() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::unlinkedBodyStartColumn ( ) const
inline

◆ unlinkedCodeBlockFor() [1/2]

UnlinkedFunctionCodeBlock* JSC::UnlinkedFunctionExecutable::unlinkedCodeBlockFor ( VM ,
const SourceCode ,
CodeSpecializationKind  ,
DebuggerMode  ,
ParserError ,
SourceParseMode   
)

◆ unlinkedCodeBlockFor() [2/2]

UnlinkedFunctionCodeBlock * JSC::UnlinkedFunctionExecutable::unlinkedCodeBlockFor ( VM vm,
const SourceCode source,
CodeSpecializationKind  specializationKind,
DebuggerMode  debuggerMode,
ParserError error,
SourceParseMode  parseMode 
)

◆ unlinkedFunctionNameStart() [1/2]

unsigned JSC::UnlinkedFunctionExecutable::unlinkedFunctionNameStart ( ) const
inline

◆ unlinkedFunctionNameStart() [2/2]

unsigned JSC::UnlinkedFunctionExecutable::unlinkedFunctionNameStart ( ) const
inline

◆ visitChildren() [1/2]

static void JSC::UnlinkedFunctionExecutable::visitChildren ( JSCell ,
SlotVisitor  
)
staticprotected

◆ visitChildren() [2/2]

void JSC::UnlinkedFunctionExecutable::visitChildren ( JSCell cell,
SlotVisitor visitor 
)
staticprotected

Friends And Related Function Documentation

◆ CodeCache

CodeCache
friend

◆ VM

VM
friend

Member Data Documentation

◆ DECLARE_EXPORT_INFO

JSC::UnlinkedFunctionExecutable::DECLARE_EXPORT_INFO

◆ needsDestruction

static const bool JSC::UnlinkedFunctionExecutable::needsDestruction = true
static

◆ StructureFlags

static const unsigned JSC::UnlinkedFunctionExecutable::StructureFlags = Base::StructureFlags | StructureIsImmortal
static

The documentation for this class was generated from the following files: