|
IDL: Support iterable<>, maplike<> and setlike<> syntax
This adds support for the basic syntax (in idl_definitions.py) but no
handling of the additional parsed information beyond what the [Iterable]
extended attribute already does. Extended attributes are currently not
supported on the iterable<>, maplike<> or setlike<> definitions.
In existing interfaces, replace [Iterable] with what the specification
has, or in the case of MIDIInputMap and MIDIOutputMap, what seems to be
the intention. In the Iterator interface, [Iterable] is still used,
since it's somewhat unclear what it ought to be replaced with.
This results in no changes in generated code.
BUG= 432683
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188135
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+161 lines, -16 lines) |
Patch |
|
M |
Source/bindings/scripts/idl_definitions.py
|
View
|
1
|
8 chunks |
+69 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_interface.py
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/core/TestInterface2.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/core/TestInterface3.idl
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/core/TestObject.idl
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/modules/TestInterface5.idl
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestInterface2.cpp
|
View
|
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestInterface3.cpp
|
View
|
1
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
|
3 chunks |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.idl
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/fetch/Headers.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/fetch/Headers.idl
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/webmidi/MIDIInputMap.idl
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/webmidi/MIDIOutputMap.idl
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 17 (4 generated)
|