|
Oolite
|
import "OOJSScript.h"import "OOJavaScriptEngine.h"import "OOJSEngineTimeManagement.h"import "OOLogging.h"import "OOConstToString.h"import "Entity.h"import "NSStringOOExtensions.h"import "EntityOOJavaScriptExtensions.h"import "OOConstToJSString.h"import "OOManifestProperties.h"import "OOCollectionExtractors.h"import "OOPListParsing.h"import "OODebugStandards.h"#include <jsxdrapi.h>import "OOCacheManager.h"
Include dependency graph for OOJSScript.m:Go to the source code of this file.
Classes | |
| struct | RunningStack |
| category | OOJSScript(OOPrivate) |
Macros | |
| #define | OO_CACHE_JS_SCRIPTS 1 |
Typedefs | |
| typedef struct RunningStack | RunningStack |
Functions | |
| static void | AddStackToArrayReversed (NSMutableArray *array, RunningStack *stack) |
| static JSScript * | LoadScriptWithName (JSContext *context, NSString *path, JSObject *object, JSObject **outScriptObject, NSString **outErrorMessage) |
| static NSData * | CompiledScriptData (JSContext *context, JSScript *script) |
| static JSScript * | ScriptWithCompiledData (JSContext *context, NSData *data) |
| static NSString * | StrippedName (NSString *string) |
| static JSBool | ScriptAddProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
| void | InitOOJSScript (JSContext *context, JSObject *global) |
Variables | |
| static JSObject * | sScriptPrototype |
| static RunningStack * | sRunningStack = NULL |
| static JSClass | sScriptClass |
| static JSFunctionSpec | sScriptMethods [] |
| #define OO_CACHE_JS_SCRIPTS 1 |
Definition at line 26 of file OOJSScript.m.
| typedef struct RunningStack RunningStack |
Definition at line 51 of file OOJSScript.m.
|
static |
Definition at line 687 of file OOJSScript.m.
References AddStackToArrayReversed(), and RunningStack::back.
Referenced by AddStackToArrayReversed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 766 of file OOJSScript.m.
References nil.
Referenced by LoadScriptWithName().
Here is the caller graph for this function:| void InitOOJSScript | ( | JSContext * | context, |
| JSObject * | global | ||
| ) |
Definition at line 662 of file OOJSScript.m.
References OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sScriptClass, sScriptMethods, and sScriptPrototype.
Here is the call graph for this function:
|
static |
Definition at line 697 of file OOJSScript.m.
References CompiledScriptData(), nil, OOCacheManager::objectForKey:inCache:, OOEnforceStandards(), OOStandardsDeprecated(), ScriptWithCompiledData(), OOCacheManager::setObject:forKey:inCache:, and OOCacheManager::sharedCache.
Here is the call graph for this function:
|
static |
Definition at line 669 of file OOJSScript.m.
References OOJSNativeObjectOfClassFromJSObject(), and OOJSReportWarning().
Here is the call graph for this function:
|
static |
Definition at line 791 of file OOJSScript.m.
References EXPECT_NOT, and nil.
Referenced by LoadScriptWithName().
Here is the caller graph for this function:
|
static |
Definition at line 816 of file OOJSScript.m.
References nil.
|
static |
Definition at line 60 of file OOJSScript.m.
|
static |
Definition at line 78 of file OOJSScript.m.
Referenced by InitOOJSScript().
|
static |
Definition at line 94 of file OOJSScript.m.
Referenced by InitOOJSScript().
|
static |
Definition at line 59 of file OOJSScript.m.
Referenced by InitOOJSScript().