Module type Error_reporter.FAILED_PARSER

Needed functions from a failed parser i.e. a parser which has failed either with a syntax error or a semantic error.

type t
type expect = string * Indent.expectation option
type semantic
val has_failed_syntax : t -> bool
val failed_expectations : t -> expect list
val failed_semantic : t -> semantic
val position : t -> Position.t