Convert session.dart to triple-slash comment style
Change-Id: Idb5120b19ed6737b7c41b97327876113f11829d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101065
Commit-Queue: Paul Berry <paulberry@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Paul Berry <paulberry@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
diff --git a/pkg/analyzer/lib/src/dart/analysis/session.dart b/pkg/analyzer/lib/src/dart/analysis/session.dart
index 6ff7f8f..5c88736 100644
--- a/pkg/analyzer/lib/src/dart/analysis/session.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/session.dart
@@ -17,38 +17,24 @@
import 'package:analyzer/src/generated/resolver.dart';
import 'package:analyzer/src/generated/source.dart';
-/**
- * A concrete implementation of an analysis session.
- */
+/// A concrete implementation of an analysis session.
class AnalysisSessionImpl implements AnalysisSession {
- /**
- * The analysis driver performing analysis for this session.
- */
+ /// The analysis driver performing analysis for this session.
final driver.AnalysisDriver _driver;
- /**
- * The type provider being used by the analysis driver.
- */
+ /// The type provider being used by the analysis driver.
TypeProvider _typeProvider;
- /**
- * The type system being used by the analysis driver.
- */
+ /// The type system being used by the analysis driver.
TypeSystem _typeSystem;
- /**
- * The URI converter used to convert between URI's and file paths.
- */
+ /// The URI converter used to convert between URI's and file paths.
UriConverter _uriConverter;
- /**
- * The cache of libraries for URIs.
- */
+ /// The cache of libraries for URIs.
final Map<String, LibraryElement> _uriToLibraryCache = {};
- /**
- * Initialize a newly created analysis session.
- */
+ /// Initialize a newly created analysis session.
AnalysisSessionImpl(this._driver);
@override
@@ -190,10 +176,8 @@
return _driver.getUnitElementSignature(path);
}
- /**
- * Check to see that results from this session will be consistent, and throw
- * an [InconsistentAnalysisException] if they might not be.
- */
+ /// Check to see that results from this session will be consistent, and throw
+ /// an [InconsistentAnalysisException] if they might not be.
void _checkConsistency() {
if (_driver.currentSession != this) {
throw new InconsistentAnalysisException();