| Package | Description |
|---|---|
| xtc.parser |
| Modifier and Type | Field and Description |
|---|---|
NonTerminal |
Production.name
The name.
|
NonTerminal |
Production.qName
The fully qualified name.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<NonTerminal,NonTerminal> |
Resolver.badNTs
The identity hash map of erroneous nonterminals.
|
protected java.util.Map<NonTerminal,NonTerminal> |
Resolver.badNTs
The identity hash map of erroneous nonterminals.
|
protected java.util.Map<NonTerminal,java.lang.Integer> |
CodeGenerator.chunkMap
The map from nonterminals to chunk numbers.
|
protected java.util.Map<NonTerminal,NonTerminal> |
DuplicateProductionFolder.folded
The map of from folded nonterminals to replacement nonterminals.
|
protected java.util.Map<NonTerminal,NonTerminal> |
DuplicateProductionFolder.folded
The map of from folded nonterminals to replacement nonterminals.
|
protected java.util.Map<NonTerminal,java.lang.Object> |
Analyzer.grammarPMap
The grammar-wide map from nonterminals to productions.
|
protected java.util.Map<NonTerminal,FullProduction> |
Analyzer.pMap
The map from nonterminals to productions for the current module.
|
protected java.util.Set<NonTerminal> |
Analyzer.pMarked
The set of nonterminals corresponding to productions having
been marked.
|
protected java.util.Set<NonTerminal> |
Analyzer.pProcessed
The set of nonterminals corresponding to productions having
been processed.
|
protected java.util.Set<NonTerminal> |
Analyzer.pWorking
The set of nonterminals corresponding to productions currently
being processed.
|
protected java.util.Set<NonTerminal> |
RootFinder.topLevel
The set of qualified top-level nonterminals.
|
| Modifier and Type | Method and Description |
|---|---|
protected NonTerminal |
ChoiceExpander.candidate(Sequence alternative,
boolean top)
Determine whether the specified alternative is a candidate for
replacement.
|
NonTerminal |
Analyzer.choice()
Create a new nonterminal for a choice.
|
NonTerminal |
Renamer.Translation.map(NonTerminal nt,
Analyzer analyzer)
Map the specified nonterminal to its replacement, which may be
the same as the original.
|
NonTerminal |
ModuleMap.map(NonTerminal nt,
Analyzer analyzer) |
NonTerminal |
Analyzer.option()
Create a new nonterminal for an option.
|
NonTerminal |
Analyzer.plus()
Create a new nonterminal for one or more repetitions.
|
NonTerminal |
NonTerminal.qualify(java.lang.String module)
Qualify this nonterminal.
|
NonTerminal |
NonTerminal.rename(ModuleMap renaming)
Rename this nonterminal.
|
NonTerminal |
Analyzer.shared()
Create a new nonterminal for a shared production.
|
NonTerminal |
Analyzer.split()
Create a new nonterminal for a split.
|
NonTerminal |
Analyzer.star()
Create a new nonterminal for zero or more repetitions.
|
NonTerminal |
Analyzer.tail()
Create a new nonterminal for a tail production.
|
NonTerminal |
NonTerminal.unqualify()
Unqualify this nonterminal.
|
NonTerminal |
ElementVoider.visit(NonTerminal nt)
Visit the specified nonterminal.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<NonTerminal> |
Analyzer.marked()
Get the set of marked nonterminals.
|
java.util.Set<NonTerminal> |
LeftRecurser.recursive()
Get the set of nonterminals corresponding to left-recursive
productions.
|
java.util.Set<NonTerminal> |
ProductionVoider.Tester.voidable()
Get the set of nonterminals corresponding to voidable
productions.
|
java.util.Set<NonTerminal> |
Analyzer.working()
Get the set of nonterminals being worked on.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
CodeGenerator.fieldName(NonTerminal nt,
java.lang.String prefix)
Generate a field name for the specified nonterminal.
|
boolean |
Analyzer.isBeingWorkedOn(NonTerminal nt)
Determine whether the specified nonterminal is being worked on.
|
boolean |
Analyzer.isMarked(NonTerminal nt)
Determine whether the specified nonterminal has been marked.
|
boolean |
Analyzer.isProcessed(NonTerminal nt)
Determine whether the specified nonterminal has been processed.
|
static boolean |
Analyzer.isSynthetic(NonTerminal nt)
Determine whether the specified nonterminal is synthetic.
|
protected void |
Transformer.Lifter.lift(Type type,
NonTerminal nt,
OrderedChoice c)
Create a new production with the specified type, nonterminal,
and ordered choice.
|
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.
|
NonTerminal |
Renamer.Translation.map(NonTerminal nt,
Analyzer analyzer)
Map the specified nonterminal to its replacement, which may be
the same as the original.
|
NonTerminal |
ModuleMap.map(NonTerminal nt,
Analyzer analyzer) |
void |
Analyzer.mark(NonTerminal nt)
Mark the specified nonterminal.
|
java.lang.String |
CodeGenerator.methodName(NonTerminal nt)
Generate the method name for the specified nonterminal.
|
void |
Analyzer.notWorkingOn(NonTerminal nt)
Set the status of the specified nonterminal as not being worked
on.
|
protected void |
Transformer.Desugarer.process(Sequence s,
NonTerminal nt)
Process the specified sequence.
|
void |
Analyzer.processed(NonTerminal nt)
Set the status of the specified nonterminal as processed.
|
void |
Analyzer.unmark(NonTerminal nt)
Unmark the specified nonterminal.
|
Element |
Inliner.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
MetaDataSetter.visit(NonTerminal nt)
Analyze the specified nonterminal.
|
Element |
Generifier.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
TextTester.visit(NonTerminal nt)
Visit the specified nonterminal.
|
java.lang.Boolean |
EquivalenceTester.visit(NonTerminal nt1)
Visit the specified nonterminal.
|
Element |
Tokenizer.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
Tokenizer.Tester.visit(NonTerminal nt)
Visit the specified nonterminal.
|
Element |
DeadProductionEliminator.visit(NonTerminal nt)
Visit the specified nonterminal.
|
Element |
Renamer.visit(NonTerminal nt)
Visit the specified nonterminal.
|
NonTerminal |
ElementVoider.visit(NonTerminal nt)
Visit the specified nonterminal.
|
Element |
RootFinder.visit(NonTerminal nt)
Visit the specified nonterminal.
|
Element |
ReferenceCounter.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
Resolver.visit(NonTerminal nt)
Analyze the specified nonterminal.
|
void |
CodeGenerator.visit(NonTerminal nt)
Generate code for the specified nonterminal.
|
Element |
ProductionVoider.Tester.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
HtmlPrinter.visit(NonTerminal nt) |
void |
PrettyPrinter.visit(NonTerminal nt)
Print the specified nonterminal.
|
Element |
DirectLeftRecurser.visit(NonTerminal nt)
Visit the specified nonterminal.
|
java.lang.Integer |
CostEstimator.visit(NonTerminal nt)
Visit the specified nonterminal.
|
Element |
DuplicateProductionFolder.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
LeftRecurser.visit(NonTerminal nt)
Visit the specified nonterminal.
|
void |
Analyzer.workingOn(NonTerminal nt)
Set the status of the specified nonterminal as being worked on.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Analyzer.mark(java.util.Collection<NonTerminal> nts)
Mark the specified nonterminals.
|
| Constructor and Description |
|---|
AlternativeAddition(java.lang.String dType,
NonTerminal name,
OrderedChoice choice,
SequenceName sequence,
boolean isBefore)
Create a new alternative addition.
|
AlternativeRemoval(java.lang.String dType,
NonTerminal name,
java.util.List<SequenceName> sequences)
Create a new alternative removal.
|
FullProduction(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
OrderedChoice choice)
Create a new full production.
|
FullProduction(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new full production.
|
NonTerminal(NonTerminal nt)
Create a new nonterminal that is a copy of the specified
nonterminal.
|
PartialProduction(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
OrderedChoice choice)
Create a new partial production.
|
Production(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new production.
|
Production(java.util.List<Attribute> attributes,
Type type,
NonTerminal name,
NonTerminal qName,
OrderedChoice choice)
Create a new production.
|
ProductionOverride(java.util.List<Attribute> attributes,
java.lang.String dType,
NonTerminal name)
Create a new production override.
|
ProductionOverride(java.lang.String dType,
NonTerminal name,
OrderedChoice choice,
boolean isComplete)
Create a new production override.
|
Copyright © 2014. All Rights Reserved.