| Index: Source/core/dom/SomeDictionary.idl
|
| diff --git a/Source/core/dom/SomeDictionary.idl b/Source/core/dom/SomeDictionary.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..abc7a0481edfa0f0880444f90aa4a188af91685c
|
| --- /dev/null
|
| +++ b/Source/core/dom/SomeDictionary.idl
|
| @@ -0,0 +1,13 @@
|
| +// NOT FOR LAND -- this is an example of IDL dictionary.
|
| +
|
| +[
|
| + GarbageCollected
|
| +] dictionary SomeDictionary {
|
| + long a; // Example of a primitive member
|
| + long b = 2; // Example of a primitive member with default value
|
| + DOMString stringMember = "doraemon"; // Example of a string member
|
| + Element element = null; // Example of an interface member
|
| + boolean? nullableBooleanMember = null; // Exmaple of a nullable member
|
| + sequence<DOMString> stringSequenceMember; // Example of a sequence member
|
| + Element[] elementArrayMember; // Example of an array member
|
| +};
|
|
|