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

#include <OOJavaScriptEngine.h>

Instance Methods

(jsval) - oo_jsValueInContext:
(NSString *) - oo_jsDescription
(NSString *) - oo_jsDescriptionWithClassName:
(NSString *) - oo_jsClassName
(void) - oo_clearJSSelf:
(JSValue) - oo_jsValueInContext:
(NSString *) - oo_jsDescription
(NSString *) - oo_jsDescriptionWithClassName:
(NSString *) - oo_jsClassName
(void) - oo_clearJSSelf:

Detailed Description

Definition at line 227 of file OOJavaScriptEngine.h.

Method Documentation

◆ oo_clearJSSelf: [1/2]

- (void) oo_clearJSSelf: (JSObject *) selfVal

Definition at line 1212 of file OOJavaScriptEngine.m.

1212 :(JSValueConst)selfVal
1213{
1214}

◆ oo_clearJSSelf: [2/2]

- (void) oo_clearJSSelf: (JSValueConst) selfVal

Definition at line 1212 of file OOJavaScriptEngine.m.

1212 :(JSValueConst)selfVal
1213{
1214}

◆ oo_jsClassName [1/2]

- (NSString *) oo_jsClassName

Definition at line 1184 of file OOJavaScriptEngine.m.

1185{
1186 return nil;
1187}
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_jsClassName [2/2]

- (NSString *) oo_jsClassName

References oo_jsClassName.

Here is the call graph for this function:

◆ oo_jsDescription [1/2]

- (NSString *) oo_jsDescription

Definition at line 1189 of file OOJavaScriptEngine.m.

1190{
1191 return [self oo_jsDescriptionWithClassName:[self oo_jsClassName]];
1192}

References oo_jsDescription.

Referenced by oo_jsDescription.

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

◆ oo_jsDescription [2/2]

- (NSString *) oo_jsDescription

References oo_jsDescription.

Here is the call graph for this function:

◆ oo_jsDescriptionWithClassName: [1/2]

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

Definition at line 1194 of file OOJavaScriptEngine.m.

1194 :(NSString*)className
1195{
1196 NSString* components = nil;
1197 NSString* description = nil;
1198
1199 components = [self descriptionComponents];
1200 if (className == nil)
1201 className = [[self class] description];
1202
1203 if (components != nil) {
1204 description = [NSString stringWithFormat:@"[%@ %@]", className, components];
1205 } else {
1206 description = [NSString stringWithFormat:@"[object %@]", className];
1207 }
1208
1209 return description;
1210}

References nil.

◆ oo_jsDescriptionWithClassName: [2/2]

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

◆ oo_jsValueInContext: [1/2]

- (JSValue) oo_jsValueInContext: (JSContext*) context

Definition at line 716 of file OOJavaScriptEnginePoc.m.

716 :(JSContext*)context
717{
718 return JS_UNDEFINED;
719}

◆ oo_jsValueInContext: [2/2]

- (JSValue) oo_jsValueInContext: (JSContext *) context

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