Class Parser

java.lang.Object
org.bytedeco.javacpp.tools.Parser

public class Parser extends Object
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.

See Also: