DescriptionIDL: Support 'stringifier' keyword
Usable in one of these forms:
stringifier;
stringifier DOMString ();
stringifier DOMString name();
stringifier attribute DOMString name;
All cause a toString() method to be defined on the interface automatically.
The first two are equivalent, and call CPPClass::toString() to retrieve the
string value. The latter two use CPPClass::name() to retrieve the string
value and also declare a regular attribute and operation, respectively.
Changed all simple "DOMString toString()" occurrences in IDL files to use
"stringifier" instead.
BUG=306606
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176833
Patch Set 1 : #
Total comments: 5
Patch Set 2 : rebased #Patch Set 3 : moved logic to v8_interface.py #
Total comments: 6
Patch Set 4 : move handling of unnamed operations #
Created: 6 years, 6 months ago
Messages
Total messages: 14 (0 generated)
|