API Reference¶
The Kotlin API reference is generated from KDoc comments using Dokka.
Note
The API reference lives at /api/ alongside this documentation. The link above points to the deployed site; when running docs locally, generate the API docs first with ./gradlew dokkaGenerate from the project root.
Generating the API reference locally¶
# From the project root (not sphinx-docs/)
./gradlew dokkaGenerate
# Output lives at build/dokka/html/
open build/dokka/html/index.html
What’s included¶
All public and internal Kotlin declarations under src/main/kotlin/com/rescript/plugin/:
Classes, objects, interfaces, enums
Top-level functions and properties
KDoc comments,
@param,@return,@seeannotationsSource links to GitHub for each declaration
What’s excluded¶
The auto-generated JFlex lexer (
RescriptFlexLexer.java) — not useful as APIprivatemembers (Dokka shows onlypublicandinternalby default)
Key packages¶
Package |
Purpose |
|---|---|
|
Lexer, parser, token types |
|
Language Server integration |
|
Refactoring support |
|
Intention Actions |
|
Code inspections |
|
Shared utilities |
See also¶
Architecture — High-level architecture overview
Project Structure — Source layout and file organization
Extending — How to add new plugin features