home *** CD-ROM | disk | FTP | other *** search
/ Popular Software (Premium Edition) / mycd.iso / INTERNET / NETSCAP4.06 / CP32E406.EXE / nav40.z / jsd10.jar / netscape / jsdebug / JSSourceLocation.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-08-13  |  1.1 KB  |  30 lines

  1. package netscape.jsdebug;
  2.  
  3. public class JSSourceLocation extends SourceLocation {
  4.    private JSPC _pc;
  5.    private int _line;
  6.    private String _url;
  7.  
  8.    public JSSourceLocation(JSPC var1, int var2) {
  9.       this._pc = var1;
  10.       this._line = var2;
  11.       this._url = var1.getScript().getURL();
  12.    }
  13.  
  14.    public int getLine() {
  15.       return this._line;
  16.    }
  17.  
  18.    public String getURL() {
  19.       return this._url;
  20.    }
  21.  
  22.    public PC getPC() {
  23.       return this._pc;
  24.    }
  25.  
  26.    public String toString() {
  27.       return "<SourceLocation " + this._url + "#" + this._line + ">";
  28.    }
  29. }
  30.