summaryrefslogtreecommitdiff
path: root/test/data/idl
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-07-22 22:12:05 +0100
committerVincent Sanders <vince@kyllikki.org>2015-07-22 22:12:05 +0100
commitd36c21c4f53270f9ba8137bb1e84a7de45fea0f3 (patch)
tree4adbd1bc49738ae348009b1be6ec54c43d038d8f /test/data/idl
parent8bc392a91daf4cc1a27a8e6777af1a29ed24e3c4 (diff)
downloadnsgenbind-d36c21c4f53270f9ba8137bb1e84a7de45fea0f3.tar.gz
nsgenbind-d36c21c4f53270f9ba8137bb1e84a7de45fea0f3.tar.bz2
Load the WebIDL files specified in the binding
This loads the WebIDL specified in the bindings into an Abstract Syntax Tree (AST) and performs the mixin operations for implements. Additionally the specs now use a slightly extended IDL syntax. Instead of wholesale implementing the second edition of the IDL spec the parser has been updated to cope with iterator and Promise keywords as those are the only changes used in the dom and html specifications. A bug was also fixed in the lexer where negative int literals were not recognised.
Diffstat (limited to 'test/data/idl')
-rw-r--r--test/data/idl/dom.idl8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/data/idl/dom.idl b/test/data/idl/dom.idl
index 6a4a95e..1c9e75b 100644
--- a/test/data/idl/dom.idl
+++ b/test/data/idl/dom.idl
@@ -107,10 +107,10 @@ DocumentType implements ChildNode;
Element implements ChildNode;
CharacterData implements ChildNode;
-class Elements extends Array {
- Element? query(DOMString relativeSelectors);
- Elements queryAll(DOMString relativeSelectors);
-};
+//class Elements extends Array {
+// Element? query(DOMString relativeSelectors);
+// Elements queryAll(DOMString relativeSelectors);
+//};
[Exposed=Window]
interface NodeList {