home *** CD-ROM | disk | FTP | other *** search
- package netscape.jsdebug;
-
- public final class JSPC extends PC {
- private Script script;
- // $FF: renamed from: pc int
- private int field_0;
-
- public JSPC(Script var1, int var2) {
- this.script = var1;
- this.field_0 = var2;
- }
-
- public Script getScript() {
- return this.script;
- }
-
- public int getPC() {
- return this.field_0;
- }
-
- public boolean isValid() {
- return this.script.isValid();
- }
-
- public native SourceLocation getSourceLocation();
-
- public boolean equals(Object var1) {
- if (this == var1) {
- return true;
- } else if (!(var1 instanceof JSPC)) {
- return false;
- } else {
- JSPC var2 = (JSPC)var1;
- return var2.script == this.script && var2.field_0 == this.field_0;
- }
- }
-
- public int hashCode() {
- return this.script.hashCode() + this.field_0;
- }
-
- public String toString() {
- return "<PC " + this.script + "+" + this.field_0 + ">";
- }
- }
-