| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseParser.assertEquals(int expected,
int actual)
Assert that a certain expected code point matches the actual code point encountered.
|
protected void |
BaseParser.assertNext(int expected)
Skip over any whitespace, read the next code point, and assert that it matches the expected value.
|
protected void |
BaseParser.assertToken(String expected)
Assert that the reader is positioned at a given expected token.
|
protected void |
BaseParser.assertTokenIgnoreCase(String expected)
Assert that the reader is positioned at a given expected token without regard to case.
|
protected void |
BaseParser.assertWhitespace()
Assert that the next code point is a whitespace character, and skip over any subsequent whitespace characters.
|
protected void |
BaseParser.fail(String message)
Throw a ParseException whose message includes the current lineNumber and columnNumber
where the parse error occurred.
|
Copyright © 2019. All rights reserved.