OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 polymer_expressions.parser; | 5 library polymer_expressions.parser; |
6 | 6 |
7 import 'tokenizer.dart'; | 7 import 'tokenizer.dart'; |
8 export 'tokenizer.dart' show ParseException; | 8 export 'tokenizer.dart' show ParseException; |
9 import 'expression.dart'; | 9 import 'expression.dart'; |
10 | 10 |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 return value; | 315 return value; |
316 } | 316 } |
317 | 317 |
318 Literal<double> _parseDecimal([String prefix = '']) { | 318 Literal<double> _parseDecimal([String prefix = '']) { |
319 var value = _astFactory.literal(double.parse('$prefix${_token.value}')); | 319 var value = _astFactory.literal(double.parse('$prefix${_token.value}')); |
320 _advance(); | 320 _advance(); |
321 return value; | 321 return value; |
322 } | 322 } |
323 | 323 |
324 } | 324 } |
OLD | NEW |