| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 mock_compiler; | 5 library mock_compiler; |
| 6 | 6 |
| 7 import "package:expect/expect.dart"; | 7 import "package:expect/expect.dart"; |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'dart:collection'; | 9 import 'dart:collection'; |
| 10 | 10 |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 } | 379 } |
| 380 | 380 |
| 381 class MockElement extends FunctionElementX { | 381 class MockElement extends FunctionElementX { |
| 382 MockElement(Element enclosingElement) | 382 MockElement(Element enclosingElement) |
| 383 : super('', ElementKind.FUNCTION, Modifiers.EMPTY, | 383 : super('', ElementKind.FUNCTION, Modifiers.EMPTY, |
| 384 enclosingElement, false); | 384 enclosingElement, false); |
| 385 | 385 |
| 386 get node => null; | 386 get node => null; |
| 387 | 387 |
| 388 parseNode(_) => null; | 388 parseNode(_) => null; |
| 389 |
| 390 bool get hasNode => false; |
| 389 } | 391 } |
| OLD | NEW |