Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: pkg/analyzer/lib/src/summary/format.dart

Issue 1658773004: Document that LinkedExportName.name includes trailing '=' for setters. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analyzer/tool/summary/idl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 "pkg/analyzer/tool/generate_files". 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files".
7 7
8 library analyzer.src.summary.format; 8 library analyzer.src.summary.format;
9 9
10 import 'base.dart' as base; 10 import 'base.dart' as base;
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 853
854 String _name; 854 String _name;
855 int _dependency; 855 int _dependency;
856 int _unit; 856 int _unit;
857 ReferenceKind _kind; 857 ReferenceKind _kind;
858 858
859 @override 859 @override
860 String get name => _name ??= ''; 860 String get name => _name ??= '';
861 861
862 /** 862 /**
863 * Name of the exported entity. TODO(paulberry): do we include the trailing 863 * Name of the exported entity. For an exported setter, this name includes
864 * '=' for a setter? 864 * the trailing '='.
865 */ 865 */
866 void set name(String _value) { 866 void set name(String _value) {
867 assert(!_finished); 867 assert(!_finished);
868 _name = _value; 868 _name = _value;
869 } 869 }
870 870
871 @override 871 @override
872 int get dependency => _dependency ??= 0; 872 int get dependency => _dependency ??= 0;
873 873
874 /** 874 /**
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 } 937 }
938 } 938 }
939 939
940 /** 940 /**
941 * Information about a single name in the export namespace of the library that 941 * Information about a single name in the export namespace of the library that
942 * is not in the public namespace. 942 * is not in the public namespace.
943 */ 943 */
944 abstract class LinkedExportName extends base.SummaryClass { 944 abstract class LinkedExportName extends base.SummaryClass {
945 945
946 /** 946 /**
947 * Name of the exported entity. TODO(paulberry): do we include the trailing 947 * Name of the exported entity. For an exported setter, this name includes
948 * '=' for a setter? 948 * the trailing '='.
949 */ 949 */
950 String get name; 950 String get name;
951 951
952 /** 952 /**
953 * Index into [LinkedLibrary.dependencies] for the library in which the 953 * Index into [LinkedLibrary.dependencies] for the library in which the
954 * entity is defined. 954 * entity is defined.
955 */ 955 */
956 int get dependency; 956 int get dependency;
957 957
958 /** 958 /**
(...skipping 5274 matching lines...) Expand 10 before | Expand all | Expand 10 after
6233 "type": type, 6233 "type": type,
6234 "constExpr": constExpr, 6234 "constExpr": constExpr,
6235 "isStatic": isStatic, 6235 "isStatic": isStatic,
6236 "isFinal": isFinal, 6236 "isFinal": isFinal,
6237 "isConst": isConst, 6237 "isConst": isConst,
6238 "propagatedTypeSlot": propagatedTypeSlot, 6238 "propagatedTypeSlot": propagatedTypeSlot,
6239 "inferredTypeSlot": inferredTypeSlot, 6239 "inferredTypeSlot": inferredTypeSlot,
6240 }; 6240 };
6241 } 6241 }
6242 6242
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/tool/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698