|
||||||||||
| 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.GenericValue
xtc.parser.GenericNodeValue
public class GenericNodeValue
Element to set the semantic value to a generic node. The children of the generic node are the
production's component expressions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class xtc.parser.Element |
|---|
Element.Tag |
| Field Summary |
|---|
| Fields inherited from class xtc.parser.GenericValue |
|---|
children, formatting, name |
| Constructor Summary | |
|---|---|
GenericNodeValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic node 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 |
| Constructor Detail |
|---|
public GenericNodeValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
name - The name.children - The list of children.formatting - The list of bindings for formatting.| 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 | |||||||||