@NonNullByDefault
| Class | Description |
|---|---|
| Expansion |
This class deals with the process of expanding a parametric grammar into a ground one by generating all
ground instances of rules from (monomorphic) public entry points.
|
| Grammar |
A parser description is a set of grammar rules
along with arbitrary header and footer sections.
|
| Grammar.Builder |
A builder class for
Grammar, where rules can be
added incrementally, and which takes care of collecting
problem reports along the way |
| GrammarRule |
Describes a grammar rule for a non-terminal in a grammar
description.
|
| GrammarRule.Builder |
A builder class for grammar rules,
where productions can be added incrementally
|
| Grammars |
Static utilities about
Grammars |
| Grammars.Dependencies |
Represents the dependencies between the various non-terminals
in some grammar.
|
| Grammars.NTermsInfo |
Gathers the result of the computation of the
NULLABLE, FIRST and FOLLOW sets on non-terminals
in a given grammar
|
| Grammars.PredictionTable |
Instances of this class hold a prediction table for some
grammar.
|
| Grammars.PredictionTable.Builder |
A builder class for prediction tables
|
| Production |
A grammar production consists of
a sequence of production items
some of them being actual grammar items
(terminals or non-terminals) and others being
simply semantic actions.
|
| Production.ActionItem |
Represents a semantic action item, i.e. a semantic
action which is performed by the generated parser
when the enclosing production rule is executed.
|
| Production.Actual |
Represents an actual production item, i.e.
|
| Production.Builder |
Builder class for productions, allows adding
production items incrementally
|
| Production.Continue |
Represents a continuation of the current rule,
and unlike the equivalent actual,
this allows the generator to produce an optimized
tail-recursive call.
|
| Production.Item |
The base class for production items.
|
| Enum | Description |
|---|---|
| Production.ItemKind |
Enumeration which describes the different kinds of
implementations of
Production.Item. |
| Exception | Description |
|---|---|
| Expansion.PGrammarNotExpandable |
Exception thrown when
Expansion.checkExpandability(PGrammar)
finds a potentially dangerous cycle preventing the expansion of a grammar. |
| Grammar.IllFormedException |
Exception raised by the grammar builder class
when trying to construct an ill-formed grammar description.
|