Commit Graph

96 Commits

Author SHA1 Message Date
Andrey Breslav 904a8b21a6 Types for function literals 2011-02-03 23:11:59 +03:00
Andrey Breslav 90eb9c443b Recovery for expressions. Bug with return inside if fixed 2011-01-27 20:01:38 +03:00
Andrey Breslav a60a512dc9 Out is a soft keyword now 2011-01-26 15:11:04 +03:00
Andrey Breslav ccfccc6645 "lazy" keyword dropped 2011-01-25 22:58:12 +03:00
Andrey Breslav 1206ed2f80 '*'-projections supported in syntax 2011-01-25 22:44:27 +03:00
Andrey Breslav 23fec0f24c Wrap user types into JetTypeElements + Support nullable types 2011-01-24 16:05:24 +03:00
Andrey Breslav 113a066e48 Working on the type checker 2011-01-20 19:28:36 +03:00
Andrey Breslav 04aa370fa6 Put type arguments next to the type reference (to make every type and application) 2011-01-18 18:46:28 +03:00
Andrey Breslav e40769f45b Initial stubs for Psi checker and tests for it 2011-01-14 22:43:44 +03:00
Andrey Breslav 52f985c9a4 Label entries in tuple literals 2011-01-14 22:05:07 +03:00
Andrey Breslav 8d83b866a4 Attributes on patterns tested 2011-01-14 21:40:59 +03:00
Andrey Breslav 55ca4e8a5a Allow type parameters right after fun, val, var 2011-01-14 21:24:46 +03:00
Andrey Breslav 6cb2747a76 Fix () to be a 0-ary tuple, not empty PARENTHESIZED 2011-01-14 21:14:10 +03:00
Andrey Breslav 97df7d9116 Disable newlines after 'is' etc in when 2011-01-14 20:39:22 +03:00
Andrey Breslav 052ed330de Match replaced with when 2011-01-14 20:18:37 +03:00
Andrey Breslav e94102a586 Match replaced with when 2011-01-14 20:16:20 +03:00
Andrey Breslav be73b6319e We decided to behave like C#: parse a type greedily after ':', 'as' and 'is' 2011-01-12 19:37:53 +03:00
Andrey Breslav fa060ffa33 Decomposers removed 2011-01-12 19:29:57 +03:00
Andrey Breslav 04f5db774a Lables: break and continue accept only string literals 2011-01-12 19:29:29 +03:00
Andrey Breslav 06a70a8a40 Lables: break and continue accept only string literals 2011-01-12 19:17:27 +03:00
Andrey Breslav 78b5f0f2b8 Default values for attributes 2011-01-12 19:09:04 +03:00
Andrey Breslav 20e17fd741 cosmetics 2011-01-12 19:08:22 +03:00
Andrey Breslav c1c7aa5202 cosmetics 2011-01-12 19:02:01 +03:00
Maxim Shafirov dfc03a5f30 User types are parsed hierarchically, i.e. (((java).lang).Object) instead of (java).(lang).(Object) 2011-01-11 18:02:02 +03:00
Maxim Shafirov caf7e80e5f Empty expression removed (wasn't brightest idea anyway). 2011-01-11 17:44:14 +03:00
Maxim Shafirov 7ac9173d14 Validate getters marked as nullable on parse error only return null if there's a parse error. 2011-01-11 02:57:10 +03:00
Maxim Shafirov 04fbaa26fe Special node for match expression (as its RHS is not an expression) 2011-01-11 00:32:59 +03:00
Maxim Shafirov 5779dc6885 Proper parsing for binary operations with type RHS. 2011-01-11 00:21:11 +03:00
Maxim Shafirov 6b2369da4e RECEIVER_TYPE is redundant (and inconsistent with function declaration) 2011-01-10 18:41:22 +03:00
Maxim Shafirov 5311c7511b Redundant node removed 2011-01-10 01:51:22 +03:00
Maxim Shafirov 9e20e81500 Need references in decomposer's properties list. 2011-01-09 15:19:42 +03:00
Maxim Shafirov 6eb3a22059 Distinguish between tuple and parenthesized expression 2011-01-09 00:18:21 +03:00
Maxim Shafirov 936d3443ea Need *this* to be an expression and don't need separate node for super type qualifiers - they're all type references 2011-01-09 00:01:01 +03:00
Maxim Shafirov 1d6317356a Stub implementation for expression nodes 2011-01-07 16:57:44 +03:00
Maxim Shafirov c777677a85 Need expression-kind node wrapping IDENTIFIER in reference expression 2011-01-06 18:40:11 +03:00
Andrey Breslav b84107104c Self-types and anonymous initializers 2011-01-05 23:17:10 +03:00
Maxim Shafirov 4466d1f08f DELEGATION_SPECIFIER node seem to be unnecessary. 2011-01-05 03:35:21 +03:00
Andrey Breslav 5fb3f37cab Field references ($fieldName) and quoted literal (anyWord) 2011-01-04 01:09:42 +03:00
Andrey Breslav 1f09ee1965 Modifiers for namespaces fixed 2011-01-04 00:52:26 +03:00
Andrey Breslav 8c15476cf3 Root namespace in types and expressions 2011-01-03 17:25:15 +03:00
Andrey Breslav c4fa51c16e Call with closure is available inside the by clause in nested expressions, see the test 2011-01-03 17:10:15 +03:00
Andrey Breslav fc669d18b9 Object expressions marked 2011-01-03 17:09:29 +03:00
Andrey Breslav e2fca30f22 0-ary tuples 2011-01-03 13:27:40 +03:00
Andrey Breslav 4d4e9cc342 Better testing framework, examples added as tests 2011-01-02 21:26:50 +03:00
Andrey Breslav 018f5eaca1 Enum entry syntax fixed 2011-01-02 17:15:38 +03:00
Andrey Breslav 45864d91d6 Bug in properties fixed 2011-01-02 17:09:47 +03:00
Andrey Breslav 3f82192a7c EOLs are treated properly in the presence of comments and multiple whitespace tokens 2011-01-02 17:00:52 +03:00
Andrey Breslav cd38e28e15 A bug in eol enablement fixed 2011-01-02 16:46:10 +03:00
Andrey Breslav 621a51e856 Passing closures outside parentheses. !!! A hack for by clause 2011-01-02 16:30:18 +03:00
Andrey Breslav 9224f75d33 Tests for match 2011-01-02 14:56:52 +03:00