(...expected)
| 1252 | throw new ParseRecoverySentinel(parseError); |
| 1253 | } |
| 1254 | raiseExpected(...expected) { |
| 1255 | var msg = expected.length === 1 ? "Expected '" + expected[0] + "' but found '" + this.currentToken().value + "'" : "Expected one of: " + expected.map((e) => "'" + e + "'").join(", "); |
| 1256 | this.raiseError(msg, expected); |
| 1257 | } |
| 1258 | // =========================== |
| 1259 | // Parser-owned methods |
| 1260 | // =========================== |
no test coverage detected