| Package | Description |
|---|---|
| xtc.parser |
| Modifier and Type | Field and Description |
|---|---|
protected Sequence |
Annotator.Rewriter.alternative
The current top-level alternative.
|
protected Sequence |
TreeTyper.sequence
The current sequence.
|
| Modifier and Type | Field and Description |
|---|---|
java.util.List<Sequence> |
OrderedChoice.alternatives
The ordered list of sequences.
|
protected java.util.List<Sequence> |
Annotator.Rewriter.replacements
The list of replacement sequences.
|
protected java.util.List<Sequence> |
Annotator.sequences
The elements as a list of sequences.
|
| Modifier and Type | Method and Description |
|---|---|
Sequence |
Sequence.add(Element e)
Add the specified element to this sequence.
|
Sequence |
Sequence.addAll(java.util.List<Element> l)
Add all elements in the specified list to this sequence.
|
Sequence |
Sequence.clear()
Remove all elements from this sequence.
|
static Sequence |
Sequence.ensure(Element e)
Ensure that the specified element is a sequence.
|
Sequence |
Analyzer.normalizePrefix(Sequence s1,
Sequence s2)
Normalize the specified sequences for
joining with other sequences
during prefix folding. |
Sequence |
Analyzer.normalizeTerminals(Sequence s)
Normalize the specified sequence for
joining with other elements
during terminal optimization. |
protected Sequence |
Transformer.Lifter.process(Element e,
boolean bound)
Process the specified repeated, optional, or predicated
element.
|
Sequence |
Sequence.subSequence(int start)
Create a new subsequence from the specified start index.
|
Sequence |
Sequence.subSequence(int start,
int end)
Create a new subsequence for the specified indices.
|
Sequence |
Copier.visit(Sequence s)
Copy the specified sequence.
|
| Modifier and Type | Method and Description |
|---|---|
protected NonTerminal |
ChoiceExpander.candidate(Sequence alternative,
boolean top)
Determine whether the specified alternative is a candidate for
replacement.
|
static java.util.List<Binding> |
Properties.getFormatting(Sequence s)
Get the value of the formatting property.
|
boolean |
Analyzer.hasTerminalPrefix(Sequence s)
Determine whether the specified sequence starts with terminals
that can be optimized.
|
boolean |
Analyzer.haveCommonPrefix(Sequence s1,
Sequence s2)
Determine whether the specified sequences start with prefixes
that can be folded.
|
static boolean |
DirectLeftRecurser.isBase(Sequence s,
FullProduction p)
Determine whether the specified sequence represents a base case
for a direct left-recursion.
|
static boolean |
DirectLeftRecurser.isRecursive(Sequence s,
FullProduction p)
Determine whether the specified sequence is directly
left-recursive.
|
Element |
Analyzer.joinPrefixes(Sequence source,
Element target)
Join the specified sequence with the specified element.
|
Element |
Analyzer.joinTerminals(Sequence source,
Element target)
Join the specified sequence with the specified element.
|
Sequence |
Analyzer.normalizePrefix(Sequence s1,
Sequence s2)
Normalize the specified sequences for
joining with other sequences
during prefix folding. |
Sequence |
Analyzer.normalizeTerminals(Sequence s)
Normalize the specified sequence for
joining with other elements
during terminal optimization. |
protected void |
Transformer.Desugarer.process(Sequence s,
NonTerminal nt)
Process the specified sequence.
|
Element |
TerminalOptimizer.visit(Sequence s)
Visit the specified sequence.
|
void |
MetaDataSetter.visit(Sequence s)
Analyze the specified sequence.
|
Element |
Generifier.visit(Sequence s)
Visit the specified sequence.
|
void |
Annotator.visit(Sequence s)
Visit the specified sequence.
|
void |
Annotator.Detector.visit(Sequence s)
Visit the specified sequence.
|
void |
Annotator.Rewriter.visit(Sequence s)
Visit the specified sequence.
|
void |
TextTester.visit(Sequence s)
Visit the specified sequence.
|
void |
ValueChecker.visit(Sequence s)
Visit the specified sequence.
|
java.lang.Boolean |
EquivalenceTester.visit(Sequence s1)
Visit the specified sequence.
|
void |
Tokenizer.Tester.visit(Sequence s)
Visit the specified sequence.
|
Element |
GrammarVisitor.visit(Sequence s)
Visit the specified sequence.
|
void |
TreeExtractor.visit(Sequence s)
Visit the specified sequence.
|
void |
Transformer.Deducer.visit(Sequence s)
Visit the specified sequence.
|
void |
Transformer.Typer.visit(Sequence s)
Visit the specified sequence.
|
Element |
ElementVoider.visit(Sequence s)
Visit the specified sequence.
|
Sequence |
Copier.visit(Sequence s)
Copy the specified sequence.
|
void |
ListMaker.visit(Sequence s)
Visit the specified sequence.
|
void |
Resolver.visit(Sequence s)
Analyze the specified sequence.
|
Element |
Simplifier.visit(Sequence s)
Visit the specified sequence.
|
Element |
ChoiceExpander.visit(Sequence s)
Visit the specified sequence.
|
void |
PrettyPrinter.visit(Sequence s)
Print the specified sequence.
|
Element |
DirectLeftRecurser.visit(Sequence s)
Visit the specified sequence.
|
void |
ReachabilityChecker.visit(Sequence s)
Visit the specified sequence.
|
java.lang.Integer |
CostEstimator.visit(Sequence s)
Visit the specified sequence.
|
void |
VariantSorter.visit(Sequence s)
Visit the specified sequence.
|
void |
VariantSorter.Registrar.visit(Sequence s)
Visit the specified sequence.
|
void |
VariantSorter.Typer.visit(Sequence s)
Visit the specified sequence.
|
void |
TreeTyper.visit(Sequence s)
Visit the specified sequence.
|
void |
LeftRecurser.visit(Sequence s)
Visit the specified sequence.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PrettyPrinter.print(java.util.List<Sequence> alternatives,
java.lang.String mark)
Print the specified alternatives.
|
| Constructor and Description |
|---|
OrderedChoice(java.util.List<Sequence> alternatives)
Create a new ordered choice.
|
Copyright © 2014. All Rights Reserved.