Class ParentMap
java.lang.Object
manifold.internal.javac.ParentMap
A mapping of child to parent for every child tree in a CompilationUnitTree. The tree node in the Java AST does not
maintain a reference to its parent, hence the need for this mapping.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParentMap
-
-
Method Details
-
getParent
public com.sun.source.tree.Tree getParent(com.sun.source.tree.Tree child) -
getParent
public com.sun.source.tree.Tree getParent(com.sun.source.tree.Tree child, com.sun.source.tree.CompilationUnitTree compilationUnitTree)
-