Package sjm.parse

Class Summary
Alternation An Alternation object is a collection of parsers, any one of which can successfully match against an assembly.
Assembler Parsers that have an Assembler ask it to work on an assembly after a successful match.
Assembly An assembly maintains a stream of language elements along with stack and target objects.
CollectionParser This class abstracts the behavior common to parsers that consist of a series of other parsers.
Empty An Empty parser matches any assembly once, and applies its assembler that one time.
Parser A Parser is an object that recognizes the elements of a language.
ParserTester This class generates random language elements for a parser and tests that the parser can accept them.
ParserVisitor This class provides a "visitor" hierarchy in support of the Visitor pattern -- see the book, "Design Patterns" for an explanation of this pattern.
Repetition A Repetition matches its underlying parser repeatedly against a assembly.
Sequence A Sequence object is a collection of parsers, all of which must in turn match against an assembly for this parser to successfully match.
Terminal A Terminal is a parser that is not a composition of other parsers.