Commit Graph

6 Commits

Author SHA1 Message Date
johnniwinther@google.com 77f7b64611 Scanner can include comments in the token stream.
includeComments option argument added to the ByteArrayScanner. default is false.
Test of charOffset, charLength invariants on scanner output added.
Calls to beginToken() moved to fix invalid Token.charOffset values for string interpolations.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10539021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9059 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-25 10:57:25 +00:00
ahe@google.com 9f1488c21c Update partial parser and scanner to be able to skip expressions like "new Map<S, T>()".
Review URL: https://chromiumcodereview.appspot.com//10544173

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8720 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 13:43:46 +00:00
antonm@google.com fe7c58b3a5 Properly parse [].
R=ahe@google.com

Review URL: https://chromiumcodereview.appspot.com//10519011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8314 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 09:05:46 +00:00
kasperl@google.com 43ff9be2fa Add extends clause to the type parameter for AbstractScanner.
This gets rid of a warning when using the result of calling utf8String inside the implementation.

R=ahe@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10091033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6627 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 12:09:41 +00:00
lrn@google.com 5b430d34c5 Implement cascaded calls.
Review URL: https://chromiumcodereview.appspot.com//9958009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6570 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 12:42:25 +00:00
ahe@google.com dc099c4a00 Move frog/leg to lib/compiler/implementation.
Review URL: https://chromiumcodereview.appspot.com//9873021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5926 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 08:54:01 +00:00