Module antlr_rust::error_listener[][src]

Expand description

Error reporting

Structs

Default error listener that outputs errors to stderr

This implementation of ErrorListener can be used to identify certain potential correctness and performance problems in grammars. “Reports” are made by calling Parser::notify_error_listeners with the appropriate message.

Traits

Describes interface for listening on parser/lexer errors. Should only listen for errors, for processing/recovering from errors use ErrorStrategy