[foreign-jextract] RFR: 8251044: JextractTool API refactoring parse/filter/generate/write static methods in the same tool main class

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Aug 4 14:31:23 UTC 2020


On Tue, 4 Aug 2020 13:52:50 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> JextractTool class for simple jextract API.

Looks good - I think the ConstantParser abstraction can be removed (either here, or as a separate change). I'm not
aware of real clients (or tests) using it. We can reimplement in a better way by means of modelling unparsed macros in
the AST, so that macro handling can be deferred to dedicated visitors.

-------------

Marked as reviewed by mcimadamore (Committer).

PR: https://git.openjdk.java.net/panama-foreign/pull/276


More information about the panama-dev mailing list