(String syntax)
| 1499 | |
| 1500 | // Require an exact match |
| 1501 | private Parser require(String syntax) { require(null, syntax); return this; } |
| 1502 | private <N> N require(N n, String syntax) { |
| 1503 | if (match(syntax)) return n; |
| 1504 | throw errorSyntax(syntax); |
no test coverage detected