Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Issue 343063002: Add new constructors to YamlNode subclasses. (Closed)

Created:
6 years, 6 months ago by nweiz
Modified:
6 years, 6 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add new constructors to YamlNode subclasses. These constructors make it easy to use the same code for extracting data from both YAML and non-YAML objects. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=37665

Patch Set 1 #

Patch Set 2 : fix YamlMapWrapper.nodes.keys #

Patch Set 3 : improve DummySpan.getLocationString #

Total comments: 26

Patch Set 4 : code review #

Patch Set 5 : fix stuff #

Patch Set 6 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -16 lines) Patch
M pkg/yaml/CHANGELOG.md View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/yaml/lib/src/constructor.dart View 3 chunks +11 lines, -7 lines 0 comments Download
A pkg/yaml/lib/src/null_span.dart View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
M pkg/yaml/lib/src/yaml_node.dart View 1 2 3 4 chunks +62 lines, -7 lines 0 comments Download
A pkg/yaml/lib/src/yaml_node_wrapper.dart View 1 2 3 4 5 1 chunk +149 lines, -0 lines 0 comments Download
M pkg/yaml/lib/yaml.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/yaml/pubspec.yaml View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A pkg/yaml/test/yaml_node_wrapper_test.dart View 1 2 3 4 1 chunk +163 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
6 years, 6 months ago (2014-06-20 00:03:26 UTC) #1
Bob Nystrom
https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/dummy_span.dart File pkg/yaml/lib/src/dummy_span.dart (right): https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/dummy_span.dart#newcode15 pkg/yaml/lib/src/dummy_span.dart:15: class DummySpan extends Span { How about "Dummy" -> ...
6 years, 6 months ago (2014-06-21 00:14:15 UTC) #2
nweiz
I've merged in the other YAML changes and bumped the version to 1.1.0. https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/dummy_span.dart File ...
6 years, 6 months ago (2014-06-23 22:23:07 UTC) #3
Bob Nystrom
https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/dummy_span.dart File pkg/yaml/lib/src/dummy_span.dart (right): https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/dummy_span.dart#newcode22 pkg/yaml/lib/src/dummy_span.dart:22: DummySpan._(Location location) On 2014/06/23 22:23:06, nweiz wrote: > On ...
6 years, 6 months ago (2014-06-23 23:11:44 UTC) #4
nweiz
https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/yaml_node.dart File pkg/yaml/lib/src/yaml_node.dart (right): https://codereview.chromium.org/343063002/diff/40001/pkg/yaml/lib/src/yaml_node.dart#newcode118 pkg/yaml/lib/src/yaml_node.dart:118: /// Users of the library should not use this ...
6 years, 6 months ago (2014-06-24 00:03:09 UTC) #5
Bob Nystrom
lgtm
6 years, 6 months ago (2014-06-24 00:38:22 UTC) #6
nweiz
6 years, 6 months ago (2014-06-24 18:38:34 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r37665 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698