Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Dmitry Jemerov
28ed30bcb3
change KDoc parsing so that space after parameter/section name is not included in tag content; support @property tag in KDocFinder
2015-03-06 16:13:11 +01:00
Alexey Sedunov
2684ce20d4
Parser: Do not produce qualified expressions without receiver in package directives. Add assertion on JetQualifiedExpression
...
#KT-6907 Fixed
2015-03-06 14:37:22 +03:00
Pavel V. Talanov
2b51e4f2d4
Add 'default' keyword
...
Parser: allow objects that are marked as default to have no name
2015-03-06 12:41:38 +03:00
Pavel V. Talanov
0ca2f3f336
Minor: prevent rare case when soft keyword was parsed as enum entry
2015-03-06 12:41:34 +03:00
Pavel V. Talanov
f1942b1a74
Parser: do not produce CLASS_OBJECT element
...
"class object" is parsed into OBJECT_DECLARATION instead
2015-02-16 15:38:30 +03:00
Pavel V. Talanov
2e837c6586
Parser: allow names to be specified for class objects
2015-02-16 15:38:28 +03:00
Dmitry Jemerov
084470e840
fix NPE in KDocLinkParser
2015-02-09 18:21:50 +01:00
Dmitry Jemerov
70cf3e9c60
KDoc link parsing rewrite.
...
Support qualified names immediately after tag (@see or @param). Detect whether a tag is followed by a reference immediately while lexing, remove TEXT_OR_LINK token type. Remove duplicate nested KDocLink nodes from the PSI structure.
2015-02-06 16:33:55 +01:00
Dmitry Jemerov
56d85c2033
don't parse links which aren't Kotlin identifiers and have an explicitly specified destination
2015-02-05 16:27:37 +01:00
Dmitry Jemerov
3253754395
code review
2015-02-04 17:26:48 +01:00
Dmitry Jemerov
40f459306a
parse qualified names in kdoc
2015-02-04 17:26:46 +01:00
Dmitry Jemerov
223882d292
correctly parse tag in the beginning of doc comment
2015-02-04 17:26:46 +01:00
Dmitry Jemerov
c3a496b9a2
introduce the concept of sections
2015-01-20 18:00:17 +01:00
Dmitry Jemerov
f3763bc2b5
some initial PSI for KDoc; changed syntax of links (Markdown style single brackets instead of Wiki style double brackets)
2015-01-20 18:00:09 +01:00
Alexander Udalov
21b2fa2509
Update copyrights to 2015
2015-01-13 01:15:18 +03:00
Nikolay Krasko
da6e1890bd
Don't lookahead too far when looking for '.' between type and parameters and for comma in function literal parameters
2014-12-15 20:20:09 +03:00
Nikolay Krasko
421bb57f50
Fix parser performance: don't do the additional lookahead when looking for the comma in parameters
2014-12-15 20:20:08 +03:00
Nikolay Krasko
3677881e18
Change parser error for when (KT-6420)
...
#KT-6420 Fixed
2014-12-08 20:42:48 +03:00
Andrey Breslav
e09b624f05
dynamic is not a keyword on the left-hand side of callable references
2014-12-01 20:43:42 +03:00
Andrey Breslav
f58b30706e
Parsing dynamic in extension receiver position
2014-12-01 20:43:40 +03:00
Andrey Breslav
28b466d069
Parsing dynamic types
2014-12-01 20:43:37 +03:00
Valentin Kipyatkov
00fdd52b35
Fixed doc-comments only binder to bind doc-comment always
2014-10-31 21:08:52 +03:00
Valentin Kipyatkov
43e5112c21
Added parameter with default value to test
2014-10-31 21:07:52 +03:00
Valentin Kipyatkov
2200908367
Doc comments for parameters and property accessors
2014-10-31 21:07:52 +03:00
Valentin Kipyatkov
d6dc2531b0
Removed binding of comment after package directive
2014-10-31 21:07:51 +03:00
Valentin Kipyatkov
b811a6cab4
Corrected comments binding so that comments before local functions and classes are bound to them
2014-10-31 21:07:50 +03:00
Valentin Kipyatkov
377df47e29
Fixed doc-comment not attached to the first declaration with no package directive + incorrect placement of comments for enum entry
2014-10-31 21:07:50 +03:00
Valentin Kipyatkov
9dd4b5598e
Comments binding (not complete yet)
2014-10-31 21:07:44 +03:00
Pavel V. Talanov
951ce827a6
Parser: allow function types as receiver type for function
2014-10-30 16:47:03 +03:00
Andrey Breslav
70db76b219
Typo fixed in a diagnostic message
2014-10-29 18:43:48 +03:00
Valentin Kipyatkov
304c826b47
Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below
...
#KT-6128 Fixed
2014-10-24 15:14:26 +04:00
Alexander Udalov
102f0d3470
Regenerate .txt testData
...
Add newline to EOF, trim trailing spaces
2014-10-21 00:16:08 +04:00
Andrey Breslav
2bf6db003a
Error message corrected: packages can't be nested any more
2014-10-15 12:22:35 +04:00
Andrey Breslav
391b57077b
KT-5976 Parser recovery is poor on object with parameters
...
#KT-5976 Fixed
2014-10-15 12:22:35 +04:00
Andrey Breslav
cc68ed894b
"type" is not a keyword anymore ("typealias" reserved instead)
2014-10-13 15:41:13 +04:00
Andrey Breslav
8eb57f5a75
Parser recovers on platform types notation:
...
- Foo!
- Array<(out) Foo>!
- (Mutable)List<Foo>!
2014-10-13 15:38:18 +04:00
Zalim Bashorov
486b6be32c
Minor in Parser: "attribute" -> "annotation"
2014-09-10 22:39:11 +04:00
Zalim Bashorov
d71c3d6166
Minor in Parser: moved some annotation tests.
2014-09-10 22:39:11 +04:00
Zalim Bashorov
fb97b1df93
Minor in Parser: drop obsolete code.
2014-09-10 22:39:11 +04:00
Zalim Bashorov
3c60d0de93
Parser: added the support file annotations.
2014-09-10 22:39:11 +04:00
Svetlana Isakova
2ae87cae4a
Function literal expression outside the parentheses wrapped into JetFunctionLiteralArgument
...
Extracted JetFunctionLiteralArgument.moveInsideParenthesesAndReplaceWith util function
2014-07-30 17:14:00 +04:00
Zalim Bashorov
c767ffc3e7
Unit.VALUE -> Unit in testData
2014-07-25 17:16:40 +04:00
Nikolay Krasko
0b7699b844
Fix silence turning integers with leading zero into doubles
...
#KT-4296 Fixed
2014-07-16 18:35:19 +04:00
Alexander Udalov
a9b2fd964b
Support nullable types on left-hand side of ::
...
#KT-1183 In Progress
2014-06-26 20:57:39 +04:00
Nikolay Krasko
d8490ce2a6
Don't parse entries if left brace absent in 'when'
2014-06-25 14:22:53 +04:00
Nikolay Krasko
f36f1796d6
Fix recovery for 'for' expression
2014-06-25 14:22:53 +04:00
Nikolay Krasko
2571797411
Don't parse condition if there's no ( for if
2014-06-25 14:22:52 +04:00
Evgeny Gerashchenko
aa41ae09ed
Merge remote-tracking branch 'origin/master' into incremental
2014-06-19 11:43:59 +04:00
Andrey Breslav
2ec285735e
Test for EA-41250 - E: _JetLexer.zzScanError - Could not match input
2014-06-18 11:32:28 +04:00