Index: pkg/kernel/lib/ast.dart |
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart |
index 7fddae39ee45e16592f51f5ac9ef7e89a5997106..aa87ce4365967d195807defef4037c6bfd6cce83 100644 |
--- a/pkg/kernel/lib/ast.dart |
+++ b/pkg/kernel/lib/ast.dart |
@@ -493,16 +493,6 @@ class Typedef extends NamedNode { |
List<Expression> annotations = const <Expression>[]; |
String name; |
final List<TypeParameter> typeParameters; |
- |
- @informative |
- int requiredParameterCount = 0; |
- |
- @informative |
- List<VariableDeclaration> positionalParameters = <VariableDeclaration>[]; |
- |
- @informative |
- List<VariableDeclaration> namedParameters = <VariableDeclaration>[]; |
- |
DartType type; |
Typedef(this.name, this.type, |
@@ -518,22 +508,9 @@ class Typedef extends NamedNode { |
return v.visitTypedef(this); |
} |
- void setParameters( |
- int requiredParameterCount, |
- List<VariableDeclaration> positionalParameters, |
- List<VariableDeclaration> namedParameters) { |
- this.requiredParameterCount = requiredParameterCount; |
- this.positionalParameters = positionalParameters; |
- this.namedParameters = namedParameters; |
- setParents(this.positionalParameters, this); |
- setParents(this.namedParameters, this); |
- } |
- |
transformChildren(Transformer v) { |
transformList(annotations, v, this); |
transformList(typeParameters, v, this); |
- transformList(positionalParameters, v, this); |
- transformList(namedParameters, v, this); |
if (type != null) { |
type = v.visitDartType(type); |
} |
@@ -542,9 +519,6 @@ class Typedef extends NamedNode { |
visitChildren(Visitor v) { |
visitList(annotations, v); |
visitList(typeParameters, v); |
- visitList(typeParameters, v); |
- visitList(positionalParameters, v); |
- visitList(namedParameters, v); |
type?.accept(v); |
} |
@@ -860,10 +834,6 @@ abstract class Member extends NamedNode { |
/// (this is the default if none is specifically set). |
int fileEndOffset = TreeNode.noOffset; |
- /// Documentation comment of the member, or `null`. |
- @informative |
- String documentationComment; |
- |
/// List of metadata annotations on the member. |
/// |
/// This defaults to an immutable empty list. Use [addAnnotation] to add |