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