From d36c21c4f53270f9ba8137bb1e84a7de45fea0f3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 22 Jul 2015 22:12:05 +0100 Subject: 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. --- test/data/idl/dom.idl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/data/idl') 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 { -- cgit v1.2.3