Extract out a source_span package from source_maps.

This is just the first step; future CLs will add support for the new API to
various packages currently using the old one.

BUG=19930
R=sigmund@google.com

Review URL: https://codereview.chromium.org//381363002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38360 260f80e4-7a28-3924-810f-c04153c831b5
Widen args dependency.

R=nweiz@google.com

Review URL: https://codereview.chromium.org//399293002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38361 260f80e4-7a28-3924-810f-c04153c831b5
Fix the bot - type annotation was failing in checked mode.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//401763002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38362 260f80e4-7a28-3924-810f-c04153c831b5
Mark test failing for now.

Review URL: https://codereview.chromium.org//399343002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38363 260f80e4-7a28-3924-810f-c04153c831b5
Three new analysis server integration tests

1. server.setSubscriptions (invalid service)
2. analysis.getHover (normal operation)
3. analysis.getHover (no hover information available)

Test 3 is disabled because it currently fails due to an analysis
server bug.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//405473006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38364 260f80e4-7a28-3924-810f-c04153c831b5
Fix analysis server 'analysis.getHover' when there is no hover information.

Previously we returned {'hovers': [null]}.  We now return {'hovers': []}.

Also, tweak the analysis.getHover unit tests to use futures uniformly
rather than a mix of futures and CPS.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//407443002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38366 260f80e4-7a28-3924-810f-c04153c831b5
Move dart2dart tests to new dedicated directory

R=floitsch@google.com

Review URL: https://codereview.chromium.org//398493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38367 260f80e4-7a28-3924-810f-c04153c831b5
Add an SExpressionStringifier test

Tests if the stringifier successfully generates a string containing the keywords of all nodes. Currently fails since string generation is not yet implemented for all nodes.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//396943002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38368 260f80e4-7a28-3924-810f-c04153c831b5
Add missing node visitors to SExpressionStringifier

R=floitsch@google.com

Review URL: https://codereview.chromium.org//394173002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38369 260f80e4-7a28-3924-810f-c04153c831b5
Convert ir.InvokeStatic.target to Entity

Constructing a mock IR representation for testing purposes requires
passing a target to ir.InvokeStatic(). Changing InvokeStatic.target
from an Element to an Entity vastly simplifies this.

R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//396213002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38370 260f80e4-7a28-3924-810f-c04153c831b5
Move SExpressionStringifier to its own file

Purely cut & paste plus updating of imports.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//399113002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38371 260f80e4-7a28-3924-810f-c04153c831b5