|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxtc.tree.Node
xtc.parser.Element
xtc.parser.ValueElement
xtc.parser.ListValue
xtc.parser.ProperListValue
public class ProperListValue
Element to set the semantic value to a list.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class xtc.parser.Element |
|---|
Element.Tag |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
Element.Tag |
tag()
Get this element's tag. |
| Methods inherited from class xtc.tree.Node |
|---|
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, write |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Type type
public java.util.List<Binding> elements
public Binding tail
| Constructor Detail |
|---|
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 ProperListValue(Type type,
java.util.List<Binding> elements,
Binding tail)
type - The type.elements - The elements.tail - The tail.| Method Detail |
|---|
public Element.Tag tag()
Element
tag in class Elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||