| Index: packages/dart_style/test/regression/0000/0075.unit
|
| diff --git a/packages/dart_style/test/regression/0000/0075.unit b/packages/dart_style/test/regression/0000/0075.unit
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a1ff896027fd196203c702c68be1bba100660df9
|
| --- /dev/null
|
| +++ b/packages/dart_style/test/regression/0000/0075.unit
|
| @@ -0,0 +1,26 @@
|
| +>>>
|
| +class AstComparator implements AstVisitor<bool> {
|
| + bool visitClassDeclaration(ClassDeclaration node) {
|
| + ClassDeclaration other = this._other as ClassDeclaration;
|
| + return _isEqualNodes(node.documentationComment, other.documentationComment) && _isEqualNodeLists(node.metadata, other.metadata) && _isEqualTokens(node.abstractKeyword, other.abstractKeyword) && _isEqualTokens(node.classKeyword, other.classKeyword) && _isEqualNodes(node.name, other.name) && _isEqualNodes(node.typeParameters, other.typeParameters) && _isEqualNodes(node.extendsClause, other.extendsClause) && _isEqualNodes(node.withClause, other.withClause) && _isEqualNodes(node.implementsClause, other.implementsClause) && _isEqualTokens(node.leftBracket, other.leftBracket) && _isEqualNodeLists(node.members, other.members) && _isEqualTokens(node.rightBracket, other.rightBracket);
|
| + }
|
| +}
|
| +<<<
|
| +class AstComparator implements AstVisitor<bool> {
|
| + bool visitClassDeclaration(ClassDeclaration node) {
|
| + ClassDeclaration other = this._other as ClassDeclaration;
|
| + return _isEqualNodes(
|
| + node.documentationComment, other.documentationComment) &&
|
| + _isEqualNodeLists(node.metadata, other.metadata) &&
|
| + _isEqualTokens(node.abstractKeyword, other.abstractKeyword) &&
|
| + _isEqualTokens(node.classKeyword, other.classKeyword) &&
|
| + _isEqualNodes(node.name, other.name) &&
|
| + _isEqualNodes(node.typeParameters, other.typeParameters) &&
|
| + _isEqualNodes(node.extendsClause, other.extendsClause) &&
|
| + _isEqualNodes(node.withClause, other.withClause) &&
|
| + _isEqualNodes(node.implementsClause, other.implementsClause) &&
|
| + _isEqualTokens(node.leftBracket, other.leftBracket) &&
|
| + _isEqualNodeLists(node.members, other.members) &&
|
| + _isEqualTokens(node.rightBracket, other.rightBracket);
|
| + }
|
| +}
|
|
|