| Package | Description |
|---|---|
| xtc.parser |
| Modifier and Type | Class and Description |
|---|---|
class |
AlternativeAddition
An alternative addition.
|
class |
AlternativeRemoval
An alternative removal.
|
class |
FullProduction
A complete production.
|
class |
PartialProduction
A partial production.
|
class |
ProductionOverride
A production override.
|
| Modifier and Type | Field and Description |
|---|---|
protected Production |
Analyzer.pCurrent
The current production.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Production> |
Analyzer.pNew
The list of newly added productions.
|
java.util.List<Production> |
Module.productions
The list of productions.
|
protected java.util.List<Production> |
VariantSorter.productions
The productions to be processed in push mode.
|
| Modifier and Type | Method and Description |
|---|---|
Production |
Analyzer.current()
Get the production currently being processed.
|
protected Production |
Transformer.current()
Get the current production.
|
protected Production |
Resolver.strip(Production p)
Strip the specified production's ordered choice.
|
Production |
GrammarVisitor.visit(Production p)
Visit the specified production.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EquivalenceTester.areEquivalent(Production p1,
Production p2)
Determine whether the specified productions are equivalent.
|
java.lang.Object |
Analyzer.enter(Production p)
Enter the specified production.
|
protected void |
HtmlPrinter.enter(Production p) |
protected void |
PrettyPrinter.enter(Production p)
Enter the specified production.
|
protected void |
HtmlPrinter.exit(Production p) |
protected void |
PrettyPrinter.exit(Production p)
Exit the specified production.
|
static java.util.List<java.lang.String> |
Properties.getDuplicates(Production p)
Get the value of the duplicates property.
|
protected void |
Inliner.inlined(Production p)
Record that the specified production has been inlined and, if
necessary, print a message to the console.
|
protected void |
ChoiceExpander.inlined(Production p)
Record that the specified production has been inlined and, if
necessary, print a message to the console.
|
protected boolean |
Inliner.isBasic(Production p)
Determine whether the specified production is void, text-only, or
token-level.
|
boolean |
Analyzer.isDefined(Production p,
Module m)
Determine whether the specified production is defined by the
specified module.
|
boolean |
Analyzer.isImported(Production p,
Module m)
Determine whether the specified production is defined by a module
imported by the specified module.
|
protected void |
Tokenizer.Tester.mark(Production p)
Mark the specified production as lexical.
|
static void |
TextTester.markTextOnly(Production p,
boolean verbose)
Mark the specified production as text-only.
|
static void |
Tokenizer.markToken(Production p,
boolean verbose)
Mark the specified production as token-level.
|
protected Type |
VariantSorter.merge(VariantT v1,
VariantT v2,
Production p)
Merge the two variants.
|
void |
Analyzer.process(Production p)
Process the specified production.
|
protected void |
VariantSorter.setType(Production p,
Type t)
Set the specified production's type to the specified type.
|
protected Production |
Resolver.strip(Production p)
Strip the specified production's ordered choice.
|
Type |
VariantSorter.Typer.type(Production p,
boolean create)
Determine the specified generic production's variant type.
|
void |
MetaDataSetter.visit(Production p)
Analyze the specified production.
|
void |
TextTester.visit(Production p)
Visit the specified production.
|
void |
Tokenizer.Tester.visit(Production p)
Visit the specified production.
|
Production |
GrammarVisitor.visit(Production p)
Visit the specified production.
|
void |
Transformer.Deducer.visit(Production p)
Visit the specified production.
|
void |
Transformer.Desugarer.visit(Production p)
Visit the specified production.
|
void |
Transformer.Typer.visit(Production p)
Visit the specified production.
|
void |
Resolver.visit(Production p)
Analyze the specified production.
|
java.lang.Integer |
CostEstimator.visit(Production p)
Visit the specified production.
|
void |
MetaDataCreator.visit(Production p)
Visit the specified production.
|
void |
TreeTyper.visit(Production p)
Visit the specified production.
|
| Constructor and Description |
|---|
Module(Comment documentation,
ModuleName name,
ModuleList parameters,
java.util.List<ModuleDependency> dependencies,
Action header,
Action body,
Action footer,
java.util.List<Attribute> attributes,
java.util.List<Production> productions)
Create a new grammar module.
|
Copyright © 2014. All Rights Reserved.