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

Unified Diff: pkg/analyzer/lib/src/dart/element/element.dart

Issue 1994243002: Dangling comment reference cleanup in analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/token.dart ('k') | pkg/analyzer/lib/src/dart/element/type.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 561d34472321a02af15156a27f2c4dc2daf9fb97..3aa924420b83f38897278a1279cbd49a95aeafc3 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -19,6 +19,7 @@ import 'package:analyzer/src/dart/element/type.dart';
import 'package:analyzer/src/generated/constant.dart' show EvaluationResultImpl;
import 'package:analyzer/src/generated/engine.dart'
show AnalysisContext, AnalysisEngine;
+import 'package:analyzer/src/generated/error.dart' show CompileTimeErrorCode;
import 'package:analyzer/src/generated/java_core.dart';
import 'package:analyzer/src/generated/java_engine.dart';
import 'package:analyzer/src/generated/resolver.dart';
@@ -1765,7 +1766,7 @@ class DynamicElementImpl extends ElementImpl implements TypeDefiningElement {
* Initialize a newly created instance of this class. Instances of this class
* should <b>not</b> be created except as part of creating the type associated
* with this element. The single instance of this class should be accessed
- * through the method [getInstance].
+ * through the method [instance].
*/
DynamicElementImpl() : super(Keyword.DYNAMIC.syntax, -1) {
setModifier(Modifier.SYNTHETIC, true);
@@ -3147,7 +3148,7 @@ class FunctionElementImpl extends ExecutableElementImpl
/**
* Initialize a newly created function element to have no name and the given
- * [offset]. This is used for function expressions, that have no name.
+ * [nameOffset]. This is used for function expressions, that have no name.
*/
FunctionElementImpl.forOffset(int nameOffset) : super("", nameOffset);
@@ -3605,8 +3606,8 @@ class LabelElementImpl extends ElementImpl implements LabelElement {
/**
* Initialize a newly created label element to have the given [name].
- * [onSwitchStatement] should be `true` if this label is associated with a
- * `switch` statement and [onSwitchMember] should be `true` if this label is
+ * [_onSwitchStatement] should be `true` if this label is associated with a
+ * `switch` statement and [_onSwitchMember] should be `true` if this label is
* associated with a `switch` member.
*/
LabelElementImpl.forNode(
@@ -5244,7 +5245,7 @@ abstract class ParameterElementMixin implements ParameterElement {
class PrefixElementImpl extends ElementImpl implements PrefixElement {
/**
* Initialize a newly created method element to have the given [name] and
- * [offset].
+ * [nameOffset].
*/
PrefixElementImpl(String name, int nameOffset) : super(name, nameOffset);
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/token.dart ('k') | pkg/analyzer/lib/src/dart/element/type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698