Dmitry Jemerov
c366da95ac
move KDocFinder to plugin because it's not used in compiler; wrap it in an object to avoid package facade conflicts; add test to findKDoc() and fix it so that it actually works
2015-02-06 18:13:35 +01:00
Dmitry Jemerov
fdfb843fdc
add @sample known tag; handle @constructor tag in findKDoc()
2015-02-06 16:58:36 +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
cc5edc332d
inherit documentation for properties as well as functions
2015-02-06 16:32:41 +01:00
Alexey Sedunov
03e076aba3
Intentions: function <-> property conversion
2015-02-05 23:12:38 +03:00
Dmitry Jemerov
49cecc35fd
completion in kdoc
2015-02-05 18:30:02 +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
c0e7d1faf2
add references to kdoc; support resolve and rename
2015-02-04 17:26:47 +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
31d6ca8731
highlight links in KDoc; correctly highlight first word following tag name
2015-02-03 13:24:58 +01:00
Evgeny Gerashchenko
0e7d7ac709
Workaround for type inference bug (KT-6694, for IDEA 140 branch)
2015-01-30 14:00:46 +03:00
Svetlana Isakova
6511086034
Rename: PartialBodyResolveProvider -> StatementFilter
2015-01-30 13:33:37 +03:00
Svetlana Isakova
f5fb3246ae
Rename: deparenthesizeArgument -> getLastElementDeparenthesized
2015-01-30 13:33:36 +03:00
Svetlana Isakova
95209d37dd
Used partial resolve filter to find the last statement in a block
2015-01-30 13:33:36 +03:00
Svetlana Isakova
8c1ef59963
Minor refactoring: removed unnecessary parameter,
...
inlined method
2015-01-30 13:33:36 +03:00
Svetlana Isakova
0f370a7cf6
Refactoring: extracted several functions to make kotlin compile
2015-01-30 13:33:36 +03:00
Svetlana Isakova
279f09ee45
Removed method 'hasTypeConstructorMismatchAt' from status
...
Used ConstraintError's instead
2015-01-30 13:33:36 +03:00
Svetlana Isakova
1d67c1edea
Converted Renderers to kotlin
2015-01-30 13:33:36 +03:00
Svetlana Isakova
8766120b9c
Rename file to .kt
2015-01-30 13:33:35 +03:00
Svetlana Isakova
6cac6350a6
Fixed rendering of error message for 'cannot capture type' error
...
Type variable should be chosen correctly
2015-01-30 13:33:35 +03:00
Evgeny Gerashchenko
8f8a9b52e7
Fixed compilation error for IDEA 14.1+ (140 branch)
2015-01-29 21:48:46 +03:00
Evgeny Gerashchenko
da7762e003
Fixed compilation error for IDEA 14.1+ (140 branch)
2015-01-29 21:04:54 +03:00
Andrey Breslav
c3e65d1684
Work around compiler bug: rewriting one trait in Java
2015-01-29 16:07:30 +03:00
Andrey Breslav
9d7f12b69e
Minor. Code simplified
2015-01-29 16:07:30 +03:00
Andrey Breslav
8754ebb939
Minor. Rename method
2015-01-29 16:07:30 +03:00
Andrey Breslav
25dffeef28
Do not modify already existing components
2015-01-29 16:07:30 +03:00
Andrey Breslav
9c469a7dff
Don't make generated methods of local data classes LOCAL
2015-01-29 16:07:30 +03:00
Andrey Breslav
eebe013de2
getEnclosingElementForLocalDeclaration() made stub-friendly
2015-01-29 16:07:29 +03:00
Andrey Breslav
4d66551067
Call analyzeDeclarations() that includes files where it was called before refactoring
2015-01-29 16:07:29 +03:00
Andrey Breslav
54a50ef0b5
Unused infrastructure of MutableClassDescriptor removed
2015-01-29 16:07:29 +03:00
Andrey Breslav
ff133b66ed
Minor. Method made private
2015-01-29 16:07:28 +03:00
Andrey Breslav
ff9e6d849f
Code from ImportsResolver moved, the class renamed to PlatformTypesMappedToKotlinChecker
2015-01-29 16:07:28 +03:00
Andrey Breslav
794bb07eb5
Unused code removed from ImportsResolver
2015-01-29 16:07:28 +03:00
Andrey Breslav
51c1e1268e
Minor. Pointless annotations removed
2015-01-29 16:07:28 +03:00
Andrey Breslav
43a0f29a85
Unused code removed from VarianceChecker
2015-01-29 16:07:28 +03:00
Andrey Breslav
3a494ac040
Unused code removed from OverrideResolver
2015-01-29 16:07:27 +03:00
Andrey Breslav
828507de78
Unused code removed from DeclarationResolver
2015-01-29 16:07:27 +03:00
Andrey Breslav
2b432dd085
TopDownAnalyzer and TypeHierarchyResolver deleted
2015-01-29 16:07:27 +03:00
Andrey Breslav
6395fd819f
Got rid of non-lazy local classifier analyzer
2015-01-29 16:07:27 +03:00
Andrey Breslav
c59cb09398
Don't fail on nameless classes (syntax errors)
2015-01-29 16:07:27 +03:00
Andrey Breslav
ed4da90dcd
Outer DataFlowInfo delivered to local class members
2015-01-29 16:07:26 +03:00
Andrey Breslav
b4b0b84228
Support LOCAL visibility for lazy classes
2015-01-29 16:07:26 +03:00
Andrey Breslav
0fe191b028
Registering local classes with the outer scope
2015-01-29 16:07:26 +03:00
Andrey Breslav
7036cb8f42
Object expressions fixed
2015-01-29 16:07:26 +03:00
Andrey Breslav
202c44e969
Create LazyClassDescriptors for local classes
2015-01-29 16:07:25 +03:00
Andrey Breslav
483e20affc
LazyLocalClassifierAnalyzer introduced
2015-01-29 16:07:25 +03:00
Andrey Breslav
5b4682dd0e
LazyTopDownAnalyzer does not depend on ResolveSession or ScopeProvider any more
2015-01-29 16:07:25 +03:00
Andrey Breslav
e16885c301
LazyTopDownAnalyzerForTopLevel extracted
2015-01-29 16:07:25 +03:00