mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
13 lines
207 B
Java
13 lines
207 B
Java
class ThrowNode extends ControlNode {
|
|
|
|
ThrowNode(ExpressionNode e)
|
|
{
|
|
super(e);
|
|
}
|
|
|
|
ControlNode eval(Environment theEnv)
|
|
{
|
|
throw new JSException(expr.eval(theEnv));
|
|
}
|
|
|
|
} |