| Index: pkg/analysis_server/lib/src/generated_protocol.dart
|
| diff --git a/pkg/analysis_server/lib/src/generated_protocol.dart b/pkg/analysis_server/lib/src/generated_protocol.dart
|
| index b45b97bb89fa6bc509273c63e6531066c0a2ca3f..80f514cbb8767692d003e20f0886ddc0bc5b5eca 100644
|
| --- a/pkg/analysis_server/lib/src/generated_protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/generated_protocol.dart
|
| @@ -5864,7 +5864,7 @@ class ElementKind {
|
| *
|
| * {
|
| * "file": FilePath
|
| - * "offset": ExecutableKind
|
| + * "kind": ExecutableKind
|
| * }
|
| */
|
| class ExecutableFile implements HasToJson {
|
| @@ -5874,11 +5874,11 @@ class ExecutableFile implements HasToJson {
|
| String file;
|
|
|
| /**
|
| - * The offset of the region to be highlighted.
|
| + * The kind of the executable file.
|
| */
|
| - ExecutableKind offset;
|
| + ExecutableKind kind;
|
|
|
| - ExecutableFile(this.file, this.offset);
|
| + ExecutableFile(this.file, this.kind);
|
|
|
| factory ExecutableFile.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object json) {
|
| if (json == null) {
|
| @@ -5891,13 +5891,13 @@ class ExecutableFile implements HasToJson {
|
| } else {
|
| throw jsonDecoder.missingKey(jsonPath, "file");
|
| }
|
| - ExecutableKind offset;
|
| - if (json.containsKey("offset")) {
|
| - offset = new ExecutableKind.fromJson(jsonDecoder, jsonPath + ".offset", json["offset"]);
|
| + ExecutableKind kind;
|
| + if (json.containsKey("kind")) {
|
| + kind = new ExecutableKind.fromJson(jsonDecoder, jsonPath + ".kind", json["kind"]);
|
| } else {
|
| - throw jsonDecoder.missingKey(jsonPath, "offset");
|
| + throw jsonDecoder.missingKey(jsonPath, "kind");
|
| }
|
| - return new ExecutableFile(file, offset);
|
| + return new ExecutableFile(file, kind);
|
| } else {
|
| throw jsonDecoder.mismatch(jsonPath, "ExecutableFile");
|
| }
|
| @@ -5906,7 +5906,7 @@ class ExecutableFile implements HasToJson {
|
| Map<String, dynamic> toJson() {
|
| Map<String, dynamic> result = {};
|
| result["file"] = file;
|
| - result["offset"] = offset.toJson();
|
| + result["kind"] = kind.toJson();
|
| return result;
|
| }
|
|
|
| @@ -5917,7 +5917,7 @@ class ExecutableFile implements HasToJson {
|
| bool operator==(other) {
|
| if (other is ExecutableFile) {
|
| return file == other.file &&
|
| - offset == other.offset;
|
| + kind == other.kind;
|
| }
|
| return false;
|
| }
|
| @@ -5926,7 +5926,7 @@ class ExecutableFile implements HasToJson {
|
| int get hashCode {
|
| int hash = 0;
|
| hash = _JenkinsSmiHash.combine(hash, file.hashCode);
|
| - hash = _JenkinsSmiHash.combine(hash, offset.hashCode);
|
| + hash = _JenkinsSmiHash.combine(hash, kind.hashCode);
|
| return _JenkinsSmiHash.finish(hash);
|
| }
|
| }
|
|
|