public class ParseTreeNode extends Element implements InternalElement
FormattingElement.Tag| Modifier and Type | Field and Description |
|---|---|
Binding |
node
The binding capturing the annotated node, which may be
null. |
java.util.List<Binding> |
predecessors
The bindings capturing the values preceding the annotated node.
|
java.util.List<Binding> |
successors
The bindings capturing the values succeeding the annotated node.
|
| Constructor and Description |
|---|
ParseTreeNode(java.util.List<Binding> predecessors,
Binding node,
java.util.List<Binding> successors)
Create a new parse tree node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Element.Tag |
tag()
Get this element's tag.
|
void |
write(java.lang.Appendable out)
Write a human readable representation to the specified
appendable.
|
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, toTokenpublic java.util.List<Binding> predecessors
public Binding node
null.public java.util.List<Binding> successors
public Element.Tag tag()
Elementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic void write(java.lang.Appendable out)
throws java.io.IOException
NodeObject.toString().Copyright © 2014. All Rights Reserved.