@PublicApi public class AstBreadcrumb extends java.lang.Object
AstZipper
to identify the position of the current node inside the tree:
the breadcrumbs lead you to the root node.Constructor and Description |
---|
AstBreadcrumb(Node node,
NodeLocation location) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
NodeLocation |
getLocation() |
Node |
getNode() |
int |
hashCode() |
java.lang.String |
toString() |
public AstBreadcrumb(Node node, NodeLocation location)
public Node getNode()
public NodeLocation getLocation()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object