wasm-bindgen/crates/webidl-tests
Alex Crichton b9dc937d73 Refactor WebIDL code generation
This commit refactors WebIDL code generation to walk over the fields of
`FirstPassRecord` instead of walking the AST again. This helps remove
redundancies like checking `is_chrome_only` as well as revisiting partial
interfaces and such. This should make it more clear that the first pass's job is
to walk the AST and collect all relevant information, while the codegen pass is
purely about appending items to a `Program`.

Additionally this refactoring will also soon be used to prepare different data
structures for operation overloadings, avoiding the need to walk those ASTs
twice.
2018-08-30 12:54:54 -07:00
..
array_buffer.js Add WebIDL support for the ArrayBuffer type 2018-08-04 16:34:12 -05:00
array_buffer.rs Add WebIDL support for the ArrayBuffer type 2018-08-04 16:34:12 -05:00
array_buffer.webidl Add WebIDL support for the ArrayBuffer type 2018-08-04 16:34:12 -05:00
array.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
array.rs webidl: Remove support for Uint8ClampedArray 2018-08-30 10:34:50 -07:00
array.webidl Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
build.rs Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
Cargo.toml Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
consts.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
consts.rs Generate const mixin bindings 2018-08-13 21:58:40 -07:00
consts.webidl Generate const mixin bindings 2018-08-13 21:58:40 -07:00
dictionary.js Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
dictionary.rs Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
dictionary.webidl Implement support for WebIDL dictionaries 2018-08-15 17:08:27 -07:00
enums.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
enums.rs Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
enums.webidl Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
global.js web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
global.rs web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
global.webidl web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
lib.rs Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
main.rs web-sys: Add support for Global-scope methods 2018-08-28 17:20:31 -07:00
namespace.js Merge branch 'master' of https://github.com/rustwasm/wasm-bindgen 2018-08-13 18:59:52 +03:00
namespace.rs Merge branch 'master' of https://github.com/rustwasm/wasm-bindgen 2018-08-13 18:59:52 +03:00
namespace.webidl Fix console test 2018-08-13 20:09:18 +03:00
simple.js Refactor WebIDL code generation 2018-08-30 12:54:54 -07:00
simple.rs Refactor WebIDL code generation 2018-08-30 12:54:54 -07:00
simple.webidl Refactor WebIDL code generation 2018-08-30 12:54:54 -07:00
throws.js Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
throws.rs Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00
throws.webidl Migrate webidl tests to wasm_bindgen_test (#590) 2018-07-30 11:06:29 -07:00