Commit Graph

955 Commits

Author SHA1 Message Date
Dmitry Jemerov 8b823d83ef generate typeinfo() function with one argument 2011-07-12 13:10:16 +02:00
Andrey Breslav b41e863d27 JET-142 Support string templates:
Old literals wiped out
2011-07-12 14:07:15 +04:00
Andrey Breslav ee61fa7e10 JET-142 Support string templates:
Make '$' in short entries a separate token
2011-07-12 13:37:18 +04:00
Andrey Breslav 591740717a JET-142 Support string templates 2011-07-11 23:02:18 +04:00
Andrey Breslav 79066eefe1 Up -> Kotlin 2011-07-11 17:56:51 +04:00
Andrey Breslav 4127228a29 Modifiers level fixed 2011-07-10 18:00:54 +04:00
Andrey Breslav c2435f0f24 JET-126 Put 'where'-clause after the declaration 2011-07-08 22:44:56 +04:00
Andrey Breslav addfc6a421 JET-177 Drop extensions 2011-07-08 22:05:14 +04:00
Andrey Breslav c9b2242c2b Tests fixed 2011-07-08 21:39:44 +04:00
Dmitry Jemerov 8f71c188e9 correctly generate supertypes of class objects and object literals 2011-07-08 18:29:54 +02:00
Andrey Breslav d4020a422b JET-180 Rename typeof to typeinfo, type or make it a function 2011-07-08 20:27:59 +04:00
Dmitry Jemerov 7ae58d2efb calling methods on class objects works 2011-07-08 15:26:49 +02:00
Andrey Breslav d3c000606d toString fixed 2011-07-08 15:49:33 +04:00
Andrey Breslav 0af118c5be Small cosmetics 2011-07-08 15:41:32 +04:00
Dmitry Jemerov c302571bb2 test that fails 2011-07-08 13:41:01 +02:00
Dmitry Jemerov a691de74bc predicate operator implemented 2011-07-08 13:12:56 +02:00
Dmitry Jemerov fc9f1eec4f TypeInfo.getClassObject(), for now implemented via reflection 2011-07-08 12:48:37 +02:00
Dmitry Jemerov dac522d7a9 use standard generateTypeInfo() call in pushTypeArguments() 2011-07-08 12:48:37 +02:00
Dmitry Jemerov 4e48e527b1 initial implementation of class objects 2011-07-08 12:48:36 +02:00
Maxim Shafirov 9e28fe70c1 Finally, green tests 2011-07-08 14:34:48 +04:00
Andrey Breslav 704f153a31 JET-174 Make continue work the same way in all contexts inside when
Guards are removed. Continue is not supported yet.
2011-07-07 17:18:29 +04:00
Dmitry Jemerov 026eadda7a fix codegen after JetWhenConditionWithExpression removal 2011-07-07 14:14:29 +02:00
Andrey Breslav 498f85e49e Drop JetWhenConditionWithExpression, replaced with JetWhenConditionIsPattern with JetExpressionPattern inside 2011-07-07 16:08:43 +04:00
Dmitry Jemerov d42eedb0e0 support property access in pattern matching expressions 2011-07-06 20:17:38 +02:00
Dmitry Jemerov 8d28105a9e support multiple conditions on a 'when' entry 2011-07-06 19:28:00 +02:00
Dmitry Jemerov 889345e7f7 initial support for binding patterns in pattern matching (very fragile in terms of stack manipulation :( ) 2011-07-06 18:39:18 +02:00
Andrey Breslav a744c183c4 JET-172 Allow many parameters of a function literals to be declared without parentheses 2011-07-06 20:30:28 +04:00
Andrey Breslav 900143af5b JET-172 Allow many parameters of a function literals to be declared without parentheses 2011-07-06 20:21:22 +04:00
Andrey Breslav d1b8a6b5c7 Multiple conditions in when entries 2011-07-06 19:36:09 +04:00
Andrey Breslav b621e89396 Syntax fixed 2011-07-06 18:50:55 +04:00
Dmitry Jemerov 50a1eeeb59 support for calls in pattern matching 2011-07-06 16:30:17 +02:00
Dmitry Jemerov e61f69437d put "owner from call" flag into CallableMethod 2011-07-06 16:30:17 +02:00
Dmitry Jemerov 9497b41664 put receiver information into CallableMethod 2011-07-06 16:30:17 +02:00
Dmitry Jemerov d824997dcf refactor visitCallExpression() in preparation for supporting calls in pattern matching 2011-07-06 16:30:16 +02:00
Andrey Breslav 7adb2d1381 tests for
JET-168 Improve the parser for function and tuple types as receiver types
2011-07-06 18:18:47 +04:00
Andrey Breslav bfac08235e Merge remote branch 'origin/master' 2011-07-06 18:18:25 +04:00
Andrey Breslav e0d597a1bc JET-140 Change function type syntax
and tests for
JET-168 Improve the parser for function and tuple types as receiver types
2011-07-06 18:18:11 +04:00
Andrey Breslav a2721d3309 JET-140 Change function type syntax
and tests for
JET-168 Improve the parser for function and tuple types as receiver types
2011-07-06 17:55:41 +04:00
Maxim Shafirov 4cf00a8548 Capture this in closures 2011-07-06 17:37:40 +04:00
Dmitry Jemerov 0c85c53c64 pattern matching for tuple and expression patterns 2011-07-06 15:24:34 +02:00
Dmitry Jemerov 3fe728dff6 generatePatternMatch() returns StackValue for result 2011-07-06 13:49:52 +02:00
Dmitry Jemerov 71f521c05d use StackValue (and StackValue.expression() in particular) instead of Runnable as the expression in instanceof check 2011-07-06 13:44:47 +02:00
Dmitry Jemerov 89cafb3152 tuple literals 2011-07-06 13:01:14 +02:00
Dmitry Jemerov d71bcf5df4 [] for collections 2011-07-06 12:31:18 +02:00
Dmitry Jemerov 7b47d67dca final (?) step of CallableMethod refactoring 2011-07-06 12:23:29 +02:00
Dmitry Jemerov 8317fbc290 closure as callable method 2011-07-06 12:15:05 +02:00
Dmitry Jemerov 5eb2f913b3 one more step of CallableMethod refactoring 2011-07-06 12:11:11 +02:00
Dmitry Jemerov 516738ba2f one more example 2011-07-06 11:55:51 +02:00
Maxim Shafirov c81b7869f9 alignments are nice 2011-07-05 22:09:36 +04:00
Maxim Shafirov c1e2849e17 Proper this for closure classes 2011-07-05 22:09:23 +04:00