Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOJavaScriptEngine(OOMonitorSupportInternal) Category Reference

Instance Methods

(void) - sendMonitorError:withMessage:inContext:
 
(void) - sendMonitorLogMessage:withMessageClass:inContext:
 
(void) - sendMonitorLogMessage:withMessageClass:inContext:
 

Detailed Description

Definition at line 106 of file OOJavaScriptEngine.m.

Method Documentation

◆ sendMonitorError:withMessage:inContext:

- (void) sendMonitorError: (JSErrorReport *) errorReport
withMessage: (NSString *) message
inContext: (JSContext *) context 

Extends class OOJavaScriptEngine.

Definition at line 622 of file OOJavaScriptEngine.m.

683 :(JSErrorReport *)errorReport
684 withMessage:(NSString *)message
685 inContext:(JSContext *)theContext
686{
687 if ([_monitor respondsToSelector:@selector(jsEngine:context:error:stackSkip:showingLocation:withMessage:)])
688 {
689 [_monitor jsEngine:self context:theContext error:errorReport stackSkip:sErrorHandlerStackSkip showingLocation:[self showErrorLocations] withMessage:message];
690 }
691}

◆ sendMonitorLogMessage:withMessageClass:inContext: [1/2]

- (void) sendMonitorLogMessage: (NSString *) message
withMessageClass: (NSString *) messageClass
inContext: (JSContext *) context 

Extends class OOJavaScriptEngine.

Definition at line 622 of file OOJavaScriptEngine.m.

694 :(NSString *)message
695 withMessageClass:(NSString *)messageClass
696 inContext:(JSContext *)theContext
697{
698 if ([_monitor respondsToSelector:@selector(jsEngine:context:logMessage:ofClass:)])
699 {
700 [_monitor jsEngine:self context:theContext logMessage:message ofClass:messageClass];
701 }
702}

◆ sendMonitorLogMessage:withMessageClass:inContext: [2/2]

- (void) sendMonitorLogMessage: (NSString *) message
withMessageClass: (NSString *) messageClass
inContext: (JSContext *) context 

Extends class OOJavaScriptEngine.

References PlayerEntity::guiScreen, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, and PLAYER.

+ Here is the call graph for this function:

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