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