@FunctionalInterface public interface ProgramParser
| Modifier and Type | Method and Description |
|---|---|
ProgramType |
parse(InputStream in,
File file,
Collection<File> includeDirs)
Parse input stream to document declaration model.
|
ProgramType parse(InputStream in, File file, Collection<File> includeDirs) throws IOException, ParseException
in - The stream to parse.file - The file that is being parsed.includeDirs - Included directories that can be referenced directly.IOException - When the stream was unreadable.ParseException - When the document could not be parsed.Copyright © 2015–2017 morimekta.net. All rights reserved.