Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Udalov 3ad4f18e1a Update grammar to Kotlin 1.1
Also drop obsolete comments and inline some trivial rules
2017-03-01 14:50:36 +03:00
Dmitry Jemerov 2c989b5671 Fix enumEntries definition in grammar (KT-14261) 2016-11-10 13:40:49 +01:00
Dmitry Jemerov 18753a16d7 a bunch of fixes to the grammar 2015-06-08 14:46:28 +02:00
Mikhail Glukhikh 1a312140e9 New enum syntax: Short constructor syntax introduced for entries, optional commas between entries, semicolon after entries. #KT-7605 Fixed.
Grammar changed accordingly.
Semicolons prohibited after an entry except the last one.
Only one initializer is allowed per entry.
EnumReferenceExpression AST node introduced.
Some tests fixed, a pair of new tests written. Kotlin code inside project fixed.
Formatter and intendation tests fixed accordingly.
Stub version is incremented.
2015-05-15 16:13:32 +03:00
Mikhail Glukhikh cf741cb868 Enum parsing changed: first entries, then members. Grammar fixed accordingly.
A set of compiler tests and some plugin tests changed accordingly.
Compiler Kotlin code changed accordingly.
2015-05-15 16:13:27 +03:00
kisenka 8da384b466 Convert markup from Confuence wiki to Markdown 2014-08-26 12:04:34 +04:00
Andrey Breslav 3255aaf231 Minor. Grammar rules fixed 2014-03-19 17:41:49 +04:00
Andrey Breslav 7caa1b8aa4 KT-2364 Drop traces of constructor-entries in enums
#KT-2364 Fixed
2012-08-29 22:07:42 +04:00
Andrey Breslav c2435f0f24 JET-126 Put 'where'-clause after the declaration 2011-07-08 22:44:56 +04:00
Andrey Breslav c5901962c2 Comments 2011-06-29 17:08:54 +04:00
Andrey Breslav c65d59c1c1 Rendering the grammar for Confluence 2011-06-28 19:12:26 +04:00
Andrey Breslav 018f5eaca1 Enum entry syntax fixed 2011-01-02 17:15:38 +03:00
Andrey Breslav 84ffac4b60 Enums 2010-12-22 20:52:34 +03:00