dart2dart: Add support for continue in loops.

For `while` loops, continue is just a jump to the top of the loop.
For `for` loops the situation is more complicated: continue is a
forward jump to the update expression.

The scoping of the continue continuation would ideally be at the
common ancestor of all its invocations, but that is hard to compute in
a single pass and without parent pointers.  Instead, the continue
continuation is inserted at a point that is safe (in scope for the
entire body) at the cost of passing all locals as parameters.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39348 260f80e4-7a28-3924-810f-c04153c831b5
Import analysis_services.dart into analysis_server.dart.

Having two separate packages doesn't really have any benefit, and has
the downside of forcing us to carefully avoid circular dependencies
between the two.  It makes more sense to just combine them.

This is largely a mechanical change consisting of the following renames:

1. pkg/analysis_services/lib/src/* -> pkg/analysis_server/lib/src/services/*
2. pkg/analysis_services/lib/* -> pkg/analysis_server/lib/src/services/*
3. pkg/analysis_services/test/* -> pkg/analysis_server/test/services/*

There were 4 instances where 1 and 2 created a collision:
.../services/correction/assist.dart, .../services/correction/fix.dart,
.../services/refactoring/refactoring.dart, and
.../services/search/search_engine_internal.dart.  To fix the
collision, the files coming from pkg/analysis_services/lib/src were
renamed to "..._internal.dart".

In addition, pkg/analysis_services/test/test_all.dart was modified to
call pkg/analysis_services/test/services/test_all.dart.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39349 260f80e4-7a28-3924-810f-c04153c831b5
Fix link to TodoMVC

R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39350 260f80e4-7a28-3924-810f-c04153c831b5
Fix leftovers from await CL.

* Regenerating snapshot and commiting using SVN
* int -> int32_t (format %d stays, as similar examplces in object.cc/.h exist)



git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39351 260f80e4-7a28-3924-810f-c04153c831b5
Ignore hidden files in implementation of GeneratedDirectory.check()

R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39353 260f80e4-7a28-3924-810f-c04153c831b5
Test for 'edit.getAssists'.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39354 260f80e4-7a28-3924-810f-c04153c831b5
Merge two constants.dart into one.

R=paulberry@google.com, brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39355 260f80e4-7a28-3924-810f-c04153c831b5
When user renames 'prefix' in 'prefix.Class' she actually wants to rename ImportElement.

Unfortunately we resolve "prefix" to a "PrefixElement".
So, we have to fix this mismatch in the server.

We do the same in indexer, so this CL extract shared namespace-related code into a new unit.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39356 260f80e4-7a28-3924-810f-c04153c831b5
Remove already ported generated code.

Mostly to avoid duplicate import proposals from Quick Fixes.

R=brianwilkerson@google.com, paulberry@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39357 260f80e4-7a28-3924-810f-c04153c831b5
Change type boolean to Boolean in Java generated code

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39358 260f80e4-7a28-3924-810f-c04153c831b5
Test extract method and inline refactoring UI.

R=jwren@google.com, scheglov@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39360 260f80e4-7a28-3924-810f-c04153c831b5
Code generate Dart classes representing the analysis server API.

These classes support:

- Conversion to JSON
- Conversion from JSON, with error handling via the Request object.
- operator== and hashCode

In addition, convenience functions are generated which extract and
convert the variant contents of a Request, Response, Notification,
EditGetRefactoringResult, or EditGetRefactoringParams once the type is
known.

The generated code is not yet used; it will be used by future CL's.

R=brianwilkerson@google.com, danrubel@google.com, scheglov@google.com

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

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

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39362 260f80e4-7a28-3924-810f-c04153c831b5
Remove code mistakenly added to analysis server's test_all.dart.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39363 260f80e4-7a28-3924-810f-c04153c831b5
Fix crash due to AbstractFieldElement.computeType.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39364 260f80e4-7a28-3924-810f-c04153c831b5
Rename "generic" closures.

A generic closure is one that declares type variables itself (Dart doesn't have that feature).

Free type variables of an element are type variables that are declared outside the element itself.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39365 260f80e4-7a28-3924-810f-c04153c831b5
Update status for pkg tests.

BUG=dartbug.com/20575 dartbug.com/20576

TBR=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39366 260f80e4-7a28-3924-810f-c04153c831b5
Update CO19 test suite to r761

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39367 260f80e4-7a28-3924-810f-c04153c831b5
Update co19 status after roll to r761

BUG=
R=kustermann@google.com

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

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