| 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 // TODO(afandria) Amend this file's module once the Dart embedder packages are |
| 7 // removed. It should be mojo.bindings.types. |
| 8 module mojo; |
| 7 | 9 |
| 8 import "mojom_types.mojom"; | 10 import "mojom_types.mojom"; |
| 9 | 11 |
| 10 /* | 12 /* |
| 11 * The structures in this file are intended to be used by the Mojom compiler | 13 * 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 | 14 * 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. | 15 * .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct. |
| 14 * | 16 * |
| 15 * The backend of the compiler consumes a MojomFileGraph and invokes each of the | 17 * The backend of the compiler consumes a MojomFileGraph and invokes each of the |
| 16 * code generators passing them data derived from the MojomFileGraph. | 18 * 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; | 79 array<string>? structs; |
| 78 array<string>? unions; | 80 array<string>? unions; |
| 79 array<string>? top_level_enums; | 81 array<string>? top_level_enums; |
| 80 array<string>? embedded_enums; | 82 array<string>? embedded_enums; |
| 81 | 83 |
| 82 // All the constant_keys known to the owning MojomFileGraph. | 84 // All the constant_keys known to the owning MojomFileGraph. |
| 83 array<string>? top_level_constants; | 85 array<string>? top_level_constants; |
| 84 array<string>? embedded_constants; | 86 array<string>? embedded_constants; |
| 85 }; | 87 }; |
| 86 | 88 |
| OLD | NEW |