OLD | NEW |
1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
3 library engine.test_support; | 3 library engine.test_support; |
4 import 'package:analyzer_experimental/src/generated/java_core.dart'; | 4 import 'package:analyzer/src/generated/java_core.dart'; |
5 import 'package:analyzer_experimental/src/generated/java_junit.dart'; | 5 import 'package:analyzer/src/generated/java_junit.dart'; |
6 import 'package:analyzer_experimental/src/generated/source.dart'; | 6 import 'package:analyzer/src/generated/source.dart'; |
7 import 'package:analyzer_experimental/src/generated/error.dart'; | 7 import 'package:analyzer/src/generated/error.dart'; |
8 import 'package:analyzer_experimental/src/generated/scanner.dart'; | 8 import 'package:analyzer/src/generated/scanner.dart'; |
9 import 'package:analyzer_experimental/src/generated/ast.dart' show ASTNode, Node
Locator; | 9 import 'package:analyzer/src/generated/ast.dart' show ASTNode, NodeLocator; |
10 import 'package:analyzer_experimental/src/generated/element.dart' show Interface
Type, MethodElement, PropertyAccessorElement; | 10 import 'package:analyzer/src/generated/element.dart' show InterfaceType, MethodE
lement, PropertyAccessorElement; |
11 import 'package:analyzer_experimental/src/generated/engine.dart' show AnalysisCo
ntext, AnalysisContextImpl, RecordingErrorListener; | 11 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext, Analys
isContextImpl, RecordingErrorListener; |
12 import 'package:unittest/unittest.dart' as _ut; | 12 import 'package:unittest/unittest.dart' as _ut; |
13 /** | 13 /** |
14 * Instances of the class `GatheringErrorListener` implement an error listener t
hat collects | 14 * Instances of the class `GatheringErrorListener` implement an error listener t
hat collects |
15 * all of the errors passed to it for later examination. | 15 * all of the errors passed to it for later examination. |
16 */ | 16 */ |
17 class GatheringErrorListener implements AnalysisErrorListener { | 17 class GatheringErrorListener implements AnalysisErrorListener { |
18 | 18 |
19 /** | 19 /** |
20 * The source being parsed. | 20 * The source being parsed. |
21 */ | 21 */ |
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 return trampoline(target, arguments[0], arguments[1]); | 851 return trampoline(target, arguments[0], arguments[1]); |
852 case 3: | 852 case 3: |
853 return trampoline(target, arguments[0], arguments[1], arguments[2]); | 853 return trampoline(target, arguments[0], arguments[1], arguments[2]); |
854 case 4: | 854 case 4: |
855 return trampoline(target, arguments[0], arguments[1], arguments[2], argu
ments[3]); | 855 return trampoline(target, arguments[0], arguments[1], arguments[2], argu
ments[3]); |
856 default: | 856 default: |
857 throw new IllegalArgumentException("Not implemented for > 4 arguments"); | 857 throw new IllegalArgumentException("Not implemented for > 4 arguments"); |
858 } | 858 } |
859 } | 859 } |
860 } | 860 } |
OLD | NEW |