Nikolay Krasko
0cd3e4f3a4
Minor: JetFile -> KtFile
2017-05-18 20:00:17 +03:00
Stanislav Erokhin
42440f50dc
Remove soft keyword coroutine & isCoroutine from ValueParameterDescriptor.
2016-12-15 23:57:56 +03:00
Denis Zharkov
329fb9d619
Introduce 'coroutine'/'suspend' modifiers
2016-06-08 18:53:16 +03:00
Dmitry Jemerov
009e3f9cd7
rename PSI classes according to current terminology:
...
KtMultiDeclaration(Entry) -> KtDestructuringDeclaration(Entry)
KtFunctionLiteralExpression -> KtLambdaExpression
KtFunctionLiteralArgument -> KtLambdaArgument
KtDelegationSpecifierList -> KtSuperTypeList
KtDelegationSpecifier -> KtSuperTypeListEntry
KtDelegatorToSuperClass -> KtSuperTypeEntry
KtDelegatorToSuperCall -> KtSuperTypeCallEntry
KtDelegationByExpressionSpecifier ->KtDelegatedSuperTypeEntry
2015-12-10 16:15:13 +01:00
Valentin Kipyatkov
292ea7625c
Removed obosolete modifier "ref" from tests
2015-10-15 19:20:11 +03:00
Valentin Kipyatkov
98dc8f234e
Drop suppport for annotation syntax without '@' from parser
2015-10-15 19:20:07 +03:00
Yan Zhulanow
9eeb89a6aa
Rename sparam to setparam
2015-10-08 18:31:06 +03:00
Denis Zharkov
02b64ce1ed
Parse const as soft modifier keyword
2015-09-23 08:20:56 +03:00
Denis Zharkov
02aafe4262
Report syntax error on unescaped annotation
...
Also adjust parser testData
2015-09-18 09:34:26 +03:00
Denis Zharkov
fc447e2d2f
Parse some builtin annotations as modifiers
...
But still resolve them as annotations.
Mostly it's needed as begin of migration path, one day they become modifiers anyway
Some tests are dropped because they supposed that `annotation` should have parameter
2015-09-08 08:53:35 +03:00
Yan Zhulanow
add13cae82
lateinit modifier on property
2015-09-05 00:54:18 +03:00
Yan Zhulanow
1010658a85
Parse other use-site targeted annotations
2015-08-31 15:05:03 +03:00
Mikhail Glukhikh
3f14e74b08
Drop old enum syntax. Comma / semicolon are now a syntactic part of enum entry.
...
Comma must present now between enum entries, semicolon between last entry & first member, constructor calls must be without colons / specifiers.
A swarm of tests fixed accordingly.
2015-08-11 10:38:10 +03:00
Mikhail Glukhikh
1eac4d67de
"annotation" is now parsed as an identifier. It is no longer a soft keyword.
...
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped.
A set of annotations and their options tests.
A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files).
STUB_VERSION increased. Some quick fixes slightly changed.
2015-07-14 16:24:55 +03:00
Denis Zharkov
af2bcfb524
Parse primary constructor into separate PSI element
2015-03-31 20:20:22 +03:00
Alexey Sedunov
d2f6b55cb5
Box qualified names of package directives into dot-qualified expressions
2014-03-04 19:45:30 +04:00
Evgeny Gerashchenko
791b5bb84c
JetNamespaceHeader → JetPackageDirective.
2014-01-14 18:06:48 +04:00
Natalia Ukhorskaya
3287744415
Add common JetElement for imports: JetImportList
2013-10-25 13:55:40 +04:00
Alexey Sedunov
28b3db53fe
Fix irregular PSI structure for classes without body
2013-10-15 18:43:59 +04:00
Evgeny Gerashchenko
e338cda06d
Changed extension in parsing test data (jet -> kt)
2013-09-17 18:10:00 +04:00
Nikolay Krasko
4d19fd05b1
KT-1702 Renaming file causes "Operation not supported" and invalid imports
...
(Rename problem was caused because of invalid reference to file from package. Fix contains:
- Change structure of references in package expression - last part is also a reference now
- Resolve packages to expression but not to files)
#KT-1702 fixed
2012-04-06 14:46:23 +04:00
Andrey Breslav
90b98a63b5
KT-1130 Remove ref from keywords
2012-01-25 13:12:42 +04:00
Andrey Breslav
c78cb3cc19
Rename namespace->package in the token decala
2012-01-12 19:50:14 +04:00
Andrey Breslav
6aafaa1851
JetNamespace eliminated
2011-12-27 20:23:58 +04:00
Andrey Breslav
91d10790b4
GreatSyntacticShift: Parser test data fixed
2011-12-21 10:57:09 +02:00
Andrey Breslav
49c29dd323
KT-691 Allow to create nested namespaces with dot delimiter
2011-11-30 15:06:55 +03:00
Dmitry Jemerov
ec6dec0d37
separate compiler and plugin tests
2011-10-20 16:21:18 +02:00