Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module type Interfaces.NORMAL_PARSER
A normal parser parses a stream of tokens like a MINIMAL_PARSER. In addition it can have a state and semantic errors.
A parser p is a sink of token. As long as it signals needs_more p more token can be pushed into the parser via put token p or the input stream can be ended via put_end p.
has_ended p is equivalent to not (needs_more p). has_ended p signals that the parser has either succeeded or failed.
If it has succeeded the final value is available via final p.