public class SelectionSet extends AbstractNode<SelectionSet>
Constructor and Description |
---|
SelectionSet() |
SelectionSet(java.util.List<Selection> selections) |
Modifier and Type | Method and Description |
---|---|
SelectionSet |
deepCopy() |
java.util.List<Node> |
getChildren() |
java.util.List<Selection> |
getSelections() |
boolean |
isEqualTo(Node o)
Compares just the content and not the children.
|
java.lang.String |
toString() |
deepCopy, deepCopy, getComments, getSourceLocation, setComments, setSourceLocation
public SelectionSet()
public SelectionSet(java.util.List<Selection> selections)
public java.util.List<Selection> getSelections()
public java.util.List<Node> getChildren()
public boolean isEqualTo(Node o)
Node
o
- the other node to compare topublic SelectionSet deepCopy()
public java.lang.String toString()
toString
in class java.lang.Object