Ilya Kirillov
796baf261d
FIR IDE: move KtIconProvider out of idea-frontend-api module
2021-06-20 22:07:15 +02:00
Ilya Kirillov
75331b3448
FIR IDE: abstract low-level-api from dependency on idea
2021-06-20 22:07:11 +02:00
Ilya Kirillov
a483098303
FIR IDE: abstract DeclarationProvider
2021-06-20 22:02:17 +02:00
Ilya Kirillov
7fe2adc37e
FIR IDE: do not use helper methods unavailable in intellij-core
2021-06-20 22:02:17 +02:00
Ilya Kirillov
32919489f4
FIR IDE: separate index helper in LL API and completion
2021-06-20 22:02:17 +02:00
Jinseong Jeon
7a5d61928b
FIR/IDE: migrate FIR evaluator to idea-frontend-fir
2021-06-19 21:58:48 -07:00
Jinseong Jeon
fcdb8866d2
FIR: rewrite evaluator to use eval utils in frontend.common
2021-06-19 21:58:47 -07:00
Jinseong Jeon
477c1c8cd7
Migrate CompileTimeType and OperationsMap to frontend.common
2021-06-19 21:58:47 -07:00
Jinseong Jeon
833761ac3c
FIR IDE/UAST: add KtCompileTimeConstantProvider with evaluate API
2021-06-19 21:58:41 -07:00
Jinseong Jeon
7d157f006b
Rename CompileTimeConstantEvaluator to have Fir prefix
2021-06-19 21:35:36 -07:00
Jinseong Jeon
720104de78
Temporarily allow deprecated conversions in FIR operations map
...
Also, switch to the new copyright header
2021-06-19 21:35:35 -07:00
Jinseong Jeon
fc5d1d8cb5
FirConstKind has been renamed to ConstantValueKind ( d243319)
2021-06-19 21:35:35 -07:00
Jinseong Jeon
bb297b87bd
Avoid hard-coded operator names in CompileTimeConstantEvaluator
2021-06-19 21:35:34 -07:00
Jinseong Jeon
a969924248
FIR: generate operations map for CompileTimeConstantEvaluator
2021-06-19 21:35:34 -07:00
Jinseong Jeon
5e2525175e
Introduce fir.evaluate module with CompileTimeConstantEvaluator
2021-06-19 21:35:33 -07:00
Igor Yakovlev
ec80c21fd1
[FIR IDE] Fix lazy resolve for local declarations
2021-06-19 19:23:24 +02:00
Igor Yakovlev
c17a67ba61
[FIR IDE] Fix invalid collecting designation for local declarations
2021-06-19 19:23:24 +02:00
Igor Yakovlev
41c42a5016
[FIR IDE] Remove session scope default parameter from lazy resolve interface
2021-06-19 19:23:24 +02:00
Igor Yakovlev
52765c333d
[FIR IDE] Add test for local function lazy resolve and add phase into test data
2021-06-19 19:23:24 +02:00
Igor Yakovlev
2319a53fae
[FIR] Fixed invalid phase for values value parameter
2021-06-19 19:23:23 +02:00
Igor Yakovlev
8012429e31
[FIR IDE] Fix loop inheritance tests
2021-06-19 19:23:23 +02:00
Igor Yakovlev
3a1057eb60
[FIR IDE] Enable passing spec tests
2021-06-19 19:23:23 +02:00
Igor Yakovlev
b612e13061
[FIR IDE] Always resolve to Body in ide fir renderer
2021-06-19 19:23:23 +02:00
Igor Yakovlev
e900a1fa57
[FIR IDE] Fix local declarations resolve
2021-06-19 19:23:23 +02:00
Igor Yakovlev
4a212dc6a0
[FIR IDE] Fix unresolved supertype for typealiases
2021-06-19 19:23:23 +02:00
Igor Yakovlev
6c0bacc548
[FIR IDE] Fix invalid status for class symbols
2021-06-19 19:23:23 +02:00
Igor Yakovlev
21b1e4b072
[FIR IDE] Add lazy resolve phases tests
2021-06-19 19:23:23 +02:00
Igor Yakovlev
df1b41f05c
[FIR IDE] Rename refactoring
2021-06-19 19:23:22 +02:00
Igor Yakovlev
eded837115
[FIR IDE] Add typed lazy resolve implementation
2021-06-19 19:23:22 +02:00
Igor Yakovlev
7a0391b9b3
[FIR IDE] Move refactoring for constructor of the FileStructure
2021-06-19 19:23:22 +02:00
Igor Yakovlev
a60be78898
[FIR IDE] Remove designation collecting for local declarations
2021-06-19 19:23:22 +02:00
Igor Yakovlev
0cbb29f494
[FIR IDE] Remove typed fir designation
2021-06-19 19:23:22 +02:00
Igor Yakovlev
a4dbf0ae57
[FIR IDE] Update class modifiers requirements for resolve phase
2021-06-19 19:23:22 +02:00
Igor Yakovlev
3573f5066b
[FIR] Remove redundant println from RawFirBuilder
2021-06-19 19:23:22 +02:00
Igor Yakovlev
83382bea13
[FIR IDE] Concurrent identity cache for files
2021-06-19 19:23:21 +02:00
Igor Yakovlev
f98995f6cb
[FIR IDE] Implement lazy designated resolve for all resolve FIR phases
2021-06-19 19:23:21 +02:00
Jinseong Jeon
cda1a7edbe
FIR/UAST: commonize UAnnotationMethod
2021-06-19 11:39:46 +02:00
Jinseong Jeon
638b0beadb
FIR UAST: unify UMethod creation
2021-06-19 11:39:46 +02:00
Jinseong Jeon
5ec5b7f041
FIR/UAST: commonize constructor declarations
2021-06-19 11:39:45 +02:00
Jinseong Jeon
cbaa645dbe
FIR/UAST: commonize base UMethod
2021-06-19 11:39:45 +02:00
Jinseong Jeon
4a06ca637a
FIR/UAST: commonize anonymous UClass
2021-06-19 11:39:45 +02:00
Jinseong Jeon
3bd4cb274d
FIR/UAST: commonize invalid UClass
2021-06-19 11:39:44 +02:00
Jinseong Jeon
1749c90083
FIR/UAST: commonize base UClass (with bogus annotation abstraction)
2021-06-19 11:39:44 +02:00
Jinseong Jeon
06c20bb10e
FIR/UAST: commonize abstraction of Kotlin UClass
2021-06-19 11:39:43 +02:00
Jinseong Jeon
0c011f4e73
UAST: place method declarations together
2021-06-19 11:39:43 +02:00
Jinseong Jeon
beddf03f74
FIR/UAST: convert annotation via base converter
2021-06-19 11:39:42 +02:00
Jinseong Jeon
33ff90a6da
FIR/UAST: commonize named/vararg expressions
2021-06-19 11:39:42 +02:00
Jinseong Jeon
dcf99e9fd1
UAST: delete redundant file
...
This is rather a test input, and indeed there is testData/Suspend.kt
2021-06-19 11:39:42 +02:00
Jinseong Jeon
4e4b104488
FIR/UAST: commonize expression list
2021-06-19 11:39:41 +02:00
Jinseong Jeon
2e58b57db9
UAST: remove redundant override: expression list's evaluate()
...
The super function in `KotlinEvaluatableUElement` is almost same,
except for handling of `UnsignedErrorValueTypeConstant`.
Such handling was added later, so I assume the addition to this override
was missed. In any cases, this override is unnecessary.
2021-06-19 11:39:41 +02:00