Understand the JSweet core API structure
developThe JSweet core API provides the necessary building blocks to program JavaScript applications using Java. It is organized into Maven projects categorized by JavaScript version (e.g., ES5). Each version-specific project provides four primary packages:
def.js: Contains the core JavaScript language APIs for that specific version.def.dom: Contains the W3C DOM APIs for that specific version.jsweet.lang: Provides JSweet-specific language extensions for Java, primarily consisting of annotations.jsweet.util: Contains various utility helper classes.