OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 // | 4 // |
5 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
6 // To regenerate the file, use the script | 6 // To regenerate the file, use the script |
7 // "pkg/analysis_server/tool/spec/generate_files". | 7 // "pkg/analysis_server/tool/spec/generate_files". |
8 | 8 |
9 part of protocol; | 9 part of protocol; |
10 /** | 10 /** |
(...skipping 11135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11146 * The length of the region from which the user can navigate. | 11146 * The length of the region from which the user can navigate. |
11147 */ | 11147 */ |
11148 void set length(int value) { | 11148 void set length(int value) { |
11149 assert(value != null); | 11149 assert(value != null); |
11150 this._length = value; | 11150 this._length = value; |
11151 } | 11151 } |
11152 | 11152 |
11153 /** | 11153 /** |
11154 * The indexes of the targets (in the enclosing navigation response) to which | 11154 * The indexes of the targets (in the enclosing navigation response) to which |
11155 * the given region is bound. By opening the target, clients can implement | 11155 * the given region is bound. By opening the target, clients can implement |
11156 * one form of navigation. | 11156 * one form of navigation. This list cannot be empty. |
11157 */ | 11157 */ |
11158 List<int> get targets => _targets; | 11158 List<int> get targets => _targets; |
11159 | 11159 |
11160 /** | 11160 /** |
11161 * The indexes of the targets (in the enclosing navigation response) to which | 11161 * The indexes of the targets (in the enclosing navigation response) to which |
11162 * the given region is bound. By opening the target, clients can implement | 11162 * the given region is bound. By opening the target, clients can implement |
11163 * one form of navigation. | 11163 * one form of navigation. This list cannot be empty. |
11164 */ | 11164 */ |
11165 void set targets(List<int> value) { | 11165 void set targets(List<int> value) { |
11166 assert(value != null); | 11166 assert(value != null); |
11167 this._targets = value; | 11167 this._targets = value; |
11168 } | 11168 } |
11169 | 11169 |
11170 NavigationRegion(int offset, int length, List<int> targets) { | 11170 NavigationRegion(int offset, int length, List<int> targets) { |
11171 this.offset = offset; | 11171 this.offset = offset; |
11172 this.length = length; | 11172 this.length = length; |
11173 this.targets = targets; | 11173 this.targets = targets; |
(...skipping 4418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15592 return false; | 15592 return false; |
15593 } | 15593 } |
15594 | 15594 |
15595 @override | 15595 @override |
15596 int get hashCode { | 15596 int get hashCode { |
15597 int hash = 0; | 15597 int hash = 0; |
15598 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); | 15598 hash = _JenkinsSmiHash.combine(hash, newName.hashCode); |
15599 return _JenkinsSmiHash.finish(hash); | 15599 return _JenkinsSmiHash.finish(hash); |
15600 } | 15600 } |
15601 } | 15601 } |
OLD | NEW |