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