| Index: pkg/compiler/lib/src/io/position_information.dart
|
| diff --git a/pkg/compiler/lib/src/io/position_information.dart b/pkg/compiler/lib/src/io/position_information.dart
|
| index 1a561cdff8299abce1b025de3cc595a669531a28..e2ddf039e2ad73a77f83bbd7281c954c864b301f 100644
|
| --- a/pkg/compiler/lib/src/io/position_information.dart
|
| +++ b/pkg/compiler/lib/src/io/position_information.dart
|
| @@ -222,6 +222,8 @@ class PositionSourceInformationBuilder implements SourceInformationBuilder {
|
| sourceFile, right.getBeginToken().charOffset, name));
|
| }
|
|
|
| + // TODO(johnniwinther): Clean up the use of this and [buildBinary],
|
| + // [buildIndex], etc.
|
| @override
|
| SourceInformation buildCall(Node receiver, Node call) {
|
| return new PositionSourceInformation(
|
| @@ -266,6 +268,42 @@ class PositionSourceInformationBuilder implements SourceInformationBuilder {
|
| SourceInformationBuilder forContext(AstElement element) {
|
| return new PositionSourceInformationBuilder(element);
|
| }
|
| +
|
| + @override
|
| + SourceInformation buildForeignCode(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildStringInterpolation(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildForInIterator(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildForInMoveNext(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildForInCurrent(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildForInSet(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildIndex(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildIndexSet(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildBinary(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildCatch(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildIs(Node node) => buildBegin(node);
|
| +
|
| + @override
|
| + SourceInformation buildAs(Node node) => buildBegin(node);
|
| }
|
|
|
| /// The start, end and closing offsets for a [js.Node].
|
|
|