(parser)
| 1443 | return parser.parseAnyOf(this.#topExpressions); |
| 1444 | } |
| 1445 | parseAssignableExpression(parser) { |
| 1446 | parser.matchToken("the"); |
| 1447 | var expr = parser.parseElement("primaryExpression"); |
| 1448 | var checkExpr = expr; |
| 1449 | while (checkExpr && checkExpr.type === "parenthesized") { |
| 1450 | checkExpr = checkExpr.expr; |
| 1451 | } |
| 1452 | if (checkExpr && this.#assignableExpressions.includes(checkExpr.type)) { |
| 1453 | return expr; |
| 1454 | } else { |
| 1455 | parser.raiseError( |
| 1456 | "A target expression must be writable. The expression type '" + (checkExpr && checkExpr.type) + "' is not." |
| 1457 | ); |
| 1458 | } |
| 1459 | } |
| 1460 | parseIndirectStatement(parser, root) { |
| 1461 | if (parser.matchToken("unless")) { |
| 1462 | root.endToken = parser.lastMatch(); |
nothing calls this directly
no test coverage detected