public class HierarchyParser extends java.lang.Object implements Parser
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull Parser |
parser
The wrapped parser.
|
| Constructor and Description |
|---|
HierarchyParser(@NotNull Parser parser)
Construct a new hierarchy parser that uses the given
parser. |
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.util.Set<Tree> |
parse(@NotNull Compilation compilation,
@NotNull Tree tree)
Parse the given
sketch with respect to the given compilation. |
@NotNull protected final @NotNull Parser parser
public HierarchyParser(@NotNull
@NotNull Parser parser)
parser.parser - the wrapped parser.java.lang.NullPointerException - if the given parser is null.@NotNull public @NotNull java.util.Set<Tree> parse(@NotNull @NotNull Compilation compilation, @NotNull @NotNull Tree tree)
Parsersketch with respect to the given compilation.