Package | Description |
---|---|
jfun.parsec |
Provides classes and interfaces for parser combinator logic and basic parsers.
|
Modifier and Type | Class and Description |
---|---|
class |
Catch1<T>
Catch1 implements Catch and recovers the exception only when the exception is the same object that it expects.
|
Modifier and Type | Method and Description |
---|---|
static <R> Parser<R> |
Parsers.tryParser(Parser<R> p,
Catch<? extends R> hdl)
if Parser p throws an exception, it is handled by Catch hdl.
|
static <R> Parser<R> |
Parsers.tryParser(java.lang.String name,
Parser<R> p,
Catch<? extends R> hdl)
if Parser p throws an exception, it is handled by Catch hdl.
|