阅读(1924) (0)

throw 语句

2017-06-16 15:23:53 更新

 语法:

ThrowStatement : throw [no LineTerminator here] Expression ;

 语义:

 产生式 ThrowStatement : throw [no LineTerminator here] Expression ; 按照下面的过程执行 :

  1. 令 exprRef 为解释执行 Expression 的结果 .
  2. 返回 (throw, GetValue(exprRef), empty).