@FunctionalInterface
public interface 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 @Contract(value="_,_->new", pure=true) @NotNull java.util.Set<Tree> parse(@NotNull @NotNull Compilation compilation, @NotNull @NotNull Tree tree)
sketch
with respect to the given compilation
.compilation
- the compilation taking the given sketch
.tree
- the sketch to be parsed.java.lang.NullPointerException
- if the given compilation
or node
is
null.java.io.IOError
- if any I/O error occurs.