| pnuts.lang.ParseEnvironment
All known Subclasses: org.pnuts.lang.DefaultParseEnv,
ParseEnvironment | public interface ParseEnvironment (Code) | | This class defines how to handle ParseException thrown by the parser. The
instances can be passed to Pnuts.parse(..) method in order to customize the
way of error recovery of parsing.
|
handleParseException | void handleParseException(ParseException e) throws ParseException(Code) | | Thie method defines how to deal with parse errors
Parameters: e - a ParseException object passed by the parser exception: ParseException - this method may rethrow the ParseException |
|
|