Package org.bytedeco.javacpp.tools
Class Parser
java.lang.Object
org.bytedeco.javacpp.tools.Parser
The Parser, just like the Generator, is a mess that is not meant to support the
entirety of C++, but an appropriate subset as used by typical C/C++ header files.
To figure out what that subset is and what the output should be, the idea is to
apply it on as many C/C++ libraries as possible, and patch the code as we go.
At one point in time, when this prototype code appears to have stabilized, we can
start to redesign it in a more meaningful way.
That said, to understand how it is supposed to function in its present state, one can step through the code at runtime: It is quite friendly to debuggers.
Moreover, it relies on Info objects created as part of the execution
of InfoMapper.map(InfoMap). We can understand better how the parsing
is supposed to get accomplished by studying that documentation as well.
To do: - Inherit constructors from helper classes, if possible - etc.
- Author:
- Samuel Audet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParser(Logger logger, Properties properties) Parser(Logger logger, Properties properties, String encoding, String lineSeparator) -
Method Summary
-
Constructor Details
-
Parser
-
Parser
-
-
Method Details
-
parse
public File[] parse(String outputDirectory, String[] classPath, Class cls) throws IOException, ParserException - Throws:
IOExceptionParserException
-
parse
public File[] parse(File outputDirectory, String[] classPath, Class cls) throws IOException, ParserException - Throws:
IOExceptionParserException
-