()
| 15919 | }); |
| 15920 | } |
| 15921 | parse_expression() { |
| 15922 | unpack_destructuring({ |
| 15923 | contexts: this.contexts, |
| 15924 | node: this.node.expression.left, |
| 15925 | scope: this.scope, |
| 15926 | component: this.component |
| 15927 | }); |
| 15928 | this.expression = new Expression(this.component, this, this.scope, this.node.expression.right); |
| 15929 | this.contexts.forEach((context) => { |
| 15930 | const owner = this.scope.get_owner(context.key.name); |
| 15931 | if (owner && owner.type === "ConstTag" && owner.parent === this.parent) { |
| 15932 | this.component.error(this.node, compiler_errors.invalid_const_declaration(context.key.name)); |
| 15933 | } |
| 15934 | this.scope.add(context.key.name, this.expression.dependencies, this); |
| 15935 | }); |
| 15936 | } |
| 15937 | }; |
| 15938 | var PendingBlock = class extends AbstractBlock { |
| 15939 | constructor(component, parent, scope2, info) { |
no test coverage detected