The Diplomat core module contains common logic between the macro expansion and code generation. Right now, this is primarily the AST types that Diplomat generates while extracting APIs.