public final class KSImperativeParserDriver extends Object implements KSParserDriverType
| Modifier and Type | Method and Description |
|---|---|
static KSParserDriverType |
newDriver(KSParserDriverConstructorType in_parsers)
Construct a new driver for imperative parsers.
|
KSResult<KSElement.KSBlock<KSParse>,KSParseError> |
parseBlock(KSParseContextType context,
Path file) |
public static KSParserDriverType newDriver(KSParserDriverConstructorType in_parsers)
in_parsers - A driver constructor@NotNull public KSResult<KSElement.KSBlock<KSParse>,KSParseError> parseBlock(@NotNull KSParseContextType context, @NotNull Path file) throws IOException
parseBlock in interface KSParserDriverTypeIOExceptionCopyright © 2016 <code@io7m.com> http://io7m.com