| 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 | 
| 11 import 'package:compiler/compiler.dart' as api; | 11 import 'package:compiler/compiler.dart' as api; | 
| 12 import 'package:compiler/implementation/elements/elements.dart'; | 12 import 'package:compiler/src/elements/elements.dart'; | 
| 13 import 'package:compiler/implementation/js_backend/js_backend.dart' | 13 import 'package:compiler/src/js_backend/js_backend.dart' | 
| 14     show JavaScriptBackend; | 14     show JavaScriptBackend; | 
| 15 import 'package:compiler/implementation/resolution/resolution.dart'; | 15 import 'package:compiler/src/resolution/resolution.dart'; | 
| 16 import 'package:compiler/implementation/source_file.dart'; | 16 import 'package:compiler/src/source_file.dart'; | 
| 17 import 'package:compiler/implementation/tree/tree.dart'; | 17 import 'package:compiler/src/tree/tree.dart'; | 
| 18 import 'package:compiler/implementation/util/util.dart'; | 18 import 'package:compiler/src/util/util.dart'; | 
| 19 import 'parser_helper.dart'; | 19 import 'parser_helper.dart'; | 
| 20 | 20 | 
| 21 import 'package:compiler/implementation/elements/modelx.dart' | 21 import 'package:compiler/src/elements/modelx.dart' | 
| 22     show ElementX, | 22     show ElementX, | 
| 23          LibraryElementX, | 23          LibraryElementX, | 
| 24          ErroneousElementX, | 24          ErroneousElementX, | 
| 25          FunctionElementX; | 25          FunctionElementX; | 
| 26 | 26 | 
| 27 import 'package:compiler/implementation/dart2jslib.dart' | 27 import 'package:compiler/src/dart2jslib.dart' | 
| 28     hide TreeElementMapping; | 28     hide TreeElementMapping; | 
| 29 | 29 | 
| 30 import 'package:compiler/implementation/deferred_load.dart' | 30 import 'package:compiler/src/deferred_load.dart' | 
| 31     show DeferredLoadTask, | 31     show DeferredLoadTask, | 
| 32          OutputUnit; | 32          OutputUnit; | 
| 33 | 33 | 
| 34 import 'mock_libraries.dart'; | 34 import 'mock_libraries.dart'; | 
| 35 | 35 | 
| 36 class WarningMessage { | 36 class WarningMessage { | 
| 37   Spannable node; | 37   Spannable node; | 
| 38   Message message; | 38   Message message; | 
| 39   WarningMessage(this.node, this.message); | 39   WarningMessage(this.node, this.message); | 
| 40 | 40 | 
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 389   MockElement(Element enclosingElement) | 389   MockElement(Element enclosingElement) | 
| 390       : super('', ElementKind.FUNCTION, Modifiers.EMPTY, | 390       : super('', ElementKind.FUNCTION, Modifiers.EMPTY, | 
| 391               enclosingElement, false); | 391               enclosingElement, false); | 
| 392 | 392 | 
| 393   get node => null; | 393   get node => null; | 
| 394 | 394 | 
| 395   parseNode(_) => null; | 395   parseNode(_) => null; | 
| 396 | 396 | 
| 397   bool get hasNode => false; | 397   bool get hasNode => false; | 
| 398 } | 398 } | 
| OLD | NEW | 
|---|