| 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 /// Contains the top-level function to parse source maps version 3. | 5 /// Contains the top-level function to parse source maps version 3. |
| 6 library source_maps.parser; | 6 library source_maps.parser; |
| 7 | 7 |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 import 'dart:convert'; | 9 import 'dart:convert'; |
| 10 | 10 |
| (...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 static const _TokenKind EOF = const _TokenKind(isEof: true); | 522 static const _TokenKind EOF = const _TokenKind(isEof: true); |
| 523 static const _TokenKind VALUE = const _TokenKind(); | 523 static const _TokenKind VALUE = const _TokenKind(); |
| 524 final bool isNewLine; | 524 final bool isNewLine; |
| 525 final bool isNewSegment; | 525 final bool isNewSegment; |
| 526 final bool isEof; | 526 final bool isEof; |
| 527 bool get isValue => !isNewLine && !isNewSegment && !isEof; | 527 bool get isValue => !isNewLine && !isNewSegment && !isEof; |
| 528 | 528 |
| 529 const _TokenKind( | 529 const _TokenKind( |
| 530 {this.isNewLine: false, this.isNewSegment: false, this.isEof: false}); | 530 {this.isNewLine: false, this.isNewSegment: false, this.isEof: false}); |
| 531 } | 531 } |
| OLD | NEW |