File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
pkg/analyzer/lib/src/dart/ast Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ import 'package:analyzer/src/generated/engine.dart' show AnalysisEngine;
1111
1212export 'package:analyzer/src/dart/ast/constant_evaluator.dart' ;
1313
14- /// A function used to handle exceptions that are thrown by delegates while
15- /// using an [ExceptionHandlingDelegatingAstVisitor] .
16- typedef ExceptionInDelegateHandler = void Function (
17- AstNode node, AstVisitor visitor, dynamic exception, StackTrace stackTrace);
18-
1914/// An AstVisitor that compares the structure of two AstNodes to see whether
2015/// they are equal.
2116class AstComparator implements AstVisitor <bool > {
@@ -30,14 +25,15 @@ class AstComparator implements AstVisitor<bool> {
3025 return false ;
3126 }
3227
33- /// Check whether the values of the [first] and [second] nodes are [equal] .
28+ /// Checks whether the values of the [first] and [second] nodes are equal.
29+ ///
3430 /// Subclasses can override to throw.
3531 bool failIfNotEqual (
3632 AstNode first, Object ? firstValue, AstNode second, Object ? secondValue) {
3733 return firstValue == secondValue;
3834 }
3935
40- /// Check whether [second] is null. Subclasses can override to throw.
36+ /// Checks whether [second] is ` null` . Subclasses can override to throw.
4137 bool failIfNotNull (Object ? first, Object ? second) {
4238 return second == null ;
4339 }
You can’t perform that action at this time.
0 commit comments