Class Profiler

  • All Implemented Interfaces:
    org.mozilla.javascript.debug.Debugger

    public class Profiler
    extends java.lang.Object
    implements org.mozilla.javascript.debug.Debugger
    • Constructor Summary

      Constructors 
      Constructor Description
      Profiler()
      Create a new profiler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.mozilla.javascript.debug.DebugFrame getFrame​(org.mozilla.javascript.Context cx, org.mozilla.javascript.debug.DebuggableScript script)
      Implements getFrame() in interface org.mozilla.javascript.debug.Debugger
      java.lang.String getResult()  
      void handleCompilationDone​(org.mozilla.javascript.Context cx, org.mozilla.javascript.debug.DebuggableScript script, java.lang.String source)
      Implementws handleCompilationDone in interface org.mozilla.javascript.debug.Debugger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Profiler

        public Profiler()
        Create a new profiler.
    • Method Detail

      • handleCompilationDone

        public void handleCompilationDone​(org.mozilla.javascript.Context cx,
                                          org.mozilla.javascript.debug.DebuggableScript script,
                                          java.lang.String source)
        Implementws handleCompilationDone in interface org.mozilla.javascript.debug.Debugger
        Specified by:
        handleCompilationDone in interface org.mozilla.javascript.debug.Debugger
      • getFrame

        public org.mozilla.javascript.debug.DebugFrame getFrame​(org.mozilla.javascript.Context cx,
                                                                org.mozilla.javascript.debug.DebuggableScript script)
        Implements getFrame() in interface org.mozilla.javascript.debug.Debugger
        Specified by:
        getFrame in interface org.mozilla.javascript.debug.Debugger
      • getResult

        public java.lang.String getResult()