public class ProperListValue extends ListValue
Element.Tag| Modifier and Type | Field and Description |
|---|---|
java.util.List<Binding> |
elements
The list of bindings for the elements.
|
Binding |
tail
The optional binding for the tail.
|
Type |
type
The type of the proper list.
|
| Constructor and Description |
|---|
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.
|
| 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 Type type
public java.util.List<Binding> elements
public Binding tail
public ProperListValue(Type type, Binding element)
type - The type.element - The binding for the single element.public ProperListValue(Type type, Binding element, Binding tail)
type - The type.element - The binding for the single element.tail - The binding for the tail.public Element.Tag tag()
Elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2014. All Rights Reserved.