A
A
Alexey Pomogaev2016-10-15 06:51:31
JavaScript
Alexey Pomogaev, 2016-10-15 06:51:31

I want to generate DOM API in Java code, where can I get DOM (Chromium implementation) sources with comments?

I went to the official Chromium repository, but there are no comments on the code https: //chromium.googlesource.com/chromium/blink /+... or https://chromium.googlesource.com/chromium/blink.g...
In general, the idea arose to write an open-source program for Java -> JavaScript traspiling. At the same time, cutting off the entire java.base and providing the Java developer with only JavaScript interfaces (DOM API and ES6 global classes). Thus, you do not need to pull on the client + 100500MB of JavaSE.
But I still don’t know where is the best place to take this DOM API (in this case, I’m more interested in Chromium), which will always be up to date and have documentation for each field and method. To get some Javadoc for the generated chromium-es6-dom-api.jar library.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2016-10-15
@Taraflex

The easiest way would be to pull everything from definitelytyped.org from here with types and comments
+ the parser can be pulled from the source code of the typescript compiler
In general, everything was invented before you https://ru.wikipedia.org/wiki/Google_Web_Toolkit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question