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

Side by Side Diff: packages/dart_style/test/regression/0000/0075.unit

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 >>>
2 class AstComparator implements AstVisitor<bool> {
3 bool visitClassDeclaration(ClassDeclaration node) {
4 ClassDeclaration other = this._other as ClassDeclaration;
5 return _isEqualNodes(node.documentationComment, other.documentationComment) && _isEqualNodeLists(node.metadata, other.metadata) && _isEqualTokens(node.abstr actKeyword, other.abstractKeyword) && _isEqualTokens(node.classKeyword, other.cl assKeyword) && _isEqualNodes(node.name, other.name) && _isEqualNodes(node.typePa rameters, other.typeParameters) && _isEqualNodes(node.extendsClause, other.exten dsClause) && _isEqualNodes(node.withClause, other.withClause) && _isEqualNodes(n ode.implementsClause, other.implementsClause) && _isEqualTokens(node.leftBracket , other.leftBracket) && _isEqualNodeLists(node.members, other.members) && _isEqu alTokens(node.rightBracket, other.rightBracket);
6 }
7 }
8 <<<
9 class AstComparator implements AstVisitor<bool> {
10 bool visitClassDeclaration(ClassDeclaration node) {
11 ClassDeclaration other = this._other as ClassDeclaration;
12 return _isEqualNodes(
13 node.documentationComment, other.documentationComment) &&
14 _isEqualNodeLists(node.metadata, other.metadata) &&
15 _isEqualTokens(node.abstractKeyword, other.abstractKeyword) &&
16 _isEqualTokens(node.classKeyword, other.classKeyword) &&
17 _isEqualNodes(node.name, other.name) &&
18 _isEqualNodes(node.typeParameters, other.typeParameters) &&
19 _isEqualNodes(node.extendsClause, other.extendsClause) &&
20 _isEqualNodes(node.withClause, other.withClause) &&
21 _isEqualNodes(node.implementsClause, other.implementsClause) &&
22 _isEqualTokens(node.leftBracket, other.leftBracket) &&
23 _isEqualNodeLists(node.members, other.members) &&
24 _isEqualTokens(node.rightBracket, other.rightBracket);
25 }
26 }
OLDNEW
« no previous file with comments | « packages/dart_style/test/regression/0000/0072.unit ('k') | packages/dart_style/test/regression/0000/0076.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698