Class CATypePackageParser
java.lang.Object
com.io7m.cardant.type_packages.parsers.internal.CATypePackageParser
- All Implemented Interfaces:
com.io7m.anethum.api.ParserType<CATypePackageDeclaration>,CATypePackageParserType,Closeable,AutoCloseable
A parser.
-
Constructor Summary
ConstructorsConstructorDescriptionCATypePackageParser(com.io7m.blackthorne.core.BTPreserveLexical context, URI inSource, InputStream inStream, Consumer<com.io7m.anethum.api.ParseStatus> inStatusConsumer) A parser. -
Method Summary
-
Constructor Details
-
CATypePackageParser
public CATypePackageParser(com.io7m.blackthorne.core.BTPreserveLexical context, URI inSource, InputStream inStream, Consumer<com.io7m.anethum.api.ParseStatus> inStatusConsumer) A parser.- Parameters:
context- The parse contextinSource- The source URIinStream- The input streaminStatusConsumer- The status consumer
-
-
Method Details
-
execute
- Specified by:
executein interfacecom.io7m.anethum.api.ParserType<CATypePackageDeclaration>- Throws:
com.io7m.anethum.api.ParsingException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-