| Package | Description |
|---|---|
| xtc.parser |
| Modifier and Type | Field and Description |
|---|---|
protected FullProduction |
Transformer.production
The current (full) production.
|
protected FullProduction |
VariantSorter.production
The current production.
|
protected FullProduction |
VariantSorter.Typer.production
The current production.
|
protected FullProduction |
DirectLeftRecurser.pTail
The new tail production.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<NonTerminal,FullProduction> |
Analyzer.pMap
The map from nonterminals to productions for the current module.
|
| Modifier and Type | Method and Description |
|---|---|
FullProduction |
Analyzer.lookup(NonTerminal nt)
Look up the production for the specified nonterminal.
|
FullProduction |
Analyzer.lookup(NonTerminal nt,
Module m)
Look up the production for the specified nonterminal, which is
also defined by the specified module.
|
FullProduction |
Analyzer.lookupGlobally(NonTerminal nt)
Look up the production for the specified qualified nonterminal.
|
FullProduction |
Copier.visit(FullProduction p)
Copy the specified full production.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Analyzer.add(FullProduction p)
Prepare the specified production for addition to the grammar
module.
|
protected void |
Resolver.apply(AlternativeAddition p1,
FullProduction p2)
Apply the specified alternative addition to the specified full
production.
|
protected void |
Resolver.apply(AlternativeRemoval p1,
FullProduction p2)
Apply the specified alternative removal to the specified full
production.
|
protected void |
Resolver.apply(ProductionOverride p1,
FullProduction p2)
Apply the specified production override to the specified full
production.
|
static boolean |
DirectLeftRecurser.isBase(Sequence s,
FullProduction p)
Determine whether the specified sequence represents a base case
for a direct left-recursion.
|
static boolean |
Generifier.isGeneric(FullProduction p)
Determine whether the specified production is a generic node or a
generic recursion production.
|
static boolean |
Annotator.isGeneric(FullProduction p)
Determine whether the specified production effectively is
generic.
|
static boolean |
Generifier.isGenericNode(FullProduction p)
Determine whether the specified production is a generic node
production.
|
static boolean |
Generifier.isGenericRecursion(FullProduction p)
Determine whether the specified production is a generic recursion
production.
|
static boolean |
DirectLeftRecurser.isRecursive(Sequence s,
FullProduction p)
Determine whether the specified sequence is directly
left-recursive.
|
static boolean |
Annotator.isSingleRepetition(FullProduction p)
Determine whether the specified production recognizes only a
single repetition.
|
static boolean |
DirectLeftRecurser.isTransformable(FullProduction p)
Determine whether the specified production contains a direct
left-recursion that is transformable into the corresponding
right-recursion by this visitor.
|
static boolean |
Annotator.isValuable(FullProduction p)
Determine whether the specified production can have a semantic
value.
|
static void |
Generifier.markGenericNode(FullProduction p,
boolean verbose)
Mark the specified production as a generic node production.
|
static void |
Generifier.markGenericRecursion(FullProduction p,
boolean verbose)
Mark the specified production as a generic recursion production.
|
protected void |
Transformer.process(FullProduction p)
Process the specified production.
|
void |
Analyzer.remove(FullProduction p)
Prepare the specified production for removal from the grammar.
|
void |
Generifier.visit(FullProduction p)
Visit the specified production.
|
void |
Annotator.visit(FullProduction p)
Visit the specified production.
|
void |
Annotator.Detector.visit(FullProduction p)
Visit the specified production.
|
void |
Annotator.Rewriter.visit(FullProduction p)
Visit the specified production.
|
void |
ValueChecker.visit(FullProduction p)
Visit the specified full production.
|
void |
TreeExtractor.visit(FullProduction p)
Visit the specified full production.
|
void |
Transformer.visit(FullProduction p)
Visit the specified production.
|
void |
ElementVoider.visit(FullProduction p)
Visit the specified full production.
|
FullProduction |
Copier.visit(FullProduction p)
Copy the specified full production.
|
void |
ListMaker.visit(FullProduction p)
Visit the specified full production.
|
void |
CodeGenerator.visit(FullProduction p)
Generate code for the specified production.
|
void |
PrettyPrinter.visit(FullProduction p)
Print the specified full production.
|
void |
DirectLeftRecurser.visit(FullProduction p)
Visit the specified production.
|
void |
ReachabilityChecker.visit(FullProduction p)
Visit the specified full production.
|
void |
VariantSorter.visit(FullProduction p)
Visit the specified production.
|
void |
VariantSorter.Registrar.visit(FullProduction p)
Visit the specified full production.
|
Type |
VariantSorter.Typer.visit(FullProduction p)
Visit the specified full production.
|
void |
LeftRecurser.visit(FullProduction p)
Visit the specified production.
|
Copyright © 2014. All Rights Reserved.