Oolite
Loading...
Searching...
No Matches
NSObject(OOJavaScriptConversion) Category Reference

Instance Methods

(jsval) - oo_jsValueInContext: [implementation]
(NSString *) - oo_jsClassName [implementation]
(NSString *) - oo_jsDescription [implementation]
(NSString *) - oo_jsDescriptionWithClassName: [implementation]
(void) - oo_clearJSSelf: [implementation]

Detailed Description

Definition at line 1277 of file OOJavaScriptEngine.m.

Method Documentation

◆ oo_clearJSSelf:

- (void) oo_clearJSSelf: (JSObject*) selfVal
implementation

Definition at line 1316 of file OOJavaScriptEngine.m.

1316 :(JSObject*)selfVal
1317{
1318}

◆ oo_jsClassName

- (NSString *) oo_jsClassName
implementation

Definition at line 1284 of file OOJavaScriptEngine.m.

1285{
1286 return nil;
1287}
return nil

References nil, and oo_jsClassName.

Referenced by oo_jsClassName.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_jsDescription

- (NSString *) oo_jsDescription
implementation

Definition at line 1289 of file OOJavaScriptEngine.m.

1290{
1291 return [self oo_jsDescriptionWithClassName:[self oo_jsClassName]];
1292}

References oo_jsDescription.

Referenced by oo_jsDescription.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_jsDescriptionWithClassName:

- (NSString *) oo_jsDescriptionWithClassName: (NSString*) className
implementation

Definition at line 1294 of file OOJavaScriptEngine.m.

1294 :(NSString*)className
1295{
1297
1298 NSString* components = nil;
1299 NSString* description = nil;
1300
1301 components = [self descriptionComponents];
1302 if (className == nil)
1303 className = [[self class] description];
1304
1305 if (components != nil) {
1306 description = [NSString stringWithFormat:@"[%@ %@]", className, components];
1307 } else {
1308 description = [NSString stringWithFormat:@"[object %@]", className];
1309 }
1310
1311 return description;
1312
1314}
#define OOJS_PROFILE_EXIT
#define OOJS_PROFILE_ENTER

References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.

◆ oo_jsValueInContext:

- (jsval) oo_jsValueInContext: (JSContext*) context
implementation

Definition at line 1279 of file OOJavaScriptEngine.m.

1279 :(JSContext*)context
1280{
1281 return JSVAL_VOID;
1282}

The documentation for this category was generated from the following file: