public class GenericRecursionValue extends GenericActionValue
actions. This element sets the semantic value to
a pair, whose value is an action that produces a generic node. The
generic node's children are a production's component expressions,
with the action's argument being the first child.Element.Tag| Modifier and Type | Field and Description |
|---|---|
Binding |
list
The binding for the variable referencing the next pair.
|
firstchildren, formatting, name| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Element.Tag |
tag()
Get this element's tag.
|
add, add, addAll, addAll, addAll, addAll, addAllTo, addNode, contains, get, getBoolean, getBooleanProperty, getGeneric, getList, getLocation, getName, getNode, getProperty, getString, getStringProperty, getTokenText, hasLocation, hasName, hasProperty, hasTraversal, hasVariable, indexOf, isAnnotation, isEmpty, isGeneric, isList, isToken, iterator, lastIndexOf, properties, remove, removeProperty, set, setLocation, setLocation, setProperty, size, strip, toAnnotation, toList, toString, toToken, writepublic final Binding list
public GenericRecursionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting,
Binding list)
name - The name of the generic node.first - The action's argument.children - The list of children.formatting - The list of bindings for formatting.list - The binding for the list.public Element.Tag tag()
Elementtag in class GenericActionValuepublic int hashCode()
hashCode in class GenericActionValuepublic boolean equals(java.lang.Object o)
equals in class GenericActionValueCopyright © 2014. All Rights Reserved.