| Package | Description |
|---|---|
| xtc.parser |
| Modifier and Type | Field and Description |
|---|---|
Binding |
BindingValue.binding
The binding.
|
Binding |
ActionBaseValue.list
The binding for the list.
|
Binding |
GenericRecursionValue.list
The binding for the variable referencing the next pair.
|
Binding |
ParseTreeNode.node
The binding capturing the annotated node, which may be
null. |
Binding |
ActionBaseValue.seed
The binding for the seed.
|
protected Binding |
DirectLeftRecurser.seed
The binding for the seed value.
|
Binding |
ProperListValue.tail
The optional binding for the tail.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.util.List<Binding>> |
Annotator.after
The list of bindings for valuable elements after the regular,
bindable value, organized as a stack of copies.
|
protected java.util.List<java.util.List<Binding>> |
Annotator.before
The list of bindings for valuable elements before the regular,
bindable value, organized as a stack of copies.
|
protected java.util.List<Binding> |
Generifier.children
The list of variables representing the children of the generic
node to be created.
|
java.util.List<Binding> |
GenericValue.children
The list of bindings representing the generic node's children.
|
protected java.util.List<Binding> |
DirectLeftRecurser.children
The list of variables representing the children of the generic
node to be created.
|
java.util.List<Binding> |
ProperListValue.elements
The list of bindings for the elements.
|
java.util.List<Binding> |
GenericValue.formatting
The bindings capturing any formatting.
|
java.util.List<Binding> |
ParseTreeNode.predecessors
The bindings capturing the values preceding the annotated node.
|
protected java.util.List<Binding> |
Copier.source
The list of source bindings.
|
java.util.List<Binding> |
ParseTreeNode.successors
The bindings capturing the values succeeding the annotated node.
|
protected java.util.List<Binding> |
Copier.target
The list of target bindings.
|
| Modifier and Type | Method and Description |
|---|---|
protected Binding |
Generifier.bind(Element e)
Create a binding for the specified element.
|
protected Binding |
Transformer.Lifter.bind(Element e)
Bind the specified element.
|
protected Binding |
DirectLeftRecurser.bind(Element e)
Create a binding for the specified element.
|
Binding |
Analyzer.bind(java.util.List<Element> l)
Bind the elements in the specified list.
|
Binding |
Analyzer.bind(java.util.List<Element> l,
java.lang.String marker)
Bind the elements in the specified list.
|
protected Binding |
Annotator.bindAndVoid()
Bind and void the current regular, bindable element.
|
static Binding |
Analyzer.getBinding(java.util.List<Element> l)
Get the binding for the specified list's value.
|
protected Binding |
Copier.match(Binding b)
Match the specified binding with its copy.
|
Binding |
ElementVoider.visit(Binding b)
Visit the specified binding.
|
Binding |
Copier.visit(Binding b)
Copy the specified binding.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Binding> |
Annotator.after()
Get the current list of bindings after the regular value.
|
protected java.util.List<Binding> |
Annotator.before()
Get the current list of bindings before the regular value.
|
static java.util.List<Binding> |
Properties.getFormatting(Sequence s)
Get the value of the formatting property.
|
| Modifier and Type | Method and Description |
|---|---|
protected Binding |
Copier.match(Binding b)
Match the specified binding with its copy.
|
protected java.lang.String |
CodeGenerator.var(Binding b)
Convert a binding into the corresponding variable name.
|
void |
MetaDataSetter.visit(Binding b)
Analyze the specified binding.
|
Element |
Generifier.visit(Binding b)
Visit the specified binding.
|
void |
TextTester.visit(Binding b)
Visit the specified binding.
|
java.lang.Boolean |
EquivalenceTester.visit(Binding b1)
Visit the specified binding.
|
Element |
GenericVoider.visit(Binding b)
Visit the specified binding.
|
void |
Tokenizer.Tester.visit(Binding b)
Visit the specified binding.
|
Element |
GrammarVisitor.visit(Binding b)
Visit the specified binding.
|
Binding |
ElementVoider.visit(Binding b)
Visit the specified binding.
|
Binding |
Copier.visit(Binding b)
Copy the specified binding.
|
void |
Resolver.visit(Binding b)
Analyze the specified binding.
|
Element |
Simplifier.visit(Binding b)
Visit the specified binding.
|
void |
CodeGenerator.visit(Binding b)
Generate code for the specified binding.
|
Element |
ProductionVoider.visit(Binding b)
Visit the specified binding.
|
Element |
ProductionVoider.Tester.visit(Binding b)
Visit the specified binding.
|
void |
PrettyPrinter.visit(Binding b)
Print the specified binding.
|
Element |
DirectLeftRecurser.visit(Binding b)
Visit the specified binding.
|
java.lang.Integer |
CostEstimator.visit(Binding b)
Visit the specified binding.
|
void |
LeftRecurser.visit(Binding b)
Visit the specified binding.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
EquivalenceTester.areEquivalent(java.util.List<Binding> l1,
java.util.List<Binding> l2)
Determine whether the specified lists of bindings are equivalent.
|
protected boolean |
EquivalenceTester.areEquivalent(java.util.List<Binding> l1,
java.util.List<Binding> l2)
Determine whether the specified lists of bindings are equivalent.
|
protected void |
CodeGenerator.emitChildren(java.lang.String first,
java.util.List<Binding> children)
Emit an expression adding the children to a generic node.
|
protected void |
CodeGenerator.emitFormatting(java.util.List<Binding> formatting)
Emit a statement adding formatting to a generic node.
|
protected void |
CodeGenerator.emitNumberOfChildren(int base,
java.util.List<Binding> children)
Emit an expression calculating a generic node's number of children.
|
protected int |
CodeGenerator.numberOfChildren(int base,
java.util.List<Binding> children)
Calculate the number of a generic node's children.
|
protected void |
Copier.patch(java.util.List<Binding> bindings)
Patch the specified bindings.
|
protected void |
TreeTyper.process(java.lang.String name,
boolean isAction,
java.util.List<Binding> children)
Determine the type of the specified generic node constructor.
|
| Constructor and Description |
|---|
ActionBaseValue(Binding list,
Binding seed)
Create a new action base value.
|
BindingValue(Binding binding)
Create a new binding value.
|
GenericRecursionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting,
Binding list)
Create a new generic recursion value.
|
ParseTreeNode(java.util.List<Binding> predecessors,
Binding node,
java.util.List<Binding> successors)
Create a new parse tree node.
|
ProperListValue(Type type,
Binding element)
Create a new singleton list value.
|
ProperListValue(Type type,
Binding element,
Binding tail)
Create a new list value.
|
ProperListValue(Type type,
java.util.List<Binding> elements,
Binding tail)
Create a new proper list value.
|
| Constructor and Description |
|---|
GenericActionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic action value.
|
GenericActionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic action value.
|
GenericNodeValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic node value.
|
GenericNodeValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic node value.
|
GenericRecursionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting,
Binding list)
Create a new generic recursion value.
|
GenericRecursionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting,
Binding list)
Create a new generic recursion value.
|
GenericValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic value.
|
GenericValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic value.
|
ParseTreeNode(java.util.List<Binding> predecessors,
Binding node,
java.util.List<Binding> successors)
Create a new parse tree node.
|
ParseTreeNode(java.util.List<Binding> predecessors,
Binding node,
java.util.List<Binding> successors)
Create a new parse tree node.
|
ProperListValue(Type type,
java.util.List<Binding> elements,
Binding tail)
Create a new proper list value.
|
Copyright © 2014. All Rights Reserved.