|
|
IDL compiler: [Constructor] overloading
This completes [Constructor].
Relatively long, b/c need to support list of constructors, but most of
logic already handled in method overloading.
A few notes:
* Also simplify Perl logic
* Some stub values (e.g., argument['is_nullable'] = False)
b/c needed by overload resolution algorithm.
* moved constructor macro into methods.cpp b/c otherwise cyclic import
between interface_base.cpp and interface.cpp.
* interface.cpp diff looks weird b/c it replaces the actual constructor
method with the overload callback.
BUG= 239771
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163939
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+389 lines, -307 lines) |
Patch |
 |
M |
Source/bindings/scripts/code_generator_v8.pm
|
View
|
1
2
|
3 chunks |
+8 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/unstable/v8_interface.py
|
View
|
1
2
|
5 chunks |
+39 lines, -28 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface.cpp
|
View
|
1
|
3 chunks |
+17 lines, -29 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface_base.cpp
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/methods.cpp
|
View
|
1
2
3
|
7 chunks |
+103 lines, -55 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/idls/TestInterfaceConstructor.idl
|
View
|
1
2
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/tests/idls/TestInterfaceConstructor2.idl
|
View
|
1
2
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/tests/idls/TestInterfaceConstructor3.idl
|
View
|
1
2
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
|
View
|
1
2
|
4 chunks |
+30 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
View
|
1
|
2 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
View
|
1
2
|
7 chunks |
+59 lines, -54 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/tests/results/V8TestInterfaceConstructor3.h
|
View
|
1
2
|
2 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp
|
View
|
1
2
|
5 chunks |
+51 lines, -31 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|