(parser)
| 9593 | }); |
| 9594 | } |
| 9595 | static parse(parser) { |
| 9596 | let setCmd = parser.parseElement("setCommand"); |
| 9597 | if (setCmd) { |
| 9598 | if (setCmd.target.scope === "local") { |
| 9599 | parser.raiseError( |
| 9600 | "variables declared at the feature level cannot be locally scoped (use :foo, ^foo, $foo, or an @attribute target instead)." |
| 9601 | ); |
| 9602 | } |
| 9603 | let setFeature = new _SetFeature(setCmd); |
| 9604 | parser.ensureTerminated(setCmd); |
| 9605 | return setFeature; |
| 9606 | } |
| 9607 | } |
| 9608 | }; |
| 9609 | |
| 9610 | // src/parsetree/features/init.js |
nothing calls this directly
no test coverage detected