README
Exposes and documents v8 runtime functions.
Status
MAD SCIENCE
Installation
npm install v8-runtime-functions
Table of Contents generated with DocToc
- API
- _Arguments(arg1)
- _ArgumentsLength()
- _ClassOf(arg1)
- _FastAsciiArrayJoin(arg1, arg2)
- _GeneratorThrow(arg1, arg2)
- _GetCachedArrayIndex(arg1)
- _GetFromCache(arg1, arg2)
- _HasCachedArrayIndex(arg1)
- _IsArray(arg1)
- _IsConstructCall()
- _IsFunction(arg1)
- _IsNonNegativeSmi(arg1)
- _IsObject(arg1)
- _IsRegExp(arg1)
- _IsSmi(arg1)
- _IsSpecObject(arg1)
- _IsStringWrapperSafeForDefaultValueOf(arg1)
- _IsUndetectableObject(arg1)
- _MathPow(arg1, arg2)
- _NumberToString(arg1)
- _ObjectEquals(arg1, arg2)
- _RegExpConstructResult(arg1, arg2, arg3)
- _RegExpExec(arg1, arg2, arg3, arg4)
- _SetValueOf(arg1, arg2)
- _StringAdd(arg1, arg2)
- _StringCharAt(arg1, arg2)
- _StringCharCodeAt(arg1, arg2)
- _StringCharFromCode(arg1)
- _StringCompare(arg1, arg2)
- _SubString(arg1, arg2, arg3)
- _ValueOf(arg1)
- Abort(arg1)
- AbortJS(arg1)
- Apply(arg1, arg2, arg3, arg4, arg5)
- ArrayBufferGetByteLength(arg1)
- ArrayBufferInitialize(arg1, arg2)
- ArrayBufferIsView(arg1)
- ArrayBufferNeuter(arg1)
- ArrayBufferSliceImpl(arg1, arg2, arg3)
- ArrayBufferViewGetByteLength(arg1)
- ArrayBufferViewGetByteOffset(arg1)
- ArrayConcat(arg1)
- BasicJSONStringify(arg1)
- BoundFunctionGetBindings(arg1)
- Break()
- ChangeBreakOnException(arg1, arg2)
- CharFromCode(arg1)
- CheckExecutionState(arg1)
- CheckIsBootstrapping()
- ClearBreakPoint(arg1)
- ClearFunctionTypeFeedback(arg1)
- ClearStepping()
- CollectGarbage(arg1)
- CollectStackTrace(arg1, arg2, arg3)
- CompileForOnStackReplacement(arg1)
- CompileString(arg1, arg2)
- ConstructDouble(arg1, arg2)
- CreateApiFunction(arg1, arg2)
- CreateGlobalPrivateSymbol(arg1)
- CreateJSFunctionProxy(arg1, arg2, arg3, arg4)
- CreateJSProxy(arg1, arg2)
- CreatePrivateSymbol(arg1)
- CreateSymbol(arg1)
- DataViewGetBuffer(arg1)
- DataViewGetFloat32(arg1, arg2, arg3)
- DataViewGetFloat64(arg1, arg2, arg3)
- DataViewGetInt8(arg1, arg2, arg3)
- DataViewGetInt16(arg1, arg2, arg3)
- DataViewGetInt32(arg1, arg2, arg3)
- DataViewGetUint8(arg1, arg2, arg3)
- DataViewGetUint16(arg1, arg2, arg3)
- DataViewGetUint32(arg1, arg2, arg3)
- DataViewInitialize(arg1, arg2, arg3, arg4)
- DataViewSetFloat32(arg1, arg2, arg3, arg4)
- DataViewSetFloat64(arg1, arg2, arg3, arg4)
- DataViewSetInt8(arg1, arg2, arg3, arg4)
- DataViewSetInt16(arg1, arg2, arg3, arg4)
- DataViewSetInt32(arg1, arg2, arg3, arg4)
- DataViewSetUint8(arg1, arg2, arg3, arg4)
- DataViewSetUint16(arg1, arg2, arg3, arg4)
- DataViewSetUint32(arg1, arg2, arg3, arg4)
- DateCacheVersion()
- DateCurrentTime()
- DateLocalTimezone(arg1)
- DateMakeDay(arg1, arg2)
- DateParseString(arg1, arg2)
- DateSetValue(arg1, arg2, arg3)
- DateToUTC(arg1)
- DebugBreak()
- DebugBreakInOptimizedCode()
- DebugCallbackSupportsStepping(arg1)
- DebugConstructedBy(arg1, arg2)
- DebugDisassembleConstructor(arg1)
- DebugDisassembleFunction(arg1)
- DebugEvaluate(arg1, arg2, arg3, arg4, arg5, arg6)
- DebugEvaluateGlobal(arg1, arg2, arg3, arg4)
- DebugGetLoadedScripts()
- DebugGetProperty(arg1, arg2)
- DebugGetPropertyDetails(arg1, arg2)
- DebugGetPrototype(arg1)
- DebugIndexedInterceptorElementValue(arg1, arg2)
- DebugNamedInterceptorPropertyValue(arg1, arg2)
- DebugPrepareStepInIfStepping(arg1)
- DebugPrint(arg1)
- DebugPrintScopes()
- DebugPromiseHandleEpilogue()
- DebugPromiseHandlePrologue(arg1)
- DebugPropertyAttributesFromDetails(arg1)
- DebugPropertyIndexFromDetails(arg1)
- DebugPropertyTypeFromDetails(arg1)
- DebugReferencedBy(arg1, arg2, arg3)
- DebugSetScriptSource(arg1, arg2)
- DebugTrace()
- DefineOrRedefineAccessorProperty(arg1, arg2, arg3, arg4, arg5)
- DefineOrRedefineDataProperty(arg1, arg2, arg3, arg4)
- DeleteProperty(arg1, arg2, arg3)
- DeoptimizeFunction(arg1)
- DisableAccessChecks(arg1)
- DoubleHi(arg1)
- DoubleLo(arg1)
- EnableAccessChecks(arg1)
- EstimateNumberOfElements(arg1)
- ExecuteInDebugContext(arg1, arg2)
- FinishArrayPrototypeSetup(arg1)
- Fix(arg1)
- FlattenString(arg1)
- FunctionBindArguments(arg1, arg2, arg3, arg4)
- FunctionGetInferredName(arg1)
- FunctionGetName(arg1)
- FunctionGetPositionForOffset(arg1, arg2)
- FunctionGetScript(arg1)
- FunctionGetScriptSourcePosition(arg1)
- FunctionGetSourceCode(arg1)
- FunctionIsAPIFunction(arg1)
- FunctionIsBuiltin(arg1)
- FunctionIsGenerator(arg1)
- FunctionMarkNameShouldPrintAsAnonymous(arg1)
- FunctionNameShouldPrintAsAnonymous(arg1)
- FunctionRemovePrototype(arg1)
- FunctionSetInstanceClassName(arg1, arg2)
- FunctionSetLength(arg1, arg2)
- FunctionSetName(arg1, arg2)
- FunctionSetPrototype(arg1, arg2)
- FunctionSetReadOnlyPrototype(arg1)
- GeneratorNext(arg1, arg2)
- GetAllScopesDetails(arg1, arg2, arg3, arg4)
- GetAndClearOverflowedStackTrace(arg1)
- GetArgumentsProperty(arg1)
- GetArrayKeys(arg1, arg2)
- GetBreakLocations(arg1, arg2)
- GetCallTrap(arg1)
- GetConstructorDelegate(arg1)
- GetConstructTrap(arg1)
- GetDataProperty(arg1, arg2)
- GetDefaultReceiver(arg1)
- GetFrameCount(arg1)
- GetFrameDetails(arg1, arg2)
- GetFunctionCodePositionFromSource(arg1, arg2)
- GetFunctionDelegate(arg1)
- GetFunctionScopeCount(arg1)
- GetFunctionScopeDetails(arg1, arg2)
- GetHandler(arg1)
- GetHeapUsage()
- GetIndexedInterceptorElementNames(arg1)
- GetInterceptorInfo(arg1)
- GetLocalElementNames(arg1)
- GetLocalPropertyNames(arg1, arg2)
- GetMicrotaskState()
- GetNamedInterceptorPropertyNames(arg1)
- GetObservationState()
- GetOptimizationCount(arg1)
- GetOwnProperty(arg1, arg2)
- GetProperty(arg1, arg2)
- GetPropertyNames(arg1)
- GetPropertyNamesFast(arg1)
- GetPrototype(arg1)
- GetRootNaN()
- GetScopeCount(arg1, arg2)
- GetScopeDetails(arg1, arg2, arg3, arg4)
- GetScript(arg1)
- GetStepInPositions(arg1, arg2)
- GetTemplateField(arg1, arg2)
- GetThreadCount(arg1)
- GetThreadDetails(arg1, arg2)
- GetV8Version()
- GlobalPrint(arg1)
- GlobalReceiver(arg1)
- HasDictionaryElements(arg1)
- HasElement(arg1, arg2)
- HasExternalArrayElements(arg1)
- HasExternalFloat32Elements(arg1)
- HasExternalFloat64Elements(arg1)
- HasExternalInt8Elements(arg1)
- HasExternalInt16Elements(arg1)
- HasExternalInt32Elements(arg1)
- HasExternalUint8ClampedElements(arg1)
- HasExternalUint8Elements(arg1)
- HasExternalUint16Elements(arg1)
- HasExternalUint32Elements(arg1)
- HasFastDoubleElements(arg1)
- HasFastHoleyElements(arg1)
- HasFastObjectElements(arg1)
- HasFastProperties(arg1)
- HasFastSmiElements(arg1)
- HasFastSmiOrObjectElements(arg1)
- HasFixedFloat32Elements(arg1)
- HasFixedFloat64Elements(arg1)
- HasFixedInt8Elements(arg1)
- HasFixedInt16Elements(arg1)
- HasFixedInt32Elements(arg1)
- HasFixedUint8ClampedElements(arg1)
- HasFixedUint8Elements(arg1)
- HasFixedUint16Elements(arg1)
- HasFixedUint32Elements(arg1)
- HasLocalProperty(arg1, arg2)
- HasProperty(arg1, arg2)
- HasSloppyArgumentsElements(arg1)
- HaveSameMap(arg1, arg2)
- IS_VAR(arg1)
- IsAttachedGlobal(arg1)
- IsBreakOnException(arg1)
- IsConcurrentRecompilationSupported()
- IsExtensible(arg1)
- IsInPrototypeChain(arg1, arg2)
- IsJSFunctionProxy(arg1)
- IsJSGlobalProxy(arg1)
- IsJSModule(arg1)
- IsJSProxy(arg1)
- IsMinusZero(arg1)
- IsObserved(arg1)
- IsPropertyEnumerable(arg1, arg2)
- IsSloppyModeFunction(arg1)
- IsTemplate(arg1)
- IsValidSmi(arg1)
- KeyedGetProperty(arg1, arg2)
- LiveEditCheckAndDropActivations(arg1, arg2)
- LiveEditCompareStrings(arg1, arg2)
- LiveEditFindSharedFunctionInfosForScript(arg1)
- LiveEditFunctionSetScript(arg1, arg2)
- LiveEditFunctionSourceUpdated(arg1)
- LiveEditGatherCompileInfo(arg1, arg2)
- LiveEditPatchFunctionPositions(arg1, arg2)
- LiveEditReplaceFunctionCode(arg1, arg2)
- LiveEditReplaceRefToNestedFunction(arg1, arg2, arg3)
- LiveEditReplaceScript(arg1, arg2, arg3)
- LiveEditRestartFrame(arg1, arg2)
- LoadMutableDouble(arg1, arg2)
- LocalKeys(arg1)
- LookupAccessor(arg1, arg2, arg3)
- MapClear(arg1)
- MapCreateIterator(arg1, arg2)
- MapDelete(arg1, arg2)
- MapGet(arg1, arg2)
- MapGetSize(arg1)
- MapHas(arg1, arg2)
- MapInitialize(arg1)
- MapIteratorClose(arg1)
- MapIteratorNext(arg1)
- MapSet(arg1, arg2, arg3)
- MathAcos(arg1)
- MathAsin(arg1)
- MathAtan(arg1)
- MathAtan2(arg1, arg2)
- MathExp(arg1)
- MathFloor(arg1)
- MathFround(arg1)
- MathLog(arg1)
- MathSqrt(arg1)
- MaxSmi()
- MessageGetScript(arg1)
- MessageGetStartPosition(arg1)
- MoveArrayContents(arg1, arg2)
- NeverOptimizeFunction(arg1)
- NewObjectFromBound(arg1)
- NewString(arg1, arg2)
- NewStringWrapper(arg1)
- NewSymbolWrapper(arg1)
- NotifyContextDisposed()
- NumberAdd(arg1, arg2)
- NumberAnd(arg1, arg2)
- NumberCompare(arg1, arg2, arg3)
- NumberDiv(arg1, arg2)
- NumberEquals(arg1, arg2)
- NumberImul(arg1, arg2)
- NumberMod(arg1, arg2)
- NumberMul(arg1, arg2)
- NumberOr(arg1, arg2)
- NumberSar(arg1, arg2)
- NumberShl(arg1, arg2)
- NumberShr(arg1, arg2)
- NumberSub(arg1, arg2)
- NumberToExponential(arg1, arg2)
- NumberToFixed(arg1, arg2)
- NumberToInteger(arg1)
- NumberToIntegerMapMinusZero(arg1)
- NumberToJSInt32(arg1)
- NumberToJSUint32(arg1)
- NumberToPrecision(arg1, arg2)
- NumberToRadixString(arg1, arg2)
- NumberUnaryMinus(arg1)
- NumberXor(arg1, arg2)
- ObjectFreeze(arg1)
- ObjectGetNotifierInObjectContext(arg1)
- ObjectNotifierPerformChangeInObjectContext(arg1, arg2, arg3)
- ObjectObserveInObjectContext(arg1, arg2, arg3)
- ObjectWasCreatedInCurrentOrigin(arg1)
- ObservationWeakMapCreate()
- ObserverObjectAndRecordHaveSameOrigin(arg1, arg2, arg3)
- OneByteSeqStringSetChar(arg1, arg2, arg3)
- OptimizeObjectForAddingMultipleProperties(arg1, arg2)
- ParseJson(arg1)
- PrepareStep(arg1, arg2, arg3, arg4)
- PreventExtensions(arg1)
- PushIfAbsent(arg1, arg2)
- QuoteJSONString(arg1)
- RegExpCompile(arg1, arg2, arg3)
- RegExpExecMultiple(arg1, arg2, arg3, arg4)
- RegExpInitializeObject(arg1, arg2, arg3, arg4, arg5)
- RemoveArrayHoles(arg1, arg2)
- RoundNumber(arg1)
- RunMicrotasks()
- RunningInSimulator()
- SetAccessorProperty(arg1, arg2, arg3, arg4, arg5, arg6)
- SetAdd(arg1, arg2)
- SetClear(arg1)
- SetCode(arg1, arg2)
- SetCreateIterator(arg1, arg2)
- SetDebugEventListener(arg1, arg2)
- SetDelete(arg1, arg2)
- SetDisableBreak(arg1)
- SetExpectedNumberOfProperties(arg1, arg2)
- SetFlags(arg1)
- SetFunctionBreakPoint(arg1, arg2, arg3)
- SetGetSize(arg1)
- SetHas(arg1, arg2)
- SetHiddenProperty(arg1, arg2, arg3)
- SetInitialize(arg1)
- SetInlineBuiltinFlag(arg1)
- SetIsObserved(arg1)
- SetIteratorClose(arg1)
- SetIteratorNext(arg1)
- SetMicrotaskPending(arg1)
- SetNativeFlag(arg1)
- SetPrototype(arg1, arg2)
- SetScopeVariableValue(arg1, arg2, arg3, arg4, arg5, arg6)
- SetScriptBreakPoint(arg1, arg2, arg3, arg4)
- SmiLexicographicCompare(arg1, arg2)
- SparseJoinWithSeparator(arg1, arg2, arg3)
- SpecialArrayFunctions(arg1)
- StoreArrayLiteralElement(arg1, arg2, arg3, arg4, arg5)
- StringBuilderConcat(arg1, arg2, arg3)
- StringBuilderJoin(arg1, arg2, arg3)
- StringEquals(arg1, arg2)
- StringIndexOf(arg1, arg2, arg3)
- StringLastIndexOf(arg1, arg2, arg3)
- StringLocaleCompare(arg1, arg2)
- StringMatch(arg1, arg2, arg3)
- StringParseFloat(arg1)
- StringParseInt(arg1, arg2)
- StringReplaceGlobalRegExpWithString(arg1, arg2, arg3, arg4)
- StringReplaceOneCharWithString(arg1, arg2, arg3)
- StringSplit(arg1, arg2, arg3)
- StringToArray(arg1, arg2)
- StringToLowerCase(arg1)
- StringToNumber(arg1)
- StringToUpperCase(arg1)
- StringTrim(arg1, arg2, arg3)
- SymbolDescription(arg1)
- SymbolIsPrivate(arg1)
- SymbolRegistry()
- SystemBreak()
- ToBool(arg1)
- ToFastProperties(arg1)
- TraceEnter()
- TraceExit(arg1)
- TransitionElementsKind(arg1, arg2)
- TruncateString(arg1, arg2)
- TryMigrateInstance(arg1)
- TwoByteSeqStringSetChar(arg1, arg2, arg3)
- TypedArrayGetBuffer(arg1)
- TypedArrayGetLength(arg1)
- TypedArrayInitialize(arg1, arg2, arg3, arg4, arg5)
- TypedArrayInitializeFromArrayLike(arg1, arg2, arg3, arg4)
- TypedArrayMaxSizeInHeap()
- TypedArraySetFastCases(arg1, arg2, arg3)
- Typeof(arg1)
- UnblockConcurrentRecompilation()
- URIEscape(arg1)
- URIUnescape(arg1)
- WeakCollectionDelete(arg1, arg2)
- WeakCollectionGet(arg1, arg2)
- WeakCollectionHas(arg1, arg2)
- WeakCollectionInitialize(arg1)
- WeakCollectionSet(arg1, arg2, arg3)
- License
API
-
_Arguments(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_ArgumentsLength()
-
Undocumented
- Source:
Returns:
-
_ClassOf(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_FastAsciiArrayJoin(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_GeneratorThrow(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_GetCachedArrayIndex(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_GetFromCache(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_HasCachedArrayIndex(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsArray(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsConstructCall()
-
Undocumented
- Source:
Returns:
-
_IsFunction(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsNonNegativeSmi(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsObject(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsRegExp(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsSmi(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsSpecObject(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsStringWrapperSafeForDefaultValueOf(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_IsUndetectableObject(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_MathPow(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_NumberToString(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_ObjectEquals(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_RegExpConstructResult(arg1, arg2, arg3)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
arg3
- Source:
Returns:
-
_RegExpExec(arg1, arg2, arg3, arg4)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
arg3
arg4
- Source:
Returns:
-
_SetValueOf(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_StringAdd(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_StringCharAt(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_StringCharCodeAt(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_StringCharFromCode(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
_StringCompare(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
_SubString(arg1, arg2, arg3)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
arg3
- Source:
Returns:
-
_ValueOf(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
Abort(arg1)
-
Undocumented BREAKS due to immediate execution
Parameters:
Name Type Description arg1
- Source:
Returns:
-
AbortJS(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
Apply(arg1, arg2, arg3, arg4, arg5)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
arg3
arg4
arg5
- Source:
Returns:
-
ArrayBufferGetByteLength(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
ArrayBufferInitialize(arg1, arg2)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
- Source:
Returns:
-
ArrayBufferIsView(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
ArrayBufferNeuter(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
ArrayBufferSliceImpl(arg1, arg2, arg3)
-
Undocumented
Parameters:
Name Type Description arg1
arg2
arg3
- Source:
Returns:
-
ArrayBufferViewGetByteLength(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
ArrayBufferViewGetByteOffset(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
ArrayConcat(arg1)
-
Undocumented
Parameters:
Name Type Description arg1
- Source:
Returns:
-
BasicJSONStringify(arg1)
-
Undocumented
Parameters:
Name Type Description arg1