OLD | NEW |
---|---|
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 elements.modelx; | 5 library elements.modelx; |
6 | 6 |
7 import '../common.dart'; | 7 import '../common.dart'; |
8 import '../common/names.dart' show Identifiers; | 8 import '../common/names.dart' show Identifiers; |
9 import '../common/resolution.dart' show Resolution, ParsingContext; | 9 import '../common/resolution.dart' show Resolution, ParsingContext; |
10 import '../compiler.dart' show Compiler; | 10 import '../compiler.dart' show Compiler; |
(...skipping 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1939 | 1939 |
1940 @override | 1940 @override |
1941 bool get isFinal => true; | 1941 bool get isFinal => true; |
1942 | 1942 |
1943 @override | 1943 @override |
1944 bool get isLocal => true; | 1944 bool get isLocal => true; |
1945 | 1945 |
1946 ConstructorElement get functionDeclaration => super.functionDeclaration; | 1946 ConstructorElement get functionDeclaration => super.functionDeclaration; |
1947 } | 1947 } |
1948 | 1948 |
1949 // ignore: strong_mode_invalid_method_override_from_base | |
Johnni Winther
2017/07/28 18:06:02
Not sure why this error suddenly (re-)appeared in
| |
1949 class ErroneousInitializingFormalElementX extends ParameterElementX | 1950 class ErroneousInitializingFormalElementX extends ParameterElementX |
1950 implements InitializingFormalElementX { | 1951 implements InitializingFormalElementX { |
1951 final ErroneousFieldElementX fieldElement; | 1952 final ErroneousFieldElementX fieldElement; |
1952 | 1953 |
1953 ErroneousInitializingFormalElementX( | 1954 ErroneousInitializingFormalElementX( |
1954 Identifier identifier, Element enclosingElement) | 1955 Identifier identifier, Element enclosingElement) |
1955 : this.fieldElement = | 1956 : this.fieldElement = |
1956 new ErroneousFieldElementX(identifier, enclosingElement), | 1957 new ErroneousFieldElementX(identifier, enclosingElement), |
1957 super(ElementKind.INITIALIZING_FORMAL, enclosingElement, null, | 1958 super(ElementKind.INITIALIZING_FORMAL, enclosingElement, null, |
1958 identifier, null); | 1959 identifier, null); |
(...skipping 1644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3603 body = node.asFunctionExpression().body; | 3604 body = node.asFunctionExpression().body; |
3604 } | 3605 } |
3605 return new ParsedResolvedAst( | 3606 return new ParsedResolvedAst( |
3606 declaration, | 3607 declaration, |
3607 node, | 3608 node, |
3608 body, | 3609 body, |
3609 definingElement.treeElements, | 3610 definingElement.treeElements, |
3610 definingElement.compilationUnit.script.resourceUri); | 3611 definingElement.compilationUnit.script.resourceUri); |
3611 } | 3612 } |
3612 } | 3613 } |
OLD | NEW |