|
Oolite
|
import "OOJavaScriptEngine.h"import "OOJSQuaternion.h"import "OOJSScript.h"import "OOJSVector.h"#include <time.h>Go to the source code of this file.
Macros | |
| #define | OOJS_RUNTIME_SIZE_MiB 256 |
| #define | OOJS_TIME_LIMIT (1) |
Functions | |
| static int | InterruptHandler (OOJSInterruptHandlerArg *arg, void *opaque) |
| static JSValue | GlobalLog (OOJS_NATIVE_ARGS) |
| JSAtom | OOJSIDFromString (NSString *string) |
| JSValue | OOJSNativeFailure (JSContext *context) |
| NSString * | OOJSWrapScriptSource (NSString *source) |
| static double | MonotonicTime (void) |
| void | OOJSStartTimeLimiterWithTimeLimit (OOTimeDelta limit) |
| void | OOJSStopTimeLimiter (void) |
| void | OOJSPauseTimeLimiter (void) |
| void | OOJSResumeTimeLimiter (void) |
| static BOOL | GetLocationFromStack (NSString *stack, NSString **outFile, unsigned *outLine) |
| static NSString * | StackOfValue (JSContext *context, JSValueConst value) |
| static void | LogProblem (NSString *severity, NSString *errorName, NSString *message, NSString *stack) |
| void | OOJSReportPendingException (JSContext *context) |
| static NSString * | CallerPrefix (NSString *scriptClass, NSString *function) |
| void | OOJSReportError (JSContext *context, NSString *format,...) |
| void | OOJSReportErrorForCaller (JSContext *context, NSString *scriptClass, NSString *function, NSString *format,...) |
| void | OOJSReportErrorWithArguments (JSContext *context, NSString *format, va_list args) |
| void | OOJSReportWrappedException (JSContext *context, id exception) |
| void | OOJSReportWarning (JSContext *context, NSString *format,...) |
| void | OOJSReportWarningForCaller (JSContext *context, NSString *scriptClass, NSString *function, NSString *format,...) |
| void | OOJSReportWarningWithArguments (JSContext *context, NSString *format, va_list args) |
| static NSString * | PropertyNameForMagic (int magic, const JSCFunctionListEntry *list, size_t count) |
| void | OOJSReportBadPropertySelector (JSContext *context, JSValueConst thisObj, int magic, const JSCFunctionListEntry *list, size_t count) |
| void | OOJSReportBadPropertyValue (JSContext *context, JSValueConst thisObj, int magic, const JSCFunctionListEntry *list, size_t count, JSValueConst value) |
| void | OOJSReportBadArguments (JSContext *context, NSString *scriptClass, NSString *function, int argc, JSValueConst *argv, NSString *message, NSString *expectedArgsDescription) |
| BOOL | OOJSArgumentListGetNumber (JSContext *context, NSString *scriptClass, NSString *function, int argc, JSValueConst *argv, double *outNumber, int *outConsumed) |
| BOOL | OOJSArgumentListGetNumberNoError (JSContext *context, int argc, JSValueConst *argv, double *outNumber, int *outConsumed) |
| NSString * | OOStringFromJSValueEvenIfNull (JSContext *context, JSValueConst value) |
| NSString * | OOStringFromJSValue (JSContext *context, JSValueConst value) |
| NSString * | OOJSClassNameOfValue (JSContext *context, JSValueConst value) |
| static NSString * | DescribeValue (JSContext *context, JSValueConst value, BOOL abbreviateObjects, BOOL recursing) |
| NSString * | OOJSDescribeValue (JSContext *context, JSValueConst value, BOOL abbreviateObjects) |
Variables | |
| static OOJavaScriptEngine * | sSharedEngine = nil |
| JSContext * | gOOJSMainThreadContext = NULL |
| static const JSCFunctionListEntry | sGlobalMethods [] |
| static unsigned | sLimiterStartDepth |
| static int | sLimiterPauseDepth |
| static double | sLimiterStart |
| static double | sLimiterPauseStart |
| static double | sLimiterTimeLimit |
| #define OOJS_RUNTIME_SIZE_MiB 256 |
Definition at line 37 of file OOJavaScriptEnginePoc.m.
| #define OOJS_TIME_LIMIT (1) |
Definition at line 38 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 420 of file OOJavaScriptEnginePoc.m.
References nil.
Referenced by OOJSReportErrorForCaller(), and OOJSReportWarningForCaller().
|
static |
Definition at line 641 of file OOJavaScriptEnginePoc.m.
References count, DescribeValue(), MIN, nil, OOStringFromJSValue(), and OOStringFromJSValueEvenIfNull().
Referenced by DescribeValue(), and OOJSDescribeValue().
|
static |
Definition at line 340 of file OOJavaScriptEnginePoc.m.
References count.
Referenced by LogProblem().
|
static |
Definition at line 219 of file OOJavaScriptEnginePoc.m.
References OOJavaScriptEngine::context, EXPECT_NOT, nil, OOJS_ARGV, OOJS_BEGIN_FULL_NATIVE, OOJS_END_FULL_NATIVE, OOJS_NATIVE_ARGS, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_VOID, OOLog, OOLogWillDisplayMessagesInClass(), OOStringFromJSValue(), and OOStringFromJSValueEvenIfNull().
|
static |
Definition at line 319 of file OOJavaScriptEnginePoc.m.
References EXPECT, MonotonicTime(), OOLogERR, sLimiterPauseDepth, sLimiterStart, sLimiterStartDepth, and sLimiterTimeLimit.
|
static |
Definition at line 375 of file OOJavaScriptEnginePoc.m.
References OOJSScript::currentlyRunningScript, OOJSScript::displayName, GetLocationFromStack(), nil, OOLog, and OOLogWillDisplayMessagesInClass().
Referenced by OOJSReportPendingException(), and OOJSReportWarningWithArguments().
|
static |
Definition at line 265 of file OOJavaScriptEnginePoc.m.
Referenced by InterruptHandler(), OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), and OOJSStartTimeLimiterWithTimeLimit().
| BOOL OOJSArgumentListGetNumber | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| int | argc, | ||
| JSValueConst * | argv, | ||
| double * | outNumber, | ||
| int * | outConsumed ) |
Definition at line 568 of file OOJavaScriptEnginePoc.m.
References OOJSArgumentListGetNumberNoError(), OOJSArgumentListGetNumberNoError(), OOJSReportBadArguments(), and OOJSReportBadArguments().
| BOOL OOJSArgumentListGetNumberNoError | ( | JSContext * | context, |
| int | argc, | ||
| JSValueConst * | argv, | ||
| double * | outNumber, | ||
| int * | outConsumed ) |
Definition at line 579 of file OOJavaScriptEnginePoc.m.
References EXPECT_NOT, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by OOJSArgumentListGetNumber().
| NSString * OOJSClassNameOfValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 628 of file OOJavaScriptEnginePoc.m.
References OOJSClassName(), OOStringFromJSValue(), and OOStringFromJSValue().
Referenced by ManifestSetProperty(), ManifestSetPropertyExotic(), OOJSReportBadPropertySelector(), and OOJSReportBadPropertyValue().
| NSString * OOJSDescribeValue | ( | JSContext * | context, |
| JSValueConst | value, | ||
| BOOL | abbreviateObjects ) |
Definition at line 709 of file OOJavaScriptEnginePoc.m.
References DescribeValue(), and DescribeValue().
Referenced by OOJSReportBadPropertyValue().
| JSAtom OOJSIDFromString | ( | NSString * | string | ) |
Definition at line 191 of file OOJavaScriptEnginePoc.m.
References EXPECT, EXPECT_NOT, nil, OOJSAcquireContext(), and OOJSRelinquishContext().
Referenced by JSObjectFromNSDictionary(), and RecordSharedProperties().
| JSValue OOJSNativeFailure | ( | JSContext * | context | ) |
Definition at line 197 of file OOJavaScriptEnginePoc.m.
References OOJavaScriptEngine::context.
Referenced by DockGetProperty(), DockIsQueued(), DockSetProperty(), EquipmentInfoGetProperty(), EquipmentInfoSetProperty(), EquipmentInfoStaticInfoForKey(), ExhaustPlumeGetProperty(), ExhaustPlumeSetProperty(), FlasherGetProperty(), FlasherSetProperty(), FontMeasureString(), PlanetGetProperty(), PlanetSetProperty(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerEndScenario(), PlayerGetProperty(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerSetProperty(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelDockingRequest(), PlayerShipEngageAutopilotToStation(), PlayerShipGetProperty(), PlayerShipHideHUDSelector(), PlayerShipRemoveAllCargo(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipResetCustomView(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetProperty(), PlayerShipShowHUDSelector(), PlayerShipUseSpecialCargo(), RemoveOrExplodeShip(), ShipAddCargoEntity(), ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAdjustCargo(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCheckScanner(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDumpCargo(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEnterWormhole(), ShipEquipmentStatus(), ShipExitAI(), ShipExitSystem(), ShipGetProperty(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupContainsShip(), ShipGroupGetProperty(), ShipGroupRemoveShip(), ShipGroupSetProperty(), ShipHasEquipmentProviding(), ShipHasRole(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipReactToAIMessage(), ShipRemove(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRemoveEquipment(), ShipRunLegacyScriptActions(), ShipSendAIMessage(), ShipSetAI(), ShipSetBounty(), ShipSetCargo(), ShipSetCargoType(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetMaterials(), ShipSetProperty(), ShipSetScript(), ShipSetShaders(), ShipSpawn(), ShipStaticKeysForRole(), ShipStaticRoleIsInCategory(), ShipStaticSetShipDataForKey(), ShipStaticShipDataForKey(), ShipSwitchAI(), ShipThreatAssessment(), SoundGetProperty(), SoundSourceGetProperty(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourceSetProperty(), SoundSourceStop(), SoundStaticLoad(), SoundStaticPlayMusic(), SoundStaticStopMusic(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationCanDockShip(), StationGetProperty(), StationLaunchShipWithRole(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetProperty(), SunCancelNova(), SunGetProperty(), SunGoNova(), SystemAddMoon(), SystemAddPlanet(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemGetProperty(), SystemInfoDistanceToSystem(), SystemInfoGetProperty(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSetPropertyMethod(), SystemInfoStaticFilteredSystems(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLocationFromCode(), SystemSetPopulator(), SystemSetProperty(), SystemSetWaypoint(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemStaticInfoForSystem(), SystemStaticSystemIDForName(), SystemStaticSystemNameForID(), TimerConstruct(), TimerGetProperty(), TimerSetProperty(), TimerStart(), TimerStop(), VectorFromCoordinateSystem(), VectorToCoordinateSystem(), VisualEffectGetProperty(), VisualEffectScale(), VisualEffectSetMaterials(), VisualEffectSetProperty(), VisualEffectSetShaders(), WaypointGetProperty(), WaypointSetProperty(), and WormholeGetProperty().
| void OOJSPauseTimeLimiter | ( | void | ) |
Definition at line 303 of file OOJavaScriptEnginePoc.m.
References MonotonicTime(), OODisposeHighResTime, OOGetHighResTime, sLimiterPauseDepth, and sLimiterPauseStart.
Referenced by Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, Universe::findOneEntityMatchingPredicate:parameter:, JSFunctionPredicate(), MissionRunScreen(), MissionRunScreen(), OOJSReportPendingException(), OOJSReportWarningWithArguments(), PlanetSetProperty(), PlanetSetProperty(), ReportJSError(), SoundFromJSValue(), SoundFromJSValue(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoStaticFilteredSystems(), and SystemInfoStaticFilteredSystems().
| void OOJSReportBadArguments | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| int | argc, | ||
| JSValueConst * | argv, | ||
| NSString * | message, | ||
| NSString * | expectedArgsDescription ) |
Definition at line 552 of file OOJavaScriptEnginePoc.m.
References nil, and OOJSReportErrorForCaller().
Referenced by OOJSArgumentListGetNumber().
| void OOJSReportBadPropertySelector | ( | JSContext * | context, |
| JSValueConst | thisObj, | ||
| int | magic, | ||
| const JSCFunctionListEntry * | list, | ||
| size_t | count ) |
Definition at line 535 of file OOJavaScriptEnginePoc.m.
References count, OOJSClassNameOfValue(), OOJSReportError(), OOStringFromJSPropertyMagic(), and PropertyNameForMagic().
| void OOJSReportBadPropertyValue | ( | JSContext * | context, |
| JSValueConst | thisObj, | ||
| int | magic, | ||
| const JSCFunctionListEntry * | list, | ||
| size_t | count, | ||
| JSValueConst | value ) |
Definition at line 543 of file OOJavaScriptEnginePoc.m.
References count, OOJSClassNameOfValue(), OOJSDescribeValue(), OOJSDescribeValue(), OOJSReportError(), OOStringFromJSPropertyMagic(), and PropertyNameForMagic().
| void OOJSReportError | ( | JSContext * | context, |
| NSString * | format, | ||
| ... ) |
Definition at line 429 of file OOJavaScriptEnginePoc.m.
References OOJSReportErrorWithArguments().
Referenced by EntitySetProperty(), EntitySetProperty(), GlobalAddFrameCallback(), GlobalAddFrameCallback(), ManifestSetProperty(), ManifestSetPropertyExotic(), MissionVariablesDefineOwnProperty(), MissionVariablesSetProperty(), OOJSObjectGetterImplPRIVATE(), OOJSObjectGetterImplPRIVATE(), OOJSReportBadPropertySelector(), OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), OOJSReportBadPropertyValue(), OOJSReportErrorForCaller(), OOJSReportWrappedException(), OOJSUnconstructableConstruct(), OOJSUnconstructableConstruct(), OOJSValueToInt32(), PlayerReplaceShip(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetEscapePodDestination(), PlayerShipRemoveAllCargo(), PlayerShipRemoveAllCargo(), PlayerShipResetCustomView(), PlayerShipResetCustomView(), PlayerShipSetCustomView(), PlayerShipSetCustomView(), PlayerShipSetProperty(), PlayerShipSetProperty(), RemoveOrExplodeShip(), RemoveOrExplodeShip(), SetMissionVariable(), ShipAdjustCargo(), ShipAdjustCargo(), ShipEnterWormhole(), ShipEnterWormhole(), ShipGroupConstruct(), ShipGroupConstruct(), ShipRemove(), ShipRemove(), ShipSetProperty(), ShipSetProperty(), SoundSourceConstruct(), SoundSourceConstruct(), SystemInfoGetProperty(), SystemInfoGetProperty(), TimerConstruct(), and TimerConstruct().
| void OOJSReportErrorForCaller | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| NSString * | format, | ||
| ... ) |
Definition at line 438 of file OOJavaScriptEnginePoc.m.
References CallerPrefix(), CallerPrefix(), nil, and OOJSReportError().
Referenced by OOJSReportBadArguments(), OOJSReportBadArguments(), ShipExitAI(), ShipExitAI(), ShipExitSystem(), ShipExitSystem(), ShipReactToAIMessage(), ShipReactToAIMessage(), ShipSendAIMessage(), ShipSendAIMessage(), ShipSetAI(), ShipSetAI(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), ShipSetScript(), ShipSetScript(), ShipSwitchAI(), ShipSwitchAI(), SystemInfoDistanceToSystem(), SystemInfoDistanceToSystem(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), and SystemInfoSamplePrice().
| void OOJSReportErrorWithArguments | ( | JSContext * | context, |
| NSString * | format, | ||
| va_list | args ) |
Definition at line 456 of file OOJavaScriptEnginePoc.m.
References JS_IsInRequest, and nil.
Referenced by OOJSReportError().
| void OOJSReportPendingException | ( | JSContext * | context | ) |
Definition at line 395 of file OOJavaScriptEnginePoc.m.
References LogProblem(), OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), OOStringFromJSValue(), OOStringFromJSValueEvenIfNull(), and StackOfValue().
Referenced by OOJavaScriptEngine::callJSFunction:forObject:argc:argv:result:.
| void OOJSReportWarning | ( | JSContext * | context, |
| NSString * | format, | ||
| ... ) |
Definition at line 481 of file OOJavaScriptEnginePoc.m.
References OOJSReportWarningWithArguments().
Referenced by OOJSScript(OOPrivate)::checkForTickle:, EntityFromArgumentList(), EntityFromArgumentList(), EquipmentInfoSetProperty(), EquipmentInfoSetProperty(), GetJSSystemInfoForSystem(), GlobalRemoveFrameCallback(), GlobalRemoveFrameCallback(), GlobalSetScreenBackground(), GlobalSetScreenBackground(), GlobalSetScreenOverlay(), GlobalSetScreenOverlay(), ManifestSetProperty(), ManifestSetProperty(), MissionRunScreen(), MissionRunScreen(), MissionRunShipLibrary(), MissionRunShipLibrary(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), OOJSReportWarningForCaller(), OoliteSetProperty(), OoliteSetProperty(), PlanetSetProperty(), PlanetSetProperty(), PlayerShipSetProperty(), PlayerShipSetProperty(), ScriptAddProperty(), ShipFireECM(), ShipFireECM(), ShipSetMaterialsInternal(), ShipSetMaterialsInternal(), ShipSetShaders(), ShipSetShaders(), SpecialJSWarning(), SpecialJSWarning(), GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:, TimerSetProperty(), TimerSetProperty(), VisualEffectSetMaterialsInternal(), VisualEffectSetMaterialsInternal(), VisualEffectSetShaders(), and VisualEffectSetShaders().
| void OOJSReportWarningForCaller | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| NSString * | format, | ||
| ... ) |
Definition at line 490 of file OOJavaScriptEnginePoc.m.
References CallerPrefix(), CallerPrefix(), nil, and OOJSReportWarning().
Referenced by ShipAddCargoEntity(), ShipAddCargoEntity(), ShipDumpCargo(), ShipDumpCargo(), ShipExitAI(), ShipExitAI(), ShipGroupAddShip(), ShipGroupAddShip(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), StationAddShipToShipyard(), StationAddShipToShipyard(), StationRemoveShipFromShipyard(), and StationRemoveShipFromShipyard().
| void OOJSReportWarningWithArguments | ( | JSContext * | context, |
| NSString * | format, | ||
| va_list | args ) |
Definition at line 508 of file OOJavaScriptEnginePoc.m.
References LogProblem(), nil, and StackOfValue().
Referenced by OOJSReportWarning(), and SyntaxIssue().
| void OOJSReportWrappedException | ( | JSContext * | context, |
| id | exception ) |
Definition at line 470 of file OOJavaScriptEnginePoc.m.
References OOJSReportError().
| void OOJSResumeTimeLimiter | ( | void | ) |
Definition at line 309 of file OOJavaScriptEnginePoc.m.
References MonotonicTime(), OODisposeHighResTime, OOGetHighResTime, OOHighResTimeDeltaInSeconds(), sLimiterPauseDepth, sLimiterPauseStart, and sLimiterTimeLimit.
Referenced by Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, Universe::findOneEntityMatchingPredicate:parameter:, JSFunctionPredicate(), MissionRunScreen(), MissionRunScreen(), OOJSReportPendingException(), OOJSReportWarningWithArguments(), PlanetSetProperty(), PlanetSetProperty(), ReportJSError(), SoundFromJSValue(), SoundFromJSValue(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoStaticFilteredSystems(), and SystemInfoStaticFilteredSystems().
| void OOJSStartTimeLimiterWithTimeLimit | ( | OOTimeDelta | limit | ) |
Definition at line 281 of file OOJavaScriptEnginePoc.m.
References MonotonicTime(), MonotonicTime(), OOJS_TIME_LIMIT, sLimiterPauseDepth, sLimiterStart, sLimiterStartDepth, and sLimiterTimeLimit.
| void OOJSStopTimeLimiter | ( | void | ) |
Definition at line 292 of file OOJavaScriptEnginePoc.m.
References OOLog, sLimiterStartDepth, and sLimiterTimeLimit.
Referenced by OOJavaScriptEngine::callJSFunction:forObject:argc:argv:result:.
| NSString * OOJSWrapScriptSource | ( | NSString * | source | ) |
Definition at line 207 of file OOJavaScriptEnginePoc.m.
| NSString * OOStringFromJSValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 620 of file OOJavaScriptEnginePoc.m.
References EXPECT, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOStringFromJSValueEvenIfNull(), and OOStringFromJSValueEvenIfNull().
Referenced by DescribeValue(), GlobalLog(), OOJSClassNameOfValue(), OOJSReportPendingException(), and StackOfValue().
| NSString * OOStringFromJSValueEvenIfNull | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 606 of file OOJavaScriptEnginePoc.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by DescribeValue(), GlobalLog(), OOJSReportPendingException(), and OOStringFromJSValue().
|
static |
Definition at line 526 of file OOJavaScriptEnginePoc.m.
References count.
Referenced by OOJSReportBadPropertySelector(), and OOJSReportBadPropertyValue().
|
static |
Definition at line 365 of file OOJavaScriptEnginePoc.m.
References nil, and OOStringFromJSValue().
Referenced by OOJSReportPendingException(), and OOJSReportWarningWithArguments().
| JSContext* gOOJSMainThreadContext = NULL |
Definition at line 41 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 46 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 260 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 262 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 261 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 259 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 263 of file OOJavaScriptEnginePoc.m.
|
static |
Definition at line 40 of file OOJavaScriptEnginePoc.m.