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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 ErroneousConstructorElementX(MessageKind messageKind, Map messageArguments, | 307 ErroneousConstructorElementX(MessageKind messageKind, Map messageArguments, |
308 String name, Element enclosing) | 308 String name, Element enclosing) |
309 : super(messageKind, messageArguments, name, enclosing); | 309 : super(messageKind, messageArguments, name, enclosing); |
310 | 310 |
311 @override | 311 @override |
312 bool get isRedirectingGenerative => false; | 312 bool get isRedirectingGenerative => false; |
313 | 313 |
314 @override | 314 @override |
315 bool isRedirectingGenerativeInternal; | 315 bool isRedirectingGenerativeInternal; |
316 | 316 |
317 @override | |
318 void set isRedirectingGenerative(_) { | 317 void set isRedirectingGenerative(_) { |
319 throw new UnsupportedError("isRedirectingGenerative"); | 318 throw new UnsupportedError("isRedirectingGenerative"); |
320 } | 319 } |
321 | 320 |
322 @override | 321 @override |
323 bool get isRedirectingFactory => false; | 322 bool get isRedirectingFactory => false; |
324 | 323 |
325 @override | 324 @override |
326 get definingElement { | 325 get definingElement { |
327 throw new UnsupportedError("definingElement"); | 326 throw new UnsupportedError("definingElement"); |
(...skipping 3093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3421 body = node.asFunctionExpression().body; | 3420 body = node.asFunctionExpression().body; |
3422 } | 3421 } |
3423 return new ParsedResolvedAst( | 3422 return new ParsedResolvedAst( |
3424 declaration, | 3423 declaration, |
3425 node, | 3424 node, |
3426 body, | 3425 body, |
3427 definingElement.treeElements, | 3426 definingElement.treeElements, |
3428 definingElement.compilationUnit.script.resourceUri); | 3427 definingElement.compilationUnit.script.resourceUri); |
3429 } | 3428 } |
3430 } | 3429 } |
OLD | NEW |