xtc.parser
Class GenericValue
java.lang.Object
xtc.tree.Node
xtc.parser.Element
xtc.parser.ValueElement
xtc.parser.GenericValue
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, InternalElement, Locatable
- Direct Known Subclasses:
- GenericActionValue, GenericNodeValue
public abstract class GenericValue
- extends ValueElement
The superclass of all value elements specifying a generic node as
the semantic value.
- Version:
- $Revision: 1.7 $
- Author:
- Robert Grimm
|
Field Summary |
java.util.List<Binding> |
children
The list of bindings representing the generic node's children. |
java.util.List<Binding> |
formatting
The bindings capturing any formatting. |
java.lang.String |
name
The name of the generic node. |
|
Constructor Summary |
GenericValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic value. |
| Methods inherited from class xtc.parser.Element |
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
public final java.lang.String name
- The name of the generic node.
children
public final java.util.List<Binding> children
- The list of bindings representing the generic node's children.
formatting
public final java.util.List<Binding> formatting
- The bindings capturing any formatting.
GenericValue
public GenericValue(java.lang.String name,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
- Create a new generic value.
- Parameters:
name - The name.children - The list of children.formatting - The list of bindings for formatting.
Copyright © 2012. All Rights Reserved.