Added JSScope::getParent().

This commit is contained in:
beard%netscape.com 2000-04-29 14:39:50 +00:00
parent 6f9510ebc6
commit b6d49c9fe0
2 changed files with 10 additions and 0 deletions

View File

@ -254,6 +254,11 @@ namespace JSTypes {
if (prototype)
setPrototype(prototype);
}
JSScope* getParent()
{
return mParent;
}
bool isDefined(const String& name)
{

View File

@ -254,6 +254,11 @@ namespace JSTypes {
if (prototype)
setPrototype(prototype);
}
JSScope* getParent()
{
return mParent;
}
bool isDefined(const String& name)
{