Oolite 1.91.0.7646-241128-10e222e
|
#include <OOJSFunction.h>
Instance Methods | |
(id) | - initWithFunction:context: |
(id) | - initWithName:scope:code:argumentCount:argumentNames:fileName:lineNumber:context: |
(NSString *) | - name |
(JSFunction *) | - function |
(jsval) | - functionValue |
(BOOL) | - evaluateWithContext:scope:argc:argv:result: |
(id) | - evaluateWithContext:scope:arguments: |
(BOOL) | - evaluatePredicateWithContext:scope:arguments: |
(void) | - deleteJSValue [implementation] |
(void) | - dealloc [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(BOOL) | - evaluateWithContext:scope:arguments:result: [implementation] |
Private Attributes | |
JSFunction * | _function |
NSString * | _name |
Definition at line 33 of file OOJSFunction.h.
|
implementation |
Definition at line 1 of file OOJSFunction.m.
References _function, _name, nil, OOJSAddGCObjectRoot, and OOJavaScriptEngine::sharedEngine.
|
implementation |
Definition at line 1 of file OOJSFunction.m.
|
implementation |
Definition at line 1 of file OOJSFunction.m.
- (BOOL) evaluatePredicateWithContext: | (JSContext *) | context | |
scope: | (id) | jsThis | |
arguments: | (NSArray *) | arguments |
Definition at line 1 of file OOJSFunction.m.
- (BOOL) evaluateWithContext: | (JSContext *) | context | |
scope: | (JSObject *) | jsThis | |
argc: | (uintN) | argc | |
argv: | (jsval *) | argv | |
result: | (jsval *) | result |
Definition at line 1 of file OOJSFunction.m.
- (id) evaluateWithContext: | (JSContext *) | context | |
scope: | (id) | jsThis | |
arguments: | (NSArray *) | arguments |
Definition at line 1 of file OOJSFunction.m.
|
implementation |
Definition at line 1 of file OOJSFunction.m.
- (JSFunction *) function |
Definition at line 1 of file OOJSFunction.m.
- (jsval) functionValue |
Definition at line 1 of file OOJSFunction.m.
- (id) initWithFunction: | (JSFunction *) | function | |
context: | (JSContext *) | context |
Definition at line 1 of file OOJSFunction.m.
- (id) initWithName: | (NSString *) | name | |
scope: | (JSObject *) | scope | |
code: | (NSString *) | code | |
argumentCount: | (NSUInteger) | argCount | |
argumentNames: | (const char **) | argNames | |
fileName: | (NSString *) | fileName | |
lineNumber: | (NSUInteger) | lineNumber | |
context: | (JSContext *) | context |
Definition at line 1 of file OOJSFunction.m.
- (NSString *) name |
Definition at line 1 of file OOJSFunction.m.
|
private |
Definition at line 36 of file OOJSFunction.h.
Referenced by dealloc.
|
private |
Definition at line 37 of file OOJSFunction.h.
Referenced by dealloc.