java.lang.Object
netscape.jsdebug.SourceLocation
- Direct Known Subclasses:
- JSSourceLocation
- public abstract class SourceLocation
- extends java.lang.Object
An implementation of the SourceLocation interface is used to represent
a location in a source file. Java classfiles only make source locations
available at the line-by-line granularity, but other languages may
include finer-grain information. At this time only line number
information is included.
- Since:
- 1.0
- Version:
- 1.0
|
Method Summary |
abstract int |
getLine()
Gets the first line number associated with this SourceLocation. |
abstract PC |
getPC()
Get the first PC associated with a given SourceLocation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceLocation
public SourceLocation()
getLine
public abstract int getLine()
- Gets the first line number associated with this SourceLocation.
This is the lowest common denominator information that will be
available: some implementations may choose to include more
specific location information in a subclass of SourceLocation.
getPC
public abstract PC getPC()
- Get the first PC associated with a given SourceLocation.
This is the place to set a breakpoint at that location.