ahe@google.com
|
a6b6565123
|
Parse metadata, but ignore it.
Review URL: https://chromiumcodereview.appspot.com//10836351
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11029 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 10:55:54 +00:00 |
|
ahe@google.com
|
19851497ff
|
Support new getter syntax.
Review URL: https://chromiumcodereview.appspot.com//10831332
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10956 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-20 13:26:38 +00:00 |
|
johnniwinther@google.com
|
5e4e991ded
|
Const variable declarations accepted in the parser.
TEST=language/const_var_test.dart
Review URL: https://chromiumcodereview.appspot.com//10829334
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10731 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-15 14:02:57 +00:00 |
|
ahe@google.com
|
d47c99d041
|
Support for new catch syntax in dart2js
Committing on behalft of: Alexander Aprelev <aprelev@gmail.com>
BUG=3758
Review URL: https://chromiumcodereview.appspot.com//10857013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10704 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-15 09:51:18 +00:00 |
|
antonm@google.com
|
d26512406d
|
Properly parse operator declarations without return type.
Formerly, 'operator' token was parsed as a return type, fix it.
Emit a space if operator name is 'negative' as otherwise it's
unparsed as 'operatornegative'.
R=ahe@google.com,smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10836034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10283 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-06 11:36:11 +00:00 |
|
smok@google.com
|
1651f0d54a
|
Record 'implements' keyword for class declaration nodes.
Do not record 'implements' or 'extends' in NodeList of implemented interfaces.
Review URL: https://chromiumcodereview.appspot.com//10786028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10042 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-31 08:27:13 +00:00 |
|
lrn@google.com
|
42f353fad1
|
Patch methods in classes.
Add math library in corelib/unified. Location subject to change.
Made _Random's implementation external and patched it to use JS random.
Made "external" marking acually work.
Review URL: https://chromiumcodereview.appspot.com//10696147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9544 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-11 08:47:24 +00:00 |
|
lrn@google.com
|
9010ea745c
|
Add "external" prefix to methods and constructors.
This is expected to be added to the language specification, for allowing the specification of methods with externally bound implementations.
Review URL: https://chromiumcodereview.appspot.com//10697096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9456 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-09 06:37:51 +00:00 |
|
lrn@google.com
|
cadba87302
|
Implement 'as' operator.
This is a quick implementation with room for improvement.
It might work.
Review URL: https://chromiumcodereview.appspot.com//10540048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9109 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-06-26 14:23:50 +00:00 |
|
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 |
|
antonm@google.com
|
f8f5363fc4
|
New treatment of native methods.
R=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10558023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8980 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-06-21 14:37:42 +00:00 |
|
ahe@google.com
|
75a70e0b67
|
Allow built-in identifiers for labels.
Review URL: https://chromiumcodereview.appspot.com//10568011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8802 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-06-18 16:00:39 +00:00 |
|
antonm@google.com
|
aaef8e92dd
|
Properly parse > in end of types.
R=ahe@google.com,smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10540073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8658 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-06-14 13:40:22 +00:00 |
|
lrn@google.com
|
4fab863b7c
|
Accept more labels per switch case.
This matches the new, disambiguated switch syntax.
Review URL: https://chromiumcodereview.appspot.com//10387080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7601 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-14 10:36:43 +00:00 |
|
lrn@google.com
|
8a73514c3d
|
Add a "Label" Node around an Identifier that is being used as a label.
This is in preparation for rewriting switch to match the "new" switch grammar.
I need to make a block information structure for switch statements, and I don't
want to do that on an obsolete structure.
Review URL: https://chromiumcodereview.appspot.com//10392024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7485 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-10 12:23:45 +00:00 |
|
lrn@google.com
|
4122603f1c
|
Fix small problems with precedence of cascades.
Conditional expressions didn't require their branches to be
expressionWithoutCascade.
Assignments didn't bind correctly relative to cascades. Added a flag
to be able to handle them both as expression and expressionWithoutCascade.
Review URL: https://chromiumcodereview.appspot.com//10236005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7055 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-04-27 07:00:20 +00:00 |
|
ahe@google.com
|
f85cc13819
|
Add some documentation to the parser.
Review URL: https://chromiumcodereview.appspot.com//10205015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6884 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-04-24 14:51:13 +00:00 |
|
lrn@google.com
|
4277b826ea
|
Fix bugs in cascade implementation.
Some token.next got lost at some point.
And tests weren't running.
Review URL: https://chromiumcodereview.appspot.com//10041020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6672 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-04-18 08:53:01 +00:00 |
|
lrn@google.com
|
8531ffaa1e
|
Fix type warnings and a few other warnings, and probably even an error.
Mostly warnings introduced by cascade implementation.
Review URL: https://chromiumcodereview.appspot.com//10091028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6621 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-04-17 09:33:16 +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 |
|
lrn@google.com
|
5163f80703
|
Generate prettier loops.
Add structure information to HLoopInformation, and use it to generate prettier
loops when the condition can be generated as an expression.
If it can't, it still falls back to the while(true){if(!cond) break;} pattern.
Only handle for/while/for-in, not do-while yet.
Review URL: https://chromiumcodereview.appspot.com//9863037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6023 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-03-30 08:59:40 +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 |
|