xtc.parser
Class ActionBaseValue
java.lang.Object
xtc.tree.Node
xtc.parser.Element
xtc.parser.ValueElement
xtc.parser.ActionBaseValue
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, InternalElement, Locatable
public class ActionBaseValue
- extends ValueElement
Element to set the semantic value to the result of applying a list
of actions. The actions are applied by
invoking ParserBase.apply(Pair,Object) on the list and a
seed value.
- Version:
- $Revision: 1.11 $
- Author:
- Robert Grimm
| 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 |
list
public final Binding list
- The binding for the list.
seed
public final Binding seed
- The binding for the seed.
ActionBaseValue
public ActionBaseValue(Binding list,
Binding seed)
- Create a new action base value.
- Parameters:
list - The binding for the list.seed - The binding for the seed.
tag
public Element.Tag tag()
- Description copied from class:
Element
- Get this element's tag.
- Specified by:
tag in class Element
- Returns:
- The tag.
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
Copyright © 2012. All Rights Reserved.