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

Side by Side Diff: pkg/analyzer/test/generated/utilities_test.dart

Issue 2624283003: Revert "Add support for generic function type syntax, part 1" (TBR) (Closed)
Patch Set: Created 3 years, 11 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
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.generated.utilities_test; 5 library analyzer.test.generated.utilities_test;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/standard_ast_factory.dart'; 10 import 'package:analyzer/dart/ast/standard_ast_factory.dart';
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 Identifier get(Annotation node) => node.name; 1624 Identifier get(Annotation node) => node.name;
1625 } 1625 }
1626 1626
1627 class Getter_NodeReplacerTest_test_annotation_3 1627 class Getter_NodeReplacerTest_test_annotation_3
1628 implements NodeReplacerTest_Getter<Annotation, SimpleIdentifier> { 1628 implements NodeReplacerTest_Getter<Annotation, SimpleIdentifier> {
1629 @override 1629 @override
1630 SimpleIdentifier get(Annotation node) => node.constructorName; 1630 SimpleIdentifier get(Annotation node) => node.constructorName;
1631 } 1631 }
1632 1632
1633 class Getter_NodeReplacerTest_test_asExpression 1633 class Getter_NodeReplacerTest_test_asExpression
1634 implements NodeReplacerTest_Getter<AsExpression, TypeAnnotation> { 1634 implements NodeReplacerTest_Getter<AsExpression, TypeName> {
1635 @override 1635 @override
1636 TypeAnnotation get(AsExpression node) => node.type; 1636 TypeName get(AsExpression node) => node.type;
1637 } 1637 }
1638 1638
1639 class Getter_NodeReplacerTest_test_asExpression_2 1639 class Getter_NodeReplacerTest_test_asExpression_2
1640 implements NodeReplacerTest_Getter<AsExpression, Expression> { 1640 implements NodeReplacerTest_Getter<AsExpression, Expression> {
1641 @override 1641 @override
1642 Expression get(AsExpression node) => node.expression; 1642 Expression get(AsExpression node) => node.expression;
1643 } 1643 }
1644 1644
1645 class Getter_NodeReplacerTest_test_assertStatement 1645 class Getter_NodeReplacerTest_test_assertStatement
1646 implements NodeReplacerTest_Getter<AssertStatement, Expression> { 1646 implements NodeReplacerTest_Getter<AssertStatement, Expression> {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 SimpleIdentifier get(CatchClause node) => node.stackTraceParameter; 1708 SimpleIdentifier get(CatchClause node) => node.stackTraceParameter;
1709 } 1709 }
1710 1710
1711 class Getter_NodeReplacerTest_test_catchClause_2 1711 class Getter_NodeReplacerTest_test_catchClause_2
1712 implements NodeReplacerTest_Getter<CatchClause, SimpleIdentifier> { 1712 implements NodeReplacerTest_Getter<CatchClause, SimpleIdentifier> {
1713 @override 1713 @override
1714 SimpleIdentifier get(CatchClause node) => node.exceptionParameter; 1714 SimpleIdentifier get(CatchClause node) => node.exceptionParameter;
1715 } 1715 }
1716 1716
1717 class Getter_NodeReplacerTest_test_catchClause_3 1717 class Getter_NodeReplacerTest_test_catchClause_3
1718 implements NodeReplacerTest_Getter<CatchClause, TypeAnnotation> { 1718 implements NodeReplacerTest_Getter<CatchClause, TypeName> {
1719 @override 1719 @override
1720 TypeAnnotation get(CatchClause node) => node.exceptionType; 1720 TypeName get(CatchClause node) => node.exceptionType;
1721 } 1721 }
1722 1722
1723 class Getter_NodeReplacerTest_test_classDeclaration 1723 class Getter_NodeReplacerTest_test_classDeclaration
1724 implements NodeReplacerTest_Getter<ClassDeclaration, ImplementsClause> { 1724 implements NodeReplacerTest_Getter<ClassDeclaration, ImplementsClause> {
1725 @override 1725 @override
1726 ImplementsClause get(ClassDeclaration node) => node.implementsClause; 1726 ImplementsClause get(ClassDeclaration node) => node.implementsClause;
1727 } 1727 }
1728 1728
1729 class Getter_NodeReplacerTest_test_classDeclaration_2 1729 class Getter_NodeReplacerTest_test_classDeclaration_2
1730 implements NodeReplacerTest_Getter<ClassDeclaration, WithClause> { 1730 implements NodeReplacerTest_Getter<ClassDeclaration, WithClause> {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 SimpleIdentifier get(ConstructorName node) => node.name; 1876 SimpleIdentifier get(ConstructorName node) => node.name;
1877 } 1877 }
1878 1878
1879 class Getter_NodeReplacerTest_test_continueStatement 1879 class Getter_NodeReplacerTest_test_continueStatement
1880 implements NodeReplacerTest_Getter<ContinueStatement, SimpleIdentifier> { 1880 implements NodeReplacerTest_Getter<ContinueStatement, SimpleIdentifier> {
1881 @override 1881 @override
1882 SimpleIdentifier get(ContinueStatement node) => node.label; 1882 SimpleIdentifier get(ContinueStatement node) => node.label;
1883 } 1883 }
1884 1884
1885 class Getter_NodeReplacerTest_test_declaredIdentifier 1885 class Getter_NodeReplacerTest_test_declaredIdentifier
1886 implements NodeReplacerTest_Getter<DeclaredIdentifier, TypeAnnotation> { 1886 implements NodeReplacerTest_Getter<DeclaredIdentifier, TypeName> {
1887 @override 1887 @override
1888 TypeAnnotation get(DeclaredIdentifier node) => node.type; 1888 TypeName get(DeclaredIdentifier node) => node.type;
1889 } 1889 }
1890 1890
1891 class Getter_NodeReplacerTest_test_declaredIdentifier_2 1891 class Getter_NodeReplacerTest_test_declaredIdentifier_2
1892 implements NodeReplacerTest_Getter<DeclaredIdentifier, SimpleIdentifier> { 1892 implements NodeReplacerTest_Getter<DeclaredIdentifier, SimpleIdentifier> {
1893 @override 1893 @override
1894 SimpleIdentifier get(DeclaredIdentifier node) => node.identifier; 1894 SimpleIdentifier get(DeclaredIdentifier node) => node.identifier;
1895 } 1895 }
1896 1896
1897 class Getter_NodeReplacerTest_test_defaultFormalParameter 1897 class Getter_NodeReplacerTest_test_defaultFormalParameter
1898 implements 1898 implements
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1958 } 1958 }
1959 1959
1960 class Getter_NodeReplacerTest_test_fieldFormalParameter 1960 class Getter_NodeReplacerTest_test_fieldFormalParameter
1961 implements 1961 implements
1962 NodeReplacerTest_Getter<FieldFormalParameter, FormalParameterList> { 1962 NodeReplacerTest_Getter<FieldFormalParameter, FormalParameterList> {
1963 @override 1963 @override
1964 FormalParameterList get(FieldFormalParameter node) => node.parameters; 1964 FormalParameterList get(FieldFormalParameter node) => node.parameters;
1965 } 1965 }
1966 1966
1967 class Getter_NodeReplacerTest_test_fieldFormalParameter_2 1967 class Getter_NodeReplacerTest_test_fieldFormalParameter_2
1968 implements NodeReplacerTest_Getter<FieldFormalParameter, TypeAnnotation> { 1968 implements NodeReplacerTest_Getter<FieldFormalParameter, TypeName> {
1969 @override 1969 @override
1970 TypeAnnotation get(FieldFormalParameter node) => node.type; 1970 TypeName get(FieldFormalParameter node) => node.type;
1971 } 1971 }
1972 1972
1973 class Getter_NodeReplacerTest_test_forEachStatement_withIdentifier 1973 class Getter_NodeReplacerTest_test_forEachStatement_withIdentifier
1974 implements NodeReplacerTest_Getter<ForEachStatement, Statement> { 1974 implements NodeReplacerTest_Getter<ForEachStatement, Statement> {
1975 @override 1975 @override
1976 Statement get(ForEachStatement node) => node.body; 1976 Statement get(ForEachStatement node) => node.body;
1977 } 1977 }
1978 1978
1979 class Getter_NodeReplacerTest_test_forEachStatement_withIdentifier_2 1979 class Getter_NodeReplacerTest_test_forEachStatement_withIdentifier_2
1980 implements NodeReplacerTest_Getter<ForEachStatement, SimpleIdentifier> { 1980 implements NodeReplacerTest_Getter<ForEachStatement, SimpleIdentifier> {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2036 VariableDeclarationList get(ForStatement node) => node.variables; 2036 VariableDeclarationList get(ForStatement node) => node.variables;
2037 } 2037 }
2038 2038
2039 class Getter_NodeReplacerTest_test_forStatement_withVariables_3 2039 class Getter_NodeReplacerTest_test_forStatement_withVariables_3
2040 implements NodeReplacerTest_Getter<ForStatement, Expression> { 2040 implements NodeReplacerTest_Getter<ForStatement, Expression> {
2041 @override 2041 @override
2042 Expression get(ForStatement node) => node.condition; 2042 Expression get(ForStatement node) => node.condition;
2043 } 2043 }
2044 2044
2045 class Getter_NodeReplacerTest_test_functionDeclaration 2045 class Getter_NodeReplacerTest_test_functionDeclaration
2046 implements NodeReplacerTest_Getter<FunctionDeclaration, TypeAnnotation> { 2046 implements NodeReplacerTest_Getter<FunctionDeclaration, TypeName> {
2047 @override 2047 @override
2048 TypeAnnotation get(FunctionDeclaration node) => node.returnType; 2048 TypeName get(FunctionDeclaration node) => node.returnType;
2049 } 2049 }
2050 2050
2051 class Getter_NodeReplacerTest_test_functionDeclaration_2 2051 class Getter_NodeReplacerTest_test_functionDeclaration_2
2052 implements 2052 implements
2053 NodeReplacerTest_Getter<FunctionDeclaration, FunctionExpression> { 2053 NodeReplacerTest_Getter<FunctionDeclaration, FunctionExpression> {
2054 @override 2054 @override
2055 FunctionExpression get(FunctionDeclaration node) => node.functionExpression; 2055 FunctionExpression get(FunctionDeclaration node) => node.functionExpression;
2056 } 2056 }
2057 2057
2058 class Getter_NodeReplacerTest_test_functionDeclaration_3 2058 class Getter_NodeReplacerTest_test_functionDeclaration_3
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 TypeParameterList get(FunctionTypeAlias node) => node.typeParameters; 2103 TypeParameterList get(FunctionTypeAlias node) => node.typeParameters;
2104 } 2104 }
2105 2105
2106 class Getter_NodeReplacerTest_test_functionTypeAlias_2 2106 class Getter_NodeReplacerTest_test_functionTypeAlias_2
2107 implements NodeReplacerTest_Getter<FunctionTypeAlias, FormalParameterList> { 2107 implements NodeReplacerTest_Getter<FunctionTypeAlias, FormalParameterList> {
2108 @override 2108 @override
2109 FormalParameterList get(FunctionTypeAlias node) => node.parameters; 2109 FormalParameterList get(FunctionTypeAlias node) => node.parameters;
2110 } 2110 }
2111 2111
2112 class Getter_NodeReplacerTest_test_functionTypeAlias_3 2112 class Getter_NodeReplacerTest_test_functionTypeAlias_3
2113 implements NodeReplacerTest_Getter<FunctionTypeAlias, TypeAnnotation> { 2113 implements NodeReplacerTest_Getter<FunctionTypeAlias, TypeName> {
2114 @override 2114 @override
2115 TypeAnnotation get(FunctionTypeAlias node) => node.returnType; 2115 TypeName get(FunctionTypeAlias node) => node.returnType;
2116 } 2116 }
2117 2117
2118 class Getter_NodeReplacerTest_test_functionTypeAlias_4 2118 class Getter_NodeReplacerTest_test_functionTypeAlias_4
2119 implements NodeReplacerTest_Getter<FunctionTypeAlias, SimpleIdentifier> { 2119 implements NodeReplacerTest_Getter<FunctionTypeAlias, SimpleIdentifier> {
2120 @override 2120 @override
2121 SimpleIdentifier get(FunctionTypeAlias node) => node.name; 2121 SimpleIdentifier get(FunctionTypeAlias node) => node.name;
2122 } 2122 }
2123 2123
2124 class Getter_NodeReplacerTest_test_functionTypedFormalParameter 2124 class Getter_NodeReplacerTest_test_functionTypedFormalParameter
2125 implements 2125 implements NodeReplacerTest_Getter<FunctionTypedFormalParameter, TypeName> {
2126 NodeReplacerTest_Getter<FunctionTypedFormalParameter, TypeAnnotation> {
2127 @override 2126 @override
2128 TypeAnnotation get(FunctionTypedFormalParameter node) => node.returnType; 2127 TypeName get(FunctionTypedFormalParameter node) => node.returnType;
2129 } 2128 }
2130 2129
2131 class Getter_NodeReplacerTest_test_functionTypedFormalParameter_2 2130 class Getter_NodeReplacerTest_test_functionTypedFormalParameter_2
2132 implements 2131 implements
2133 NodeReplacerTest_Getter<FunctionTypedFormalParameter, 2132 NodeReplacerTest_Getter<FunctionTypedFormalParameter,
2134 FormalParameterList> { 2133 FormalParameterList> {
2135 @override 2134 @override
2136 FormalParameterList get(FunctionTypedFormalParameter node) => node.parameters; 2135 FormalParameterList get(FunctionTypedFormalParameter node) => node.parameters;
2137 } 2136 }
2138 2137
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2192 Expression get(InterpolationExpression node) => node.expression; 2191 Expression get(InterpolationExpression node) => node.expression;
2193 } 2192 }
2194 2193
2195 class Getter_NodeReplacerTest_test_isExpression 2194 class Getter_NodeReplacerTest_test_isExpression
2196 implements NodeReplacerTest_Getter<IsExpression, Expression> { 2195 implements NodeReplacerTest_Getter<IsExpression, Expression> {
2197 @override 2196 @override
2198 Expression get(IsExpression node) => node.expression; 2197 Expression get(IsExpression node) => node.expression;
2199 } 2198 }
2200 2199
2201 class Getter_NodeReplacerTest_test_isExpression_2 2200 class Getter_NodeReplacerTest_test_isExpression_2
2202 implements NodeReplacerTest_Getter<IsExpression, TypeAnnotation> { 2201 implements NodeReplacerTest_Getter<IsExpression, TypeName> {
2203 @override 2202 @override
2204 TypeAnnotation get(IsExpression node) => node.type; 2203 TypeName get(IsExpression node) => node.type;
2205 } 2204 }
2206 2205
2207 class Getter_NodeReplacerTest_test_label 2206 class Getter_NodeReplacerTest_test_label
2208 implements NodeReplacerTest_Getter<Label, SimpleIdentifier> { 2207 implements NodeReplacerTest_Getter<Label, SimpleIdentifier> {
2209 @override 2208 @override
2210 SimpleIdentifier get(Label node) => node.label; 2209 SimpleIdentifier get(Label node) => node.label;
2211 } 2210 }
2212 2211
2213 class Getter_NodeReplacerTest_test_labeledStatement 2212 class Getter_NodeReplacerTest_test_labeledStatement
2214 implements NodeReplacerTest_Getter<LabeledStatement, Statement> { 2213 implements NodeReplacerTest_Getter<LabeledStatement, Statement> {
(...skipping 13 matching lines...) Expand all
2228 Expression get(MapLiteralEntry node) => node.value; 2227 Expression get(MapLiteralEntry node) => node.value;
2229 } 2228 }
2230 2229
2231 class Getter_NodeReplacerTest_test_mapLiteralEntry_2 2230 class Getter_NodeReplacerTest_test_mapLiteralEntry_2
2232 implements NodeReplacerTest_Getter<MapLiteralEntry, Expression> { 2231 implements NodeReplacerTest_Getter<MapLiteralEntry, Expression> {
2233 @override 2232 @override
2234 Expression get(MapLiteralEntry node) => node.key; 2233 Expression get(MapLiteralEntry node) => node.key;
2235 } 2234 }
2236 2235
2237 class Getter_NodeReplacerTest_test_methodDeclaration 2236 class Getter_NodeReplacerTest_test_methodDeclaration
2238 implements NodeReplacerTest_Getter<MethodDeclaration, TypeAnnotation> { 2237 implements NodeReplacerTest_Getter<MethodDeclaration, TypeName> {
2239 @override 2238 @override
2240 TypeAnnotation get(MethodDeclaration node) => node.returnType; 2239 TypeName get(MethodDeclaration node) => node.returnType;
2241 } 2240 }
2242 2241
2243 class Getter_NodeReplacerTest_test_methodDeclaration_2 2242 class Getter_NodeReplacerTest_test_methodDeclaration_2
2244 implements NodeReplacerTest_Getter<MethodDeclaration, FunctionBody> { 2243 implements NodeReplacerTest_Getter<MethodDeclaration, FunctionBody> {
2245 @override 2244 @override
2246 FunctionBody get(MethodDeclaration node) => node.body; 2245 FunctionBody get(MethodDeclaration node) => node.body;
2247 } 2246 }
2248 2247
2249 class Getter_NodeReplacerTest_test_methodDeclaration_3 2248 class Getter_NodeReplacerTest_test_methodDeclaration_3
2250 implements NodeReplacerTest_Getter<MethodDeclaration, SimpleIdentifier> { 2249 implements NodeReplacerTest_Getter<MethodDeclaration, SimpleIdentifier> {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 ArgumentList get(RedirectingConstructorInvocation node) => node.argumentList; 2364 ArgumentList get(RedirectingConstructorInvocation node) => node.argumentList;
2366 } 2365 }
2367 2366
2368 class Getter_NodeReplacerTest_test_returnStatement 2367 class Getter_NodeReplacerTest_test_returnStatement
2369 implements NodeReplacerTest_Getter<ReturnStatement, Expression> { 2368 implements NodeReplacerTest_Getter<ReturnStatement, Expression> {
2370 @override 2369 @override
2371 Expression get(ReturnStatement node) => node.expression; 2370 Expression get(ReturnStatement node) => node.expression;
2372 } 2371 }
2373 2372
2374 class Getter_NodeReplacerTest_test_simpleFormalParameter 2373 class Getter_NodeReplacerTest_test_simpleFormalParameter
2375 implements NodeReplacerTest_Getter<SimpleFormalParameter, TypeAnnotation> { 2374 implements NodeReplacerTest_Getter<SimpleFormalParameter, TypeName> {
2376 @override 2375 @override
2377 TypeAnnotation get(SimpleFormalParameter node) => node.type; 2376 TypeName get(SimpleFormalParameter node) => node.type;
2378 } 2377 }
2379 2378
2380 class Getter_NodeReplacerTest_test_superConstructorInvocation 2379 class Getter_NodeReplacerTest_test_superConstructorInvocation
2381 implements 2380 implements
2382 NodeReplacerTest_Getter<SuperConstructorInvocation, SimpleIdentifier> { 2381 NodeReplacerTest_Getter<SuperConstructorInvocation, SimpleIdentifier> {
2383 @override 2382 @override
2384 SimpleIdentifier get(SuperConstructorInvocation node) => node.constructorName; 2383 SimpleIdentifier get(SuperConstructorInvocation node) => node.constructorName;
2385 } 2384 }
2386 2385
2387 class Getter_NodeReplacerTest_test_superConstructorInvocation_2 2386 class Getter_NodeReplacerTest_test_superConstructorInvocation_2
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
2436 TypeArgumentList get(TypeName node) => node.typeArguments; 2435 TypeArgumentList get(TypeName node) => node.typeArguments;
2437 } 2436 }
2438 2437
2439 class Getter_NodeReplacerTest_test_typeName_2 2438 class Getter_NodeReplacerTest_test_typeName_2
2440 implements NodeReplacerTest_Getter<TypeName, Identifier> { 2439 implements NodeReplacerTest_Getter<TypeName, Identifier> {
2441 @override 2440 @override
2442 Identifier get(TypeName node) => node.name; 2441 Identifier get(TypeName node) => node.name;
2443 } 2442 }
2444 2443
2445 class Getter_NodeReplacerTest_test_typeParameter 2444 class Getter_NodeReplacerTest_test_typeParameter
2446 implements NodeReplacerTest_Getter<TypeParameter, TypeAnnotation> { 2445 implements NodeReplacerTest_Getter<TypeParameter, TypeName> {
2447 @override 2446 @override
2448 TypeAnnotation get(TypeParameter node) => node.bound; 2447 TypeName get(TypeParameter node) => node.bound;
2449 } 2448 }
2450 2449
2451 class Getter_NodeReplacerTest_test_typeParameter_2 2450 class Getter_NodeReplacerTest_test_typeParameter_2
2452 implements NodeReplacerTest_Getter<TypeParameter, SimpleIdentifier> { 2451 implements NodeReplacerTest_Getter<TypeParameter, SimpleIdentifier> {
2453 @override 2452 @override
2454 SimpleIdentifier get(TypeParameter node) => node.name; 2453 SimpleIdentifier get(TypeParameter node) => node.name;
2455 } 2454 }
2456 2455
2457 class Getter_NodeReplacerTest_test_variableDeclaration 2456 class Getter_NodeReplacerTest_test_variableDeclaration
2458 implements NodeReplacerTest_Getter<VariableDeclaration, SimpleIdentifier> { 2457 implements NodeReplacerTest_Getter<VariableDeclaration, SimpleIdentifier> {
2459 @override 2458 @override
2460 SimpleIdentifier get(VariableDeclaration node) => node.name; 2459 SimpleIdentifier get(VariableDeclaration node) => node.name;
2461 } 2460 }
2462 2461
2463 class Getter_NodeReplacerTest_test_variableDeclaration_2 2462 class Getter_NodeReplacerTest_test_variableDeclaration_2
2464 implements NodeReplacerTest_Getter<VariableDeclaration, Expression> { 2463 implements NodeReplacerTest_Getter<VariableDeclaration, Expression> {
2465 @override 2464 @override
2466 Expression get(VariableDeclaration node) => node.initializer; 2465 Expression get(VariableDeclaration node) => node.initializer;
2467 } 2466 }
2468 2467
2469 class Getter_NodeReplacerTest_test_variableDeclarationList 2468 class Getter_NodeReplacerTest_test_variableDeclarationList
2470 implements 2469 implements NodeReplacerTest_Getter<VariableDeclarationList, TypeName> {
2471 NodeReplacerTest_Getter<VariableDeclarationList, TypeAnnotation> {
2472 @override 2470 @override
2473 TypeAnnotation get(VariableDeclarationList node) => node.type; 2471 TypeName get(VariableDeclarationList node) => node.type;
2474 } 2472 }
2475 2473
2476 class Getter_NodeReplacerTest_test_variableDeclarationStatement 2474 class Getter_NodeReplacerTest_test_variableDeclarationStatement
2477 implements 2475 implements
2478 NodeReplacerTest_Getter<VariableDeclarationStatement, 2476 NodeReplacerTest_Getter<VariableDeclarationStatement,
2479 VariableDeclarationList> { 2477 VariableDeclarationList> {
2480 @override 2478 @override
2481 VariableDeclarationList get(VariableDeclarationStatement node) => 2479 VariableDeclarationList get(VariableDeclarationStatement node) =>
2482 node.variables; 2480 node.variables;
2483 } 2481 }
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
2759 2757
2760 class ListGetter_NodeReplacerTest_test_tryStatement 2758 class ListGetter_NodeReplacerTest_test_tryStatement
2761 extends NodeReplacerTest_ListGetter<TryStatement, CatchClause> { 2759 extends NodeReplacerTest_ListGetter<TryStatement, CatchClause> {
2762 ListGetter_NodeReplacerTest_test_tryStatement(int arg0) : super(arg0); 2760 ListGetter_NodeReplacerTest_test_tryStatement(int arg0) : super(arg0);
2763 2761
2764 @override 2762 @override
2765 NodeList<CatchClause> getList(TryStatement node) => node.catchClauses; 2763 NodeList<CatchClause> getList(TryStatement node) => node.catchClauses;
2766 } 2764 }
2767 2765
2768 class ListGetter_NodeReplacerTest_test_typeArgumentList 2766 class ListGetter_NodeReplacerTest_test_typeArgumentList
2769 extends NodeReplacerTest_ListGetter<TypeArgumentList, TypeAnnotation> { 2767 extends NodeReplacerTest_ListGetter<TypeArgumentList, TypeName> {
2770 ListGetter_NodeReplacerTest_test_typeArgumentList(int arg0) : super(arg0); 2768 ListGetter_NodeReplacerTest_test_typeArgumentList(int arg0) : super(arg0);
2771 2769
2772 @override 2770 @override
2773 NodeList<TypeAnnotation> getList(TypeArgumentList node) => node.arguments; 2771 NodeList<TypeName> getList(TypeArgumentList node) => node.arguments;
2774 } 2772 }
2775 2773
2776 class ListGetter_NodeReplacerTest_test_typeParameterList 2774 class ListGetter_NodeReplacerTest_test_typeParameterList
2777 extends NodeReplacerTest_ListGetter<TypeParameterList, TypeParameter> { 2775 extends NodeReplacerTest_ListGetter<TypeParameterList, TypeParameter> {
2778 ListGetter_NodeReplacerTest_test_typeParameterList(int arg0) : super(arg0); 2776 ListGetter_NodeReplacerTest_test_typeParameterList(int arg0) : super(arg0);
2779 2777
2780 @override 2778 @override
2781 NodeList<TypeParameter> getList(TypeParameterList node) => 2779 NodeList<TypeParameter> getList(TypeParameterList node) =>
2782 node.typeParameters; 2780 node.typeParameters;
2783 } 2781 }
(...skipping 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after
4389 tokenMap.put(key, value); 4387 tokenMap.put(key, value);
4390 expect(tokenMap.get(key), same(value)); 4388 expect(tokenMap.get(key), same(value));
4391 } 4389 }
4392 } 4390 }
4393 4391
4394 class _ExceptionThrowingVisitor extends SimpleAstVisitor { 4392 class _ExceptionThrowingVisitor extends SimpleAstVisitor {
4395 visitNullLiteral(NullLiteral node) { 4393 visitNullLiteral(NullLiteral node) {
4396 throw new ArgumentError(''); 4394 throw new ArgumentError('');
4397 } 4395 }
4398 } 4396 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/resolver_test.dart ('k') | pkg/analyzer/test/src/dart/ast/utilities_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698