New functionality

git-svn-id: svn://10.0.0.236/trunk@32130 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-05-18 22:50:53 +00:00
parent 3c0a85e0de
commit 3e84c63771
4 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
class ThrowNode extends ControlNode {
ThrowNode(ExpressionNode e)
{
super(e);
}
ControlNode eval(Environment theEnv)
{
ControlNode n = super.eval(theEnv);
throw new JSException(theEnv.theStack.pop());
}
}