org.starhope.appius.game.js
Class JavaScriptHelper

java.lang.Object
  extended by org.starhope.appius.game.js.JavaScriptHelper
All Implemented Interfaces:
org.mozilla.javascript.debug.Debugger, org.mozilla.javascript.ErrorReporter

public class JavaScriptHelper
extends Object
implements org.mozilla.javascript.ErrorReporter, org.mozilla.javascript.debug.Debugger

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Constructor Summary
JavaScriptHelper()
           
 
Method Summary
 void error(String arg0, String arg1, int arg2, String arg3, int arg4)
           
 org.mozilla.javascript.debug.DebugFrame getFrame(org.mozilla.javascript.Context arg0, org.mozilla.javascript.debug.DebuggableScript arg1)
           
 void handleCompilationDone(org.mozilla.javascript.Context arg0, org.mozilla.javascript.debug.DebuggableScript arg1, String arg2)
           
 org.mozilla.javascript.EvaluatorException runtimeError(String arg0, String arg1, int arg2, String arg3, int arg4)
           
 void warning(String arg0, String arg1, int arg2, String arg3, int arg4)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptHelper

public JavaScriptHelper()
Method Detail

error

public void error(String arg0,
                  String arg1,
                  int arg2,
                  String arg3,
                  int arg4)
Specified by:
error in interface org.mozilla.javascript.ErrorReporter
See Also:
ErrorReporter.error(java.lang.String, java.lang.String, int, java.lang.String, int)

runtimeError

public org.mozilla.javascript.EvaluatorException runtimeError(String arg0,
                                                              String arg1,
                                                              int arg2,
                                                              String arg3,
                                                              int arg4)
Specified by:
runtimeError in interface org.mozilla.javascript.ErrorReporter
See Also:
ErrorReporter.runtimeError(java.lang.String, java.lang.String, int, java.lang.String, int)

warning

public void warning(String arg0,
                    String arg1,
                    int arg2,
                    String arg3,
                    int arg4)
Specified by:
warning in interface org.mozilla.javascript.ErrorReporter
See Also:
ErrorReporter.warning(java.lang.String, java.lang.String, int, java.lang.String, int)

getFrame

public org.mozilla.javascript.debug.DebugFrame getFrame(org.mozilla.javascript.Context arg0,
                                                        org.mozilla.javascript.debug.DebuggableScript arg1)
Specified by:
getFrame in interface org.mozilla.javascript.debug.Debugger
See Also:
Debugger.getFrame(org.mozilla.javascript.Context, org.mozilla.javascript.debug.DebuggableScript)

handleCompilationDone

public void handleCompilationDone(org.mozilla.javascript.Context arg0,
                                  org.mozilla.javascript.debug.DebuggableScript arg1,
                                  String arg2)
Specified by:
handleCompilationDone in interface org.mozilla.javascript.debug.Debugger
See Also:
Debugger.handleCompilationDone(org.mozilla.javascript.Context, org.mozilla.javascript.debug.DebuggableScript, java.lang.String)