mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +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));
|
|
}
|
|
|
|
} |