xtc.parser
Class GenericValue

java.lang.Object
  extended by xtc.tree.Node
      extended by xtc.parser.Element
          extended by xtc.parser.ValueElement
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class xtc.parser.Element
Element.Tag
 
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.
 
Method Summary
 
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
 

Field Detail

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.

Constructor Detail

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.