Provides generic parser classes that can be used for any parsing application.

Package Specification

The assembly contains the current state of the parser, i.e its position in the sequence of things to scan and the results of the scan so far.

The parsers are constructed in a composition pattern to match the grammar. I.e. any grammar can be expressed in terms of a composition of alternations, sequences, repetitions and terminals. They are matched the input in the assembly. If a match is detected they call their associated assembler to build up the object model with the recognized construct.

The LookAheadSequence parser will not consume anything from the input unless the whole sequence is matched.

Because regular Sequence parsers do consume things from the input sequence, they might run into a situation where they are not able to match the entire sequence but yet they have consumed tokens from the input. In this case they call their IncompleteSequenceHandler to do error recovery. @see com.ibm.etools.parse.Assembly @see com.ibm.etools.parse.Parser @see com.ibm.etools.parse.Assembler