mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-20 20:37:09 +00:00
This patch introduces a hackish but functional IDL parser and uses it to generate the JS bindings for Node and Document. We'll see how far this simple parser takes us. The important thing right now is generating code, not being a perfect IDL parser. :^)
8 lines
183 B
Plaintext
8 lines
183 B
Plaintext
interface Document : Node {
|
|
|
|
Element? getElementById(DOMString id);
|
|
Element? querySelector(DOMString selectors);
|
|
ArrayFromVector querySelectorAll(DOMString selectors);
|
|
|
|
}
|