| 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 'dart:uri'; | 7 import 'dart:uri'; |
| 8 | 8 |
| 9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; | 9 import '../../../sdk/lib/_internal/compiler/compiler.dart' as api; |
| 10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t'; | 10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t'; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 var length; | 59 var length; |
| 60 operator[](index) {} | 60 operator[](index) {} |
| 61 operator[]=(index, value) {} | 61 operator[]=(index, value) {} |
| 62 var add; | 62 var add; |
| 63 } | 63 } |
| 64 class JSString { | 64 class JSString { |
| 65 var length; | 65 var length; |
| 66 operator[](index) {} | 66 operator[](index) {} |
| 67 } | 67 } |
| 68 class JSNumber { | 68 class JSNumber { |
| 69 operator-() {} |
| 69 } | 70 } |
| 70 class JSInt { | 71 class JSInt { |
| 71 } | 72 } |
| 72 class JSDouble { | 73 class JSDouble { |
| 73 } | 74 } |
| 74 class JSNull { | 75 class JSNull { |
| 75 } | 76 } |
| 76 class JSBool { | 77 class JSBool { |
| 77 } | 78 } |
| 78 class JSFunction { | 79 class JSFunction { |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 operator []=(Node node, Element element) { | 299 operator []=(Node node, Element element) { |
| 299 map[node] = element; | 300 map[node] = element; |
| 300 } | 301 } |
| 301 | 302 |
| 302 operator [](Node node) => map[node]; | 303 operator [](Node node) => map[node]; |
| 303 | 304 |
| 304 void remove(Node node) { | 305 void remove(Node node) { |
| 305 map.remove(node); | 306 map.remove(node); |
| 306 } | 307 } |
| 307 } | 308 } |
| OLD | NEW |