| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [JavaPackage="org.chromium.mojo.bindings.types"] | 5 [DartPackage="mojo", JavaPackage="org.chromium.mojo"] |
| 6 module mojo.bindings.types; | 6 module mojo; |
| 7 | 7 |
| 8 import "mojom_types.mojom"; | 8 import "mojom_types.mojom"; |
| 9 | 9 |
| 10 /* | 10 /* |
| 11 * The structures in this file are intended to be used by the Mojom compiler | 11 * The structures in this file are intended to be used by the Mojom compiler |
| 12 * and code generators. The front end of the compiler takes as input a | 12 * and code generators. The front end of the compiler takes as input a |
| 13 * .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct. | 13 * .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct. |
| 14 * | 14 * |
| 15 * The backend of the compiler consumes a MojomFileGraph and invokes each of the | 15 * The backend of the compiler consumes a MojomFileGraph and invokes each of the |
| 16 * code generators passing them data derived from the MojomFileGraph. | 16 * code generators passing them data derived from the MojomFileGraph. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 array<string>? structs; | 77 array<string>? structs; |
| 78 array<string>? unions; | 78 array<string>? unions; |
| 79 array<string>? top_level_enums; | 79 array<string>? top_level_enums; |
| 80 array<string>? embedded_enums; | 80 array<string>? embedded_enums; |
| 81 | 81 |
| 82 // All the constant_keys known to the owning MojomFileGraph. | 82 // All the constant_keys known to the owning MojomFileGraph. |
| 83 array<string>? top_level_constants; | 83 array<string>? top_level_constants; |
| 84 array<string>? embedded_constants; | 84 array<string>? embedded_constants; |
| 85 }; | 85 }; |
| 86 | 86 |
| OLD | NEW |