From 8211c36e7740a5376e8cbc1407ac9326298ebfe1 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 29 Apr 2000 14:39:50 +0000 Subject: [PATCH] Added JSScope::getParent(). git-svn-id: svn://10.0.0.236/trunk@67612 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/js2/jstypes.h | 5 +++++ mozilla/js2/src/jstypes.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/mozilla/js/js2/jstypes.h b/mozilla/js/js2/jstypes.h index 66de7c3814e..69408503a43 100644 --- a/mozilla/js/js2/jstypes.h +++ b/mozilla/js/js2/jstypes.h @@ -254,6 +254,11 @@ namespace JSTypes { if (prototype) setPrototype(prototype); } + + JSScope* getParent() + { + return mParent; + } bool isDefined(const String& name) { diff --git a/mozilla/js2/src/jstypes.h b/mozilla/js2/src/jstypes.h index 66de7c3814e..69408503a43 100644 --- a/mozilla/js2/src/jstypes.h +++ b/mozilla/js2/src/jstypes.h @@ -254,6 +254,11 @@ namespace JSTypes { if (prototype) setPrototype(prototype); } + + JSScope* getParent() + { + return mParent; + } bool isDefined(const String& name) {