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 1388 of file OOJavaScriptEngine.m.

Method Documentation

◆ oo_clearJSSelf:

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

Definition at line 622 of file OOJavaScriptEngine.m.

1433 :(JSObject *)selfVal
1434{
1435
1436}

◆ oo_jsClassName

- (NSString *) oo_jsClassName
implementation

Definition at line 622 of file OOJavaScriptEngine.m.

1397{
1398 return nil;
1399}
return nil

◆ oo_jsDescription

- (NSString *) oo_jsDescription
implementation

Definition at line 622 of file OOJavaScriptEngine.m.

1403{
1404 return [self oo_jsDescriptionWithClassName:[self oo_jsClassName]];
1405}

◆ oo_jsDescriptionWithClassName:

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

Definition at line 622 of file OOJavaScriptEngine.m.

1408 :(NSString *)className
1409{
1411
1412 NSString *components = nil;
1413 NSString *description = nil;
1414
1415 components = [self descriptionComponents];
1416 if (className == nil) className = [[self class] description];
1417
1418 if (components != nil)
1419 {
1420 description = [NSString stringWithFormat:@"[%@ %@]", className, components];
1421 }
1422 else
1423 {
1424 description = [NSString stringWithFormat:@"[object %@]", className];
1425 }
1426
1427 return description;
1428
1430}
#define OOJS_PROFILE_EXIT
#define OOJS_PROFILE_ENTER

◆ oo_jsValueInContext:

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

Definition at line 622 of file OOJavaScriptEngine.m.

1390 :(JSContext *)context
1391{
1392 return JSVAL_VOID;
1393}

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