blob: 33b157b2ae77a50438b687e15faddd565d218faa [file] [log] [blame]
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
syntax = "proto2";
import "dart_options.proto";
package dart_name;
message DartName {
optional string field = 1 [
(dart_options.dart_name) = "renamedField"
];
}
message SwapNames {
optional string first = 1 [
(dart_options.dart_name) = "second"
];
optional string second = 2 [
(dart_options.dart_name) = "first"
];
}
message TakeExistingName {
optional string first = 1;
optional string second = 2 [
(dart_options.dart_name) = "first"
];
}