Commit Graph

45134 Commits

Author SHA1 Message Date
Andrey Breslav ca66b2fdbd Constructor descriptors are visible through BindingContext API 2011-04-26 13:43:03 +04:00
Andrey Breslav 5fdb34038e Allow namespaces with {} on the first line of a file (JET-2) 2011-04-25 22:08:03 +04:00
Andrey Breslav d4551a61bf Declarations are not parsed as expressions any more (JET-1) 2011-04-25 20:32:12 +04:00
Andrey Breslav 9059dae673 Namespace types are only allowed in appropriate contexts 2011-04-25 19:54:48 +04:00
Andrey Breslav 43742828c4 Multiple declarations contributing to the same namespace are supported 2011-04-25 18:54:18 +04:00
Maxim Shafirov d19c1c165b Instance function call 2011-04-25 15:11:42 +04:00
Andrey Breslav 6a178a4940 Basic resolve for 'throw' 2011-04-25 13:09:03 +04:00
Andrey Breslav 968e22f999 Working on constructors: references on 'this()' calls, etc. Many checks pending 2011-04-22 21:45:44 +04:00
Andrey Breslav 913a01c107 A better test for generic functions 2011-04-22 18:37:20 +04:00
Andrey Breslav fcdbc3141c Generic Java methods supported 2011-04-22 18:35:24 +04:00
Andrey Breslav d9997f3c25 Generic Java classes supported 2011-04-22 18:25:09 +04:00
Andrey Breslav 55518cd654 Initializers prohibited on val-properties with no backing field 2011-04-22 14:23:58 +04:00
Dmitry Jemerov bbf4fbc34f generate property accessors in class interface 2011-04-21 19:47:39 +02:00
Dmitry Jemerov e0eb3ebd48 more advanced test 2011-04-21 19:11:08 +02:00
Dmitry Jemerov 2c7500c626 generate initializers for namespace properties in <clinit> method 2011-04-21 19:08:22 +02:00
Dmitry Jemerov 85f46abcd2 handle getters/setters without body; generate initializers for class-level properties 2011-04-21 18:42:30 +02:00
Dmitry Jemerov 9e33922be1 better diagnostics 2011-04-21 18:18:56 +02:00
Dmitry Jemerov 843c102922 failing test for throw 2011-04-21 18:01:58 +02:00
Dmitry Jemerov 11f8ed8c28 generate public accessor methods for public properties 2011-04-21 17:36:38 +02:00
Dmitry Jemerov d6611e495b initial support for properties backed by instance fields; some dummy code to generate primary constructor 2011-04-21 17:36:37 +02:00
Andrey Breslav 433c073778 Exceptions thrown on syntax errors 2011-04-21 18:04:23 +04:00
Dmitry Jemerov 806bddb80c fixed tests 2011-04-21 15:47:35 +02:00
Andrey Breslav eb7ac0cf91 Basic checks for base initializers in constructors.
Working on Java generics support.
2011-04-21 17:45:46 +04:00
Dmitry Jemerov aba13415c7 failing test for property in class 2011-04-21 15:42:51 +02:00
Dmitry Jemerov ec9018f209 exclude examples/out 2011-04-21 14:24:28 +02:00
Dmitry Jemerov d17f095eec namespace properties are mostly working 2011-04-21 14:24:28 +02:00
Dmitry Jemerov c91cd748ff stub for property test 2011-04-21 14:23:49 +02:00
Andrey Breslav aedabc48e9 Utilities for collecting all supertypes (with proper substitution) 2011-04-21 15:02:21 +04:00
Maxim Shafirov 391f8e99c6 generate implementation / delegating implementation classes 2011-04-21 14:40:58 +04:00
Dmitry Jemerov fe9975ac9f fix NamespaceGenTest 2011-04-21 11:52:20 +02:00
Andrey Breslav 225b81f626 $field is accessible from constructors 2011-04-21 13:05:53 +04:00
Andrey Breslav ca579e25b7 $field is only allowed in property accessors 2011-04-20 16:25:35 +04:00
Andrey Breslav 9add2b6114 Tests for hasBackingField 2011-04-20 16:17:46 +04:00
Andrey Breslav 311282b00c hasBackingField() supported in the BindingContext 2011-04-20 13:19:02 +04:00
Maxim Shafirov 7dec1ce492 Multiple classfiles generated by test supported, starting work on interfaces list for jet classes 2011-04-19 22:07:27 +04:00
Andrey Breslav d9c08e38da $fieldName resolved 2011-04-18 22:54:46 +04:00
Andrey Breslav 78f3eac62a Property accessors checked. Many things TBD 2011-04-18 22:54:46 +04:00
Maxim Shafirov ec080358cb First green test for class codegen 2011-04-18 18:25:28 +04:00
Andrey Breslav 9d79320b83 Refactoring: VariableDescriptors + substitution distributed across descriptor classes 2011-04-18 16:28:47 +04:00
Andrey Breslav fba0e8bc60 Namespace lookup error reporting fixed 2011-04-18 13:43:52 +04:00
Dmitry Jemerov 009c58f680 augmented assignments for arrays; replace the hack of "value before receiver" with a lesser hack of dupReceiver() 2011-04-15 19:46:33 +02:00
Dmitry Jemerov f13da41f43 augmented assignments via StackValue.store() 2011-04-15 19:40:35 +02:00
Dmitry Jemerov a8ac0c05d5 generate increment via StackValue.store() 2011-04-15 19:40:35 +02:00
Dmitry Jemerov b6f444b0f7 introduce StackValue.store(); use it to implement write access to fields and arrays 2011-04-15 19:40:35 +02:00
Andrey Breslav 9b0a9b71a2 isStatement() fixed for returned expressions 2011-04-15 21:40:07 +04:00
Andrey Breslav 319a250349 Sophisticated conventions for 'for'-loop ranges 2011-04-15 21:23:01 +04:00
Dmitry Jemerov 2311426ba6 for loop on array works; fixes to ensure we don't leave junk on stack 2011-04-15 18:31:53 +02:00
Dmitry Jemerov 0c1fd3269d return gen fixed 2011-04-15 18:31:53 +02:00
Dmitry Jemerov 3aa9079ea2 not yet working code for for..in loop over Java arrays 2011-04-15 18:31:52 +02:00
Andrey Breslav b3ceae05e3 hasBlockBody() fixed 2011-04-15 19:47:49 +04:00