use of com.github.anba.es6draft.runtime.FunctionEnvironmentRecord in project es6draft by anba.
the class ScriptRuntime method deleteSuperProperty.
/**
* 12.3.5 The super Keyword
* <p>
* 12.3.5.3 Runtime Semantics: MakeSuperPropertyReference(propertyKey, strict)
*
* @param cx
* the execution context
* @return no value
*/
public static boolean deleteSuperProperty(ExecutionContext cx) {
/* steps 1-2 */
FunctionEnvironmentRecord envRec = GetSuperEnvironmentRecord(cx);
/* steps 3-4 */
GetSuperThis(envRec, cx);
/* steps 5-7 */
GetSuperBase(envRec, cx);
/* 12.5.4.2, step 5.a */
throw newReferenceError(cx, Messages.Key.SuperDelete);
}
Aggregations