| Index: utils/pub/yaml/visitor.dart
|
| diff --git a/utils/pub/yaml/visitor.dart b/utils/pub/yaml/visitor.dart
|
| deleted file mode 100644
|
| index 22ada8b2daabdddc3c10632188d2ab90afa32326..0000000000000000000000000000000000000000
|
| --- a/utils/pub/yaml/visitor.dart
|
| +++ /dev/null
|
| @@ -1,24 +0,0 @@
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -/** The visitor pattern for YAML documents. */
|
| -class _Visitor {
|
| - /** Returns [alias]. */
|
| - visitAlias(_AliasNode alias) => alias;
|
| -
|
| - /** Returns [scalar]. */
|
| - visitScalar(_ScalarNode scalar) => scalar;
|
| -
|
| - /** Visits each node in [seq] and returns a list of the results. */
|
| - visitSequence(_SequenceNode seq) => seq.content.map((e) => e.visit(this));
|
| -
|
| - /** Visits each key and value in [map] and returns a map of the results. */
|
| - visitMapping(_MappingNode map) {
|
| - var out = new YamlMap();
|
| - for (var key in map.content.keys) {
|
| - out[key.visit(this)] = map.content[key].visit(this);
|
| - }
|
| - return out;
|
| - }
|
| -}
|
|
|