| OLD | NEW |
| 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.src.generated.parser; | 5 library analyzer.src.generated.parser; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import "dart:math" as math; | 8 import "dart:math" as math; |
| 9 | 9 |
| 10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 'createSyntheticToken_1': new MethodTrampoline( | 121 'createSyntheticToken_1': new MethodTrampoline( |
| 122 1, (Parser target, arg0) => target._createSyntheticToken(arg0)), | 122 1, (Parser target, arg0) => target._createSyntheticToken(arg0)), |
| 123 'ensureAssignable_1': new MethodTrampoline( | 123 'ensureAssignable_1': new MethodTrampoline( |
| 124 1, (Parser target, arg0) => target._ensureAssignable(arg0)), | 124 1, (Parser target, arg0) => target._ensureAssignable(arg0)), |
| 125 'expect_1': | 125 'expect_1': |
| 126 new MethodTrampoline(1, (Parser target, arg0) => target._expect(arg0)), | 126 new MethodTrampoline(1, (Parser target, arg0) => target._expect(arg0)), |
| 127 'expectGt_0': new MethodTrampoline(0, (Parser target) => target._expectGt()), | 127 'expectGt_0': new MethodTrampoline(0, (Parser target) => target._expectGt()), |
| 128 'expectKeyword_1': new MethodTrampoline( | 128 'expectKeyword_1': new MethodTrampoline( |
| 129 1, (Parser target, arg0) => target._expectKeyword(arg0)), | 129 1, (Parser target, arg0) => target._expectKeyword(arg0)), |
| 130 'findRange_2': new MethodTrampoline( | 130 'findRange_2': new MethodTrampoline( |
| 131 2, (Parser target, arg0, arg1) => target._findRange(arg0, arg1)), | 131 2, |
| 132 (Parser target, List<List<int>> arg0, int arg1) => |
| 133 target._findRange(arg0, arg1)), |
| 132 'getCodeBlockRanges_1': new MethodTrampoline( | 134 'getCodeBlockRanges_1': new MethodTrampoline( |
| 133 1, (Parser target, arg0) => target._getCodeBlockRanges(arg0)), | 135 1, (Parser target, arg0) => target._getCodeBlockRanges(arg0)), |
| 134 'getEndToken_1': new MethodTrampoline( | 136 'getEndToken_1': new MethodTrampoline( |
| 135 1, (Parser target, arg0) => target._getEndToken(arg0)), | 137 1, (Parser target, arg0) => target._getEndToken(arg0)), |
| 136 'injectToken_1': new MethodTrampoline( | 138 'injectToken_1': new MethodTrampoline( |
| 137 1, (Parser target, arg0) => target._injectToken(arg0)), | 139 1, (Parser target, arg0) => target._injectToken(arg0)), |
| 138 'isFunctionDeclaration_0': new MethodTrampoline( | 140 'isFunctionDeclaration_0': new MethodTrampoline( |
| 139 0, (Parser target) => target._isFunctionDeclaration()), | 141 0, (Parser target) => target._isFunctionDeclaration()), |
| 140 'isFunctionExpression_1': new MethodTrampoline( | 142 'isFunctionExpression_1': new MethodTrampoline( |
| 141 1, (Parser target, arg0) => target._isFunctionExpression(arg0)), | 143 1, (Parser target, arg0) => target._isFunctionExpression(arg0)), |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 target._parseClassTypeAlias(arg0, arg1, arg2)), | 197 target._parseClassTypeAlias(arg0, arg1, arg2)), |
| 196 'parseCombinator_0': | 198 'parseCombinator_0': |
| 197 new MethodTrampoline(0, (Parser target) => target.parseCombinator()), | 199 new MethodTrampoline(0, (Parser target) => target.parseCombinator()), |
| 198 'parseCombinators_0': | 200 'parseCombinators_0': |
| 199 new MethodTrampoline(0, (Parser target) => target._parseCombinators()), | 201 new MethodTrampoline(0, (Parser target) => target._parseCombinators()), |
| 200 'parseCommentAndMetadata_0': new MethodTrampoline( | 202 'parseCommentAndMetadata_0': new MethodTrampoline( |
| 201 0, (Parser target) => target._parseCommentAndMetadata()), | 203 0, (Parser target) => target._parseCommentAndMetadata()), |
| 202 'parseCommentReference_2': new MethodTrampoline(2, | 204 'parseCommentReference_2': new MethodTrampoline(2, |
| 203 (Parser target, arg0, arg1) => target._parseCommentReference(arg0, arg1)), | 205 (Parser target, arg0, arg1) => target._parseCommentReference(arg0, arg1)), |
| 204 'parseCommentReferences_1': new MethodTrampoline( | 206 'parseCommentReferences_1': new MethodTrampoline( |
| 205 1, (Parser target, arg0) => target._parseCommentReferences(arg0)), | 207 1, |
| 208 (Parser target, List<DocumentationCommentToken> arg0) => |
| 209 target._parseCommentReferences(arg0)), |
| 206 'parseCompilationUnitMember_1': new MethodTrampoline( | 210 'parseCompilationUnitMember_1': new MethodTrampoline( |
| 207 1, (Parser target, arg0) => target._parseCompilationUnitMember(arg0)), | 211 1, (Parser target, arg0) => target._parseCompilationUnitMember(arg0)), |
| 208 'parseConfiguration_0': | 212 'parseConfiguration_0': |
| 209 new MethodTrampoline(0, (Parser target) => target._parseConfiguration()), | 213 new MethodTrampoline(0, (Parser target) => target._parseConfiguration()), |
| 210 'parseConstExpression_0': new MethodTrampoline( | 214 'parseConstExpression_0': new MethodTrampoline( |
| 211 0, (Parser target) => target._parseConstExpression()), | 215 0, (Parser target) => target._parseConstExpression()), |
| 212 'parseConstructor_8': new MethodTrampoline( | 216 'parseConstructor_8': new MethodTrampoline( |
| 213 8, | 217 8, |
| 214 (Parser target, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) => target | 218 (Parser target, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) => target |
| 215 ._parseConstructor(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)), | 219 ._parseConstructor(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)), |
| (...skipping 9723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9939 */ | 9943 */ |
| 9940 const ParserErrorCode(String name, String message, [String correction]) | 9944 const ParserErrorCode(String name, String message, [String correction]) |
| 9941 : super(name, message, correction); | 9945 : super(name, message, correction); |
| 9942 | 9946 |
| 9943 @override | 9947 @override |
| 9944 ErrorSeverity get errorSeverity => ErrorSeverity.ERROR; | 9948 ErrorSeverity get errorSeverity => ErrorSeverity.ERROR; |
| 9945 | 9949 |
| 9946 @override | 9950 @override |
| 9947 ErrorType get type => ErrorType.SYNTACTIC_ERROR; | 9951 ErrorType get type => ErrorType.SYNTACTIC_ERROR; |
| 9948 } | 9952 } |
| OLD | NEW |