|
Mojom compiler frontend: Populate the declaration_order field for Methods.
This is a pretty minor change. We have not been populating the declaration_order field for MojomMethod in the intermediate representation even though the infrastructure is there to do that. We rectify this here. This simply allows the generators to write methods into the generated source in original lexical order if they wish to do so.
We do not yet consume this in the old backend. (Currently the generators in the old backend are writing the methods in ordinal order. This differs from what version 1 of the compiler used to do I think.)
R=azani@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/e0873846fc61eae0b813cc0c87c8009fda9f2aab
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+73 lines, -30 lines) |
Patch |
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/versioning/versioning_test_client.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom_tool/bin/linux64/mojom.sha1
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojom/mojom_parser/mojom/user_defined_types.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_parser/serialization/serialization_test.go
|
View
|
|
15 chunks |
+56 lines, -14 lines |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|