Package oops.parser

Interface Summary
Goal describes what each nonterminal must be able to do during parsing.
GoalMaker Every Rule knows one GoalMaker.
GoalMakerFactory A GoalMakerFactory is called to produce a GoalMaker for a rule.
Reduce describes what each nonterminal must be able to do during parsing.
ReduceLit marks that Lit-Objects should also be presented to reduce().
Scanner describes what a scanner for an oops-generated parser must do.
Screener describes what Scanner must tell Parser during generation.
 

Class Summary
Alt represents alternatives: node { "|" node }.
DebuggerGoalMakerFactory The debugger factory.
DefaultGoalMakerFactory The default factory.
GoalAdapter trivial implementation, reduces to first node.
GoalDebugger trivial implementation with trace.
GoalReducer wraps Reduce as a Goal, sends reduce(Object[]).
Id represents identifier.
Lit represents explicit, quoted string.
Many represents zero or more occurrences: [{ alt }].
Node describes what each node in an oops-generated parser can do.
Opt represents zero or one occurrence: [ alt ].
Parser represents start symbol of an oops-generated parser: rule { rule }.
Rule represents grammar rule: id : alt .
Seq represents a sequence of nodes.
Set manages lookahead set.
Some represents one or more occurrences: { node }.
Token represents class of terminal symbols.