Interface | Description |
---|---|
Recognizer |
A Recognizer recognizes certain input sequences of characters available on a
BacktrackScanner, and invokes a continuation for each recognized sequence.
|
Recognizer.Continuation |
The remainder of a computation that can be performed after recognizing input.
|
Class | Description |
---|---|
BacktrackScanner |
A scanner class that, unlike
java.util.Scanner , supports arbitrary
lookahead and backtracking. |
BacktrackScanner.Location |
An input character along with information about the source of the
character, and its line number and position within the line.
|
PredictiveRecognizer |
A Recognizer that decides what other recognizer to use based on the lookahead character.
|
Regex |
Regular expression support for
easyIO.Scanner |
Scanner |
A
BacktrackScanner extended with helpful methods for parsing common
things. |
StdIO |
Easy access to standard input and standard output, without fussing with exceptions.
|
Exception | Description |
---|---|
EOF |
Represents the end of the input ("end of file") being reached.
|
Recognizer.Success |
Represents successful matching of the input stream by a recognizer.
|
UnexpectedInput |
Represents encountering input that does not match the expected syntax.
|
StdIO
: easy input from and output to the console.
Scanner
: powerful scanning with arbitrary lookahead and rollback.
Regex
: regular expression support for Scanner
.