| Modifier and Type | Field and Description |
|---|---|
protected @NotNull Parser |
parser
The wrapped parser.
|
| Constructor and Description |
|---|
OfferParser(@NotNull Parser parser)
Construct a new parser that parses using the given
parser then offer the
results into one tree and return it. |
| 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 OfferParser(@NotNull
@NotNull Parser parser)
parser then offer the
results into one tree and return it.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.