1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This comment is for the dictionaries namespace. 6 namespace dictionaries { 7 // Documentation for ComplexType. 8 dictionary InnerType { 9 // Documentation for the String s. 10 DOMString s; 11 12 // Documentation for the boolean b. 13 int b; 14 15 // Documentation for the int i. 16 int i; 17 18 // Documentation for the long l. 19 long l; 20 21 // Documentation for the double d. 22 double d; 23 24 // Documentation for the file entry f. 25 [instanceOf=FileEntry] object f; 26 27 // Documentation for the optional String s. 28 DOMString? os; 29 30 // Documentation for the optional boolean ob. 31 int ob; 32 33 // Documentation for the optional int i. 34 int? oi; 35 36 // Documentation for the optional long l. 37 long? ol; 38 39 // Documentation for the optional double d. 40 double? od; 41 42 // Documentation for the optional file entry f. 43 [instanceOf=FileEntry] object? of; 44 }; 45 46 dictionary OuterType { 47 // Documentation for the array of InnerTypes items. 48 InnerType[] items; 49 50 // Documentation for the optional array of Inner Types oitems. 51 InnerType[]? oitems; 52 }; 53 54 dictionary ComplexType { 55 // Documentation for the int i. 56 int i; 57 58 // Documentation for the ComplexType c. 59 ComplexType c; 60 }; 61 }; 62