From 0d09ea91d9a80a1c751fb5ff0533fbf1238d5129 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Tue, 10 May 2016 11:48:23 -0400 Subject: [PATCH] Add "features" tag to test templates --- src/dstr-binding/default/arrow-function.template | 1 + src/dstr-binding/default/cls-decl-gen-meth-static.template | 1 + src/dstr-binding/default/cls-decl-gen-meth.template | 1 + src/dstr-binding/default/cls-decl-meth-static.template | 1 + src/dstr-binding/default/cls-decl-meth.template | 1 + src/dstr-binding/default/cls-expr-gen-meth-static.template | 1 + src/dstr-binding/default/cls-expr-gen-meth.template | 1 + src/dstr-binding/default/cls-expr-meth-static.template | 1 + src/dstr-binding/default/cls-expr-meth.template | 1 + src/dstr-binding/default/const-stmt.template | 1 + src/dstr-binding/default/func-decl.template | 1 + src/dstr-binding/default/func-expr.template | 1 + src/dstr-binding/default/gen-func-decl.template | 1 + src/dstr-binding/default/gen-func-expr.template | 1 + src/dstr-binding/default/gen-meth.template | 1 + src/dstr-binding/default/let-stmt.template | 1 + src/dstr-binding/default/meth.template | 1 + src/dstr-binding/default/var-stmt.template | 1 + 18 files changed, 18 insertions(+) diff --git a/src/dstr-binding/default/arrow-function.template b/src/dstr-binding/default/arrow-function.template index fb7394330f..98f2dd8d5b 100644 --- a/src/dstr-binding/default/arrow-function.template +++ b/src/dstr-binding/default/arrow-function.template @@ -5,6 +5,7 @@ path: language/expressions/arrow-function/dstr- name: arrow function expression esid: sec-arrow-function-definitions-runtime-semantics-evaluation es6id: 14.2.16 +features: [destructuring-binding] info: | ArrowFunction : ArrowParameters => ConciseBody diff --git a/src/dstr-binding/default/cls-decl-gen-meth-static.template b/src/dstr-binding/default/cls-decl-gen-meth-static.template index 89d0a491a9..422369c017 100644 --- a/src/dstr-binding/default/cls-decl-gen-meth-static.template +++ b/src/dstr-binding/default/cls-decl-gen-meth-static.template @@ -5,6 +5,7 @@ path: language/statements/class/dstr-gen-meth-static- name: static class expression generator method esid: sec-runtime-semantics-bindingclassdeclarationevaluation es6id: 14.5.15 +features: [destructuring-binding] info: | ClassDeclaration : class BindingIdentifier ClassTail diff --git a/src/dstr-binding/default/cls-decl-gen-meth.template b/src/dstr-binding/default/cls-decl-gen-meth.template index 540134667b..cfe3af0a02 100644 --- a/src/dstr-binding/default/cls-decl-gen-meth.template +++ b/src/dstr-binding/default/cls-decl-gen-meth.template @@ -5,6 +5,7 @@ path: language/statements/class/dstr-gen-meth- name: class expression method esid: sec-class-definitions-runtime-semantics-evaluation es6id: 14.5.16 +features: [destructuring-binding] info: | ClassDeclaration : class BindingIdentifier ClassTail diff --git a/src/dstr-binding/default/cls-decl-meth-static.template b/src/dstr-binding/default/cls-decl-meth-static.template index 49ec0f5fb9..4ca18661ab 100644 --- a/src/dstr-binding/default/cls-decl-meth-static.template +++ b/src/dstr-binding/default/cls-decl-meth-static.template @@ -5,6 +5,7 @@ path: language/statements/class/dstr-meth-static- name: static class expression method esid: sec-runtime-semantics-bindingclassdeclarationevaluation es6id: 14.5.15 +features: [destructuring-binding] info: | ClassDeclaration : class BindingIdentifier ClassTail diff --git a/src/dstr-binding/default/cls-decl-meth.template b/src/dstr-binding/default/cls-decl-meth.template index 6893ae27dd..5fe49ac0a9 100644 --- a/src/dstr-binding/default/cls-decl-meth.template +++ b/src/dstr-binding/default/cls-decl-meth.template @@ -5,6 +5,7 @@ path: language/statements/class/dstr-meth- name: class expression method esid: sec-runtime-semantics-bindingclassdeclarationevaluation es6id: 14.5.15 +features: [destructuring-binding] info: | ClassDeclaration : class BindingIdentifier ClassTail diff --git a/src/dstr-binding/default/cls-expr-gen-meth-static.template b/src/dstr-binding/default/cls-expr-gen-meth-static.template index 5c77aa0ce4..54bbaa3f75 100644 --- a/src/dstr-binding/default/cls-expr-gen-meth-static.template +++ b/src/dstr-binding/default/cls-expr-gen-meth-static.template @@ -5,6 +5,7 @@ path: language/expressions/class/dstr-gen-meth-static- name: static class expression generator method esid: sec-class-definitions-runtime-semantics-evaluation es6id: 14.5.16 +features: [destructuring-binding] info: | ClassExpression : class BindingIdentifieropt ClassTail diff --git a/src/dstr-binding/default/cls-expr-gen-meth.template b/src/dstr-binding/default/cls-expr-gen-meth.template index 64f122facd..e2d5e9c6c0 100644 --- a/src/dstr-binding/default/cls-expr-gen-meth.template +++ b/src/dstr-binding/default/cls-expr-gen-meth.template @@ -5,6 +5,7 @@ path: language/expressions/class/dstr-gen-meth- name: class expression method esid: sec-class-definitions-runtime-semantics-evaluation es6id: 14.5.16 +features: [destructuring-binding] info: | ClassExpression : class BindingIdentifieropt ClassTail diff --git a/src/dstr-binding/default/cls-expr-meth-static.template b/src/dstr-binding/default/cls-expr-meth-static.template index a2da084d60..45aeb8c4d3 100644 --- a/src/dstr-binding/default/cls-expr-meth-static.template +++ b/src/dstr-binding/default/cls-expr-meth-static.template @@ -5,6 +5,7 @@ path: language/expressions/class/dstr-meth-static- name: static class expression method esid: sec-class-definitions-runtime-semantics-evaluation es6id: 14.5.16 +features: [destructuring-binding] info: | ClassExpression : class BindingIdentifieropt ClassTail diff --git a/src/dstr-binding/default/cls-expr-meth.template b/src/dstr-binding/default/cls-expr-meth.template index 258daef470..e982cc9533 100644 --- a/src/dstr-binding/default/cls-expr-meth.template +++ b/src/dstr-binding/default/cls-expr-meth.template @@ -5,6 +5,7 @@ path: language/expressions/class/dstr-meth- name: class expression method esid: sec-class-definitions-runtime-semantics-evaluation es6id: 14.5.16 +features: [destructuring-binding] info: | ClassExpression : class BindingIdentifieropt ClassTail diff --git a/src/dstr-binding/default/const-stmt.template b/src/dstr-binding/default/const-stmt.template index 716a5ec1a9..d3d75575c9 100644 --- a/src/dstr-binding/default/const-stmt.template +++ b/src/dstr-binding/default/const-stmt.template @@ -6,6 +6,7 @@ name: > `const` statement esid: sec-let-and-const-declarations-runtime-semantics-evaluation es6id: 13.3.1.4 +features: [destructuring-binding] info: | LexicalBinding : BindingPattern Initializer diff --git a/src/dstr-binding/default/func-decl.template b/src/dstr-binding/default/func-decl.template index 009e4a5d4c..8351735dbf 100644 --- a/src/dstr-binding/default/func-decl.template +++ b/src/dstr-binding/default/func-decl.template @@ -5,6 +5,7 @@ path: language/statements/function/dstr- name: function declaration esid: sec-function-definitions-runtime-semantics-instantiatefunctionobject es6id: 14.1.19 +features: [destructuring-binding] info: | FunctionDeclaration : function BindingIdentifier ( FormalParameters ) { FunctionBody } diff --git a/src/dstr-binding/default/func-expr.template b/src/dstr-binding/default/func-expr.template index eff40fa1cc..6e562cc015 100644 --- a/src/dstr-binding/default/func-expr.template +++ b/src/dstr-binding/default/func-expr.template @@ -5,6 +5,7 @@ path: language/expressions/function/dstr- name: function expression esid: sec-function-definitions-runtime-semantics-evaluation es6id: 14.1.20 +features: [destructuring-binding] info: | FunctionExpression : function ( FormalParameters ) { FunctionBody } diff --git a/src/dstr-binding/default/gen-func-decl.template b/src/dstr-binding/default/gen-func-decl.template index 1dcfd5aeaf..829d97587c 100644 --- a/src/dstr-binding/default/gen-func-decl.template +++ b/src/dstr-binding/default/gen-func-decl.template @@ -5,6 +5,7 @@ path: language/statements/generators/dstr- name: generator function declaration esid: sec-generator-function-definitions-runtime-semantics-instantiatefunctionobject es6id: 14.4.12 +features: [destructuring-binding] info: | GeneratorDeclaration : function * ( FormalParameters ) { GeneratorBody } diff --git a/src/dstr-binding/default/gen-func-expr.template b/src/dstr-binding/default/gen-func-expr.template index c7af4de38c..eb0b02239b 100644 --- a/src/dstr-binding/default/gen-func-expr.template +++ b/src/dstr-binding/default/gen-func-expr.template @@ -5,6 +5,7 @@ path: language/expressions/generators/dstr- name: generator function expression esid: sec-generator-function-definitions-runtime-semantics-evaluation es6id: 14.4.14 +features: [destructuring-binding] info: | GeneratorExpression : function * ( FormalParameters ) { GeneratorBody } diff --git a/src/dstr-binding/default/gen-meth.template b/src/dstr-binding/default/gen-meth.template index 0fbf8aad56..7f4d5f3cda 100644 --- a/src/dstr-binding/default/gen-meth.template +++ b/src/dstr-binding/default/gen-meth.template @@ -5,6 +5,7 @@ path: language/expressions/object/dstr-gen-meth- name: generator method esid: sec-generator-function-definitions-runtime-semantics-propertydefinitionevaluation es6id: 14.4.13 +features: [destructuring-binding] info: | GeneratorMethod : * PropertyName ( StrictFormalParameters ) { GeneratorBody } diff --git a/src/dstr-binding/default/let-stmt.template b/src/dstr-binding/default/let-stmt.template index f74870527f..953a998698 100644 --- a/src/dstr-binding/default/let-stmt.template +++ b/src/dstr-binding/default/let-stmt.template @@ -6,6 +6,7 @@ name: > `let` statement esid: sec-let-and-const-declarations-runtime-semantics-evaluation es6id: 13.3.1.4 +features: [destructuring-binding] info: | LexicalBinding : BindingPattern Initializer diff --git a/src/dstr-binding/default/meth.template b/src/dstr-binding/default/meth.template index 46e8e0aa50..7814d8155e 100644 --- a/src/dstr-binding/default/meth.template +++ b/src/dstr-binding/default/meth.template @@ -5,6 +5,7 @@ path: language/expressions/object/dstr-meth- name: method esid: sec-runtime-semantics-definemethod es6id: 14.3.8 +features: [destructuring-binding] info: | MethodDefinition : PropertyName ( StrictFormalParameters ) { FunctionBody } diff --git a/src/dstr-binding/default/var-stmt.template b/src/dstr-binding/default/var-stmt.template index b64cf266f0..23c94ba595 100644 --- a/src/dstr-binding/default/var-stmt.template +++ b/src/dstr-binding/default/var-stmt.template @@ -6,6 +6,7 @@ name: > `var` statement esid: sec-variable-statement-runtime-semantics-evaluation es6id: 13.3.2.4 +features: [destructuring-binding] info: | VariableDeclaration : BindingPattern Initializer