| Package | Description |
|---|---|
| org.stekikun.dolmen.codegen | |
| org.stekikun.dolmen.debug |
This package contains generic utility functions to help debug
Dolmen-generated lexical analyzers and parsers.
|
| org.stekikun.dolmen.unparam |
| Class and Description |
|---|
| Grammar
A parser description is a set of grammar rules
along with arbitrary header and footer sections.
|
| Grammars.PredictionTable
Instances of this class hold a prediction table for some
grammar.
|
| Class and Description |
|---|
| Grammar
A parser description is a set of grammar rules
along with arbitrary header and footer sections.
|
| Class and Description |
|---|
| Expansion.PGrammarNotExpandable
Exception thrown when
Expansion.checkExpandability(PGrammar)
finds a potentially dangerous cycle preventing the expansion of a grammar. |
| 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.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.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.
|
| Production.ItemKind
Enumeration which describes the different kinds of
implementations of
Production.Item. |