| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletchc.fletch_context; | 5 library fletchc.fletch_context; |
| 6 | 6 |
| 7 import 'package:compiler/src/tree/tree.dart' show | 7 import 'package:compiler/src/tree/tree.dart' show |
| 8 Node; | 8 Node; |
| 9 | 9 |
| 10 import 'package:compiler/src/elements/elements.dart' show | 10 import 'package:compiler/src/elements/elements.dart' show |
| 11 ClassElement, | 11 ClassElement, |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 ConstantExpression expression = | 247 ConstantExpression expression = |
| 248 compiler.resolver.constantCompiler.compileNode( | 248 compiler.resolver.constantCompiler.compileNode( |
| 249 node, elements, enforceConst: isConst); | 249 node, elements, enforceConst: isConst); |
| 250 return expression; | 250 return expression; |
| 251 } | 251 } |
| 252 | 252 |
| 253 ConstantValue getConstantValue(ConstantExpression expression) { | 253 ConstantValue getConstantValue(ConstantExpression expression) { |
| 254 return compiler.constants.getConstantValue(expression); | 254 return compiler.constants.getConstantValue(expression); |
| 255 } | 255 } |
| 256 } | 256 } |
| OLD | NEW |