Class Dim.SourceInfo
- java.lang.Object
- 
- org.mozilla.javascript.tools.debugger.Dim.SourceInfo
 
- 
- Enclosing class:
- Dim
 
 public static class Dim.SourceInfo extends java.lang.ObjectClass to store information about a script source.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbreakableLine(int line)Returns whether the given line number can have a breakpoint set on it.booleanbreakpoint(int line)Returns whether there is a breakpoint set on the given line.booleanbreakpoint(int line, boolean value)Sets or clears the breakpoint flag for the given line.Dim.FunctionSourcefunctionSource(int i)Returns the FunctionSource object with the given index.intfunctionSourcesTop()Returns the number of FunctionSource objects stored in this object.voidremoveAllBreakpoints()Removes all breakpoints from the script.java.lang.Stringsource()Returns the source text.java.lang.Stringurl()Returns the script's origin URL.
 
- 
- 
- 
Method Detail- 
sourcepublic java.lang.String source() Returns the source text.
 - 
urlpublic java.lang.String url() Returns the script's origin URL.
 - 
functionSourcesToppublic int functionSourcesTop() Returns the number of FunctionSource objects stored in this object.
 - 
functionSourcepublic Dim.FunctionSource functionSource(int i) Returns the FunctionSource object with the given index.
 - 
breakableLinepublic boolean breakableLine(int line) Returns whether the given line number can have a breakpoint set on it.
 - 
breakpointpublic boolean breakpoint(int line) Returns whether there is a breakpoint set on the given line.
 - 
breakpointpublic boolean breakpoint(int line, boolean value)Sets or clears the breakpoint flag for the given line.
 - 
removeAllBreakpointspublic void removeAllBreakpoints() Removes all breakpoints from the script.
 
- 
 
-