Skip to content

Commit 875cbd1

Browse files
stereotype441Commit Queue
authored andcommitted
[_fe_analyzer_shared] Switch syntatcic_entity.dart to /// comments.
This brings the file into alignment with the style guidelines (see https://dart.dev/effective-dart/documentation#do-use-doc-comments-to-document-members-and-types). Change-Id: I6a6a696403c3aaf24cf8ac2b8ba6f684a70d1480 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/467681 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
1 parent 48a8005 commit 875cbd1

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

pkg/_fe_analyzer_shared/lib/src/base/syntactic_entity.dart

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,20 @@
44

55
import 'package:_fe_analyzer_shared/src/base/analyzer_public_api.dart';
66

7-
/**
8-
* Interface representing a syntactic entity (either a token or an AST node)
9-
* which has a location and extent in the source file.
10-
*/
7+
/// Interface representing a syntactic entity (either a token or an AST node)
8+
/// which has a location and extent in the source file.
119
@AnalyzerPublicApi(
1210
message: 'exported by package:analyzer/dart/ast/syntactic_entity.dart',
1311
)
1412
abstract class SyntacticEntity {
15-
/**
16-
* Return the offset from the beginning of the file to the character after the
17-
* last character of the syntactic entity.
18-
*/
13+
/// Return the offset from the beginning of the file to the character after
14+
/// the last character of the syntactic entity.
1915
int get end;
2016

21-
/**
22-
* Return the number of characters in the syntactic entity's source range.
23-
*/
17+
/// Return the number of characters in the syntactic entity's source range.
2418
int get length;
2519

26-
/**
27-
* Return the offset from the beginning of the file to the first character in
28-
* the syntactic entity.
29-
*/
20+
/// Return the offset from the beginning of the file to the first character in
21+
/// the syntactic entity.
3022
int get offset;
3123
}

0 commit comments

Comments
 (0)