| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 dev_compiler.src.codegen.js_codegen; | |
| 6 | |
| 7 import 'dart:collection' show HashSet, HashMap, SplayTreeSet; | 5 import 'dart:collection' show HashSet, HashMap, SplayTreeSet; |
| 8 | 6 |
| 9 import 'package:analyzer/analyzer.dart' hide ConstantEvaluator; | 7 import 'package:analyzer/analyzer.dart' hide ConstantEvaluator; |
| 10 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; | 8 import 'package:analyzer/src/generated/ast.dart' hide ConstantEvaluator; |
| 11 import 'package:analyzer/src/generated/constant.dart'; | 9 import 'package:analyzer/src/generated/constant.dart'; |
| 12 import 'package:analyzer/src/generated/element.dart'; | 10 import 'package:analyzer/src/generated/element.dart'; |
| 13 import 'package:analyzer/src/generated/resolver.dart' show TypeProvider; | 11 import 'package:analyzer/src/generated/resolver.dart' show TypeProvider; |
| 14 import 'package:analyzer/src/generated/scanner.dart' | 12 import 'package:analyzer/src/generated/scanner.dart' |
| 15 show StringToken, Token, TokenType; | 13 show StringToken, Token, TokenType; |
| 16 import 'package:analyzer/src/generated/type_system.dart' | 14 import 'package:analyzer/src/generated/type_system.dart' |
| (...skipping 3593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3610 | 3608 |
| 3611 /// A special kind of element created by the compiler, signifying a temporary | 3609 /// A special kind of element created by the compiler, signifying a temporary |
| 3612 /// variable. These objects use instance equality, and should be shared | 3610 /// variable. These objects use instance equality, and should be shared |
| 3613 /// everywhere in the tree where they are treated as the same variable. | 3611 /// everywhere in the tree where they are treated as the same variable. |
| 3614 class TemporaryVariableElement extends LocalVariableElementImpl { | 3612 class TemporaryVariableElement extends LocalVariableElementImpl { |
| 3615 TemporaryVariableElement.forNode(Identifier name) : super.forNode(name); | 3613 TemporaryVariableElement.forNode(Identifier name) : super.forNode(name); |
| 3616 | 3614 |
| 3617 int get hashCode => identityHashCode(this); | 3615 int get hashCode => identityHashCode(this); |
| 3618 bool operator ==(Object other) => identical(this, other); | 3616 bool operator ==(Object other) => identical(this, other); |
| 3619 } | 3617 } |
| OLD | NEW |