Remove a use of DartCode.getProjectManager() - fix an exception when the analysis server is turned on.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42304 260f80e4-7a28-3924-810f-c04153c831b5
Add an additional optional argument to SpanScanner.spanFrom.

R=rnystrom@google.com

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

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

There is no need to filter the NodeList since it can contain only Elements.

R=jacobr@google.com

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

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