Skip to content

Commit baa5717

Browse files
srawlinscommit-bot@chromium.org
authored andcommitted
Use ///-style doc comments in analyzer/lib/src/generated
Bug: #33892 Change-Id: I0cee47b71702a210c5ace9455ce9aaf914355d05 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152683 Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 411c9cc commit baa5717

25 files changed

+1328
-2128
lines changed

pkg/analyzer/lib/src/generated/ast.dart

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
/**
6-
* This library is deprecated. Please convert all references to this library to
7-
* reference one of the following public libraries:
8-
* * package:analyzer/dart/ast/ast.dart
9-
* * package:analyzer/dart/ast/visitor.dart
10-
*
11-
* If your code is using APIs not available in these public libraries, please
12-
* contact the analyzer team to either find an alternate API or have the API you
13-
* depend on added to the public API.
14-
*/
5+
/// This library is deprecated. Please convert all references to this library to
6+
/// reference one of the following public libraries:
7+
/// * package:analyzer/dart/ast/ast.dart
8+
/// * package:analyzer/dart/ast/visitor.dart
9+
///
10+
/// If your code is using APIs not available in these public libraries, please
11+
/// contact the analyzer team to either find an alternate API or have the API
12+
/// you depend on added to the public API.
1513
@deprecated
1614
library analyzer.src.generated.ast;
1715

pkg/analyzer/lib/src/generated/constant.dart

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,18 @@ export 'package:analyzer/src/dart/constant/value.dart';
9696
/// indicate various conditions encountered during evaluation. These are
9797
/// documented with the static fields that define those values.
9898
class ConstantEvaluator {
99-
/**
100-
* The source containing the expression(s) that will be evaluated.
101-
*/
99+
/// The source containing the expression(s) that will be evaluated.
102100
final Source _source;
103101

104-
/**
105-
* The type provider used to access the known types.
106-
*/
102+
/// The type provider used to access the known types.
107103
final TypeProvider _typeProvider;
108104

109-
/**
110-
* The type system primitives.
111-
*/
105+
/// The type system primitives.
112106
final TypeSystemImpl _typeSystem;
113107

114-
/**
115-
* Initialize a newly created evaluator to evaluate expressions in the given
116-
* [source]. The [typeProvider] is the type provider used to access known
117-
* types.
118-
*/
108+
/// Initialize a newly created evaluator to evaluate expressions in the given
109+
/// [source]. The [typeProvider] is the type provider used to access known
110+
/// types.
119111
ConstantEvaluator(this._source, TypeProvider typeProvider,
120112
{TypeSystemImpl typeSystem})
121113
: _typeSystem = typeSystem ??

pkg/analyzer/lib/src/generated/element.dart

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
/**
6-
* This library is deprecated. Please convert all references to this library to
7-
* reference one of the following public libraries:
8-
* * package:analyzer/dart/element/element.dart
9-
* * package:analyzer/dart/element/type.dart
10-
* * package:analyzer/dart/element/visitor.dart
11-
*
12-
* If your code is using APIs not available in these public libraries, please
13-
* contact the analyzer team to either find an alternate API or have the API you
14-
* depend on added to the public API.
15-
*/
5+
/// This library is deprecated. Please convert all references to this library to
6+
/// reference one of the following public libraries:
7+
/// * package:analyzer/dart/element/element.dart
8+
/// * package:analyzer/dart/element/type.dart
9+
/// * package:analyzer/dart/element/visitor.dart
10+
///
11+
/// If your code is using APIs not available in these public libraries, please
12+
/// contact the analyzer team to either find an alternate API or have the API
13+
/// you depend on added to the public API.
1614
@deprecated
1715
library analyzer.src.generated.element;
1816

0 commit comments

Comments
 (0)