Package manifold.internal.javac
Class ParentMap
- java.lang.Object
-
- manifold.internal.javac.ParentMap
-
public class ParentMap extends Object
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.source.tree.TreegetParent(com.sun.source.tree.Tree child)com.sun.source.tree.TreegetParent(com.sun.source.tree.Tree child, com.sun.source.tree.CompilationUnitTree compilationUnitTree)
-
-
-
Constructor Detail
-
ParentMap
public ParentMap(Supplier<com.sun.source.tree.CompilationUnitTree> compilationUnitSupplier)
-
-