OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 yaml.token; | 5 library yaml.token; |
6 | 6 |
7 import 'package:source_span/source_span.dart'; | 7 import 'package:source_span/source_span.dart'; |
8 | 8 |
9 import 'style.dart'; | 9 import 'style.dart'; |
10 | 10 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 static const ANCHOR = const TokenType._("ANCHOR"); | 139 static const ANCHOR = const TokenType._("ANCHOR"); |
140 static const TAG = const TokenType._("TAG"); | 140 static const TAG = const TokenType._("TAG"); |
141 static const SCALAR = const TokenType._("SCALAR"); | 141 static const SCALAR = const TokenType._("SCALAR"); |
142 | 142 |
143 final String name; | 143 final String name; |
144 | 144 |
145 const TokenType._(this.name); | 145 const TokenType._(this.name); |
146 | 146 |
147 String toString() => name; | 147 String toString() => name; |
148 } | 148 } |
OLD | NEW |