org.pkl.thirdparty.commonmark.parser.beta.ParsedInline Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pkl-tools Show documentation
Show all versions of pkl-tools Show documentation
Fat Jar containing pkl-cli, pkl-codegen-java, pkl-codegen-kotlin, pkl-config-java, pkl-core, pkl-doc, and their shaded third-party dependencies.
package org.pkl.thirdparty.commonmark.parser.beta;
import org.pkl.thirdparty.commonmark.internal.inline.ParsedInlineImpl;
import org.pkl.thirdparty.commonmark.node.Node;
import java.util.Objects;
/**
* The result of a single inline parser. Use the static methods to create instances.
*
* This interface is not intended to be implemented by clients.
*/
public interface ParsedInline {
static ParsedInline none() {
return null;
}
static ParsedInline of(Node node, Position position) {
Objects.requireNonNull(node, "node must not be null");
Objects.requireNonNull(position, "position must not be null");
return new ParsedInlineImpl(node, position);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy