public class GenericActionValue extends GenericValue
action. This element sets the semantic value to an action that
produces a generic node. The generic node's children are a
production's component expressions, with the action's argument
being the first child.Element.Tag| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
first
The name of the action's argument, which also becomes the generic
node's first child.
|
children, formatting, name| Constructor and Description |
|---|
GenericActionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
Create a new generic action value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Element.Tag |
tag()
Get this element's tag.
|
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, writepublic final java.lang.String first
public GenericActionValue(java.lang.String name,
java.lang.String first,
java.util.List<Binding> children,
java.util.List<Binding> formatting)
name - The name of the generic node.first - The action's argument.children - The list of children.formatting - The list of bindings for formatting.public Element.Tag tag()
Elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2014. All Rights Reserved.