Mikhail Glukhikh
|
82c5cefba9
|
Update test data in FIR diagnostic spec tests
|
2020-11-26 08:37:48 +03:00 |
|
Mikhail Glukhikh
|
e7e162c7eb
|
[FIR TEST] Filter some particular tokens during createDebugInfo
|
2020-11-26 08:37:47 +03:00 |
|
Mikhail Glukhikh
|
c602ccb33e
|
Create FIR fake source element for vararg argument expression
|
2020-11-26 08:37:47 +03:00 |
|
Mikhail Glukhikh
|
fa3f805573
|
Support FirDiagnostic.isValid properly
Diagnostic is considered valid in this commit if it's reported on
a syntactically non-erroneous element without erroneous last child
|
2020-11-26 08:37:47 +03:00 |
|
Mikhail Glukhikh
|
c7ae176ae4
|
[FIR] Inherit FIR with parameter renderer from the old parameter renderer
|
2020-11-26 08:37:47 +03:00 |
|
Mikhail Glukhikh
|
3dec848c03
|
[FIR] Implement light tree DECLARATION_NAME & SIGNATURE strategies
|
2020-11-26 08:37:47 +03:00 |
|
Mikhail Glukhikh
|
42c59f7383
|
[FIR] Enhance light tree DEFAULT strategy for objects to cover header only
|
2020-11-26 08:37:46 +03:00 |
|
Mikhail Glukhikh
|
d844b33b1c
|
[FIR] Implement light tree CONSTRUCTOR_DELEGATION_CALL strategy
Default strategy sometimes delegates to the CONSTRUCTOR_DELEGATION_CALL
strategy, so we add it in this commit to process some related cases
properly.
|
2020-11-26 08:37:46 +03:00 |
|
Mikhail Glukhikh
|
8320a2966a
|
[FIR] Implement light tree VAL_VAR strategy as an example
|
2020-11-26 08:37:46 +03:00 |
|
Mikhail Glukhikh
|
1795c4f3e5
|
Implement common Diagnostic(Factory/Renderer) in related FIR classes
|
2020-11-26 08:37:46 +03:00 |
|
Mikhail Glukhikh
|
d47e16331c
|
Convert DiagnosticFactory.java to Kotlin
|
2020-11-26 08:37:46 +03:00 |
|
Mikhail Glukhikh
|
84f3a4ba9d
|
Rename DiagnosticFactory.java to DiagnosticFactory.kt
|
2020-11-26 08:37:46 +03:00 |
|
Mikhail Glukhikh
|
9040999b55
|
Convert Diagnostic.java to Kotlin
|
2020-11-26 08:37:45 +03:00 |
|
Mikhail Glukhikh
|
b6cfcc6cad
|
Rename Diagnostic.java to Diagnostic.kt
|
2020-11-26 08:37:45 +03:00 |
|
Mikhail Glukhikh
|
d942780c14
|
[FIR] Introduce LightTreePositioningStrategy
|
2020-11-26 08:37:45 +03:00 |
|
Mikhail Glukhikh
|
1cb2aeaeff
|
FirSourceElement: introduce common 'treeStructure' property
|
2020-11-26 08:37:45 +03:00 |
|
Mikhail Glukhikh
|
3a2b15521b
|
FirSourceElement: introduce common 'lighterASTNode' property
|
2020-11-26 08:37:45 +03:00 |
|
Zalim Bashorov
|
6abd656116
|
[IR] dumpKotlinLike: update testdata after rebase
|
2020-11-26 00:15:26 +03:00 |
|
Zalim Bashorov
|
0d5a0b207e
|
[IR] KotlinLikeDumper: add a note about some conventions used for TODO comments
|
2020-11-26 00:15:25 +03:00 |
|
Zalim Bashorov
|
c004269547
|
[IR] KotlinLikeDumper: unify and add more comments for the cases when used a syntax which is invalid in Kotlin
|
2020-11-26 00:15:24 +03:00 |
|
Zalim Bashorov
|
5a755054f8
|
[IR] dumpKotlinLike: add a comment about some conventions which could be unclear
|
2020-11-26 00:15:22 +03:00 |
|
Zalim Bashorov
|
69f0f4ef19
|
[IR] update testdata: unify printing custom/non-standard modifiers
|
2020-11-26 00:15:21 +03:00 |
|
Zalim Bashorov
|
90fdfbde68
|
[IR] KotlinLikeDumper: unify printing custom/non-standard modifiers
|
2020-11-26 00:15:19 +03:00 |
|
Zalim Bashorov
|
57cb8f97e9
|
[IR] update testdata: don't use "D" suffix on double constants
|
2020-11-26 00:15:18 +03:00 |
|
Zalim Bashorov
|
73771a3513
|
[IR] KotlinLikeDumper: don't use "D" suffix on double constants
|
2020-11-26 00:15:17 +03:00 |
|
Zalim Bashorov
|
7df6575a18
|
[IR] update testdata: unify representation for error nodes
|
2020-11-26 00:15:16 +03:00 |
|
Zalim Bashorov
|
ef9a901635
|
[IR] KotlinLikeDumper: unify representation for error nodes
|
2020-11-26 00:15:15 +03:00 |
|
Zalim Bashorov
|
f8690d0395
|
[IR] KotlinLikeDumper: minor, collapse an if to helper function and add few more todos
|
2020-11-26 00:15:14 +03:00 |
|
Zalim Bashorov
|
c68040753d
|
[IR] dumpKotlinLike: add testdata for FIR tests
|
2020-11-26 00:15:13 +03:00 |
|
Zalim Bashorov
|
d7bd4240e1
|
[IR] dumpKotlinLike: don't crash when type argument is null
|
2020-11-26 00:15:12 +03:00 |
|
Zalim Bashorov
|
dec067af8c
|
[IR] stop overwriting testdata for dumpKotlinLike and use assertEqualsToFile
|
2020-11-26 00:15:11 +03:00 |
|
Zalim Bashorov
|
43ee50b91d
|
[IR] update testdata after rebase
|
2020-11-26 00:15:10 +03:00 |
|
Zalim Bashorov
|
2773e4baca
|
[IR] KotlinLikeDumper.kt -> dumpKotlinLike.kt
|
2020-11-26 00:15:09 +03:00 |
|
Zalim Bashorov
|
36591ba5f7
|
[IR] KotlinLikeDumper: replace all usages of commentBlockH with commentBlock
|
2020-11-26 00:15:07 +03:00 |
|
Zalim Bashorov
|
ad0f154ed1
|
[IR] add new testdata after rebase
|
2020-11-26 00:15:07 +03:00 |
|
Zalim Bashorov
|
f9fe82e735
|
[IR] KotlinLikeDumper: process specially when IrElseBranch's condition is not true constant
|
2020-11-26 00:15:05 +03:00 |
|
Zalim Bashorov
|
503370c9c2
|
[IR] update testdata: escape special symbols in Char and String constant values
|
2020-11-26 00:15:04 +03:00 |
|
Zalim Bashorov
|
0f10b5eb9e
|
[IR] KotlinLikeDumper: escape special symbols in Char and String constant values
|
2020-11-26 00:15:03 +03:00 |
|
Zalim Bashorov
|
92dda5cd92
|
[IR] KotlinLikeDumper.kt: cleanup
|
2020-11-26 00:15:02 +03:00 |
|
Zalim Bashorov
|
5b0efe2b64
|
[IR] KotlinLikeDumper: rearrange methods
|
2020-11-26 00:15:01 +03:00 |
|
Zalim Bashorov
|
d9dbc01c3e
|
[IR] KotlinLikeDumper: p.print("") -> p.printIndent()
|
2020-11-26 00:15:00 +03:00 |
|
Zalim Bashorov
|
c7d9b7adbe
|
[IR] KotlinLikeDumper: rearrange methods
|
2020-11-26 00:14:59 +03:00 |
|
Zalim Bashorov
|
76e959ef8c
|
[IR] KotlinLikeDumper: minor, update some comments
|
2020-11-26 00:14:58 +03:00 |
|
Zalim Bashorov
|
e94528fe0d
|
[IR] update testdata: print class name for callable references without receivers
|
2020-11-26 00:14:57 +03:00 |
|
Zalim Bashorov
|
b6e37c1f89
|
[IR] KotlinLikeDumper: print class name for callable references without receivers
|
2020-11-26 00:14:56 +03:00 |
|
Zalim Bashorov
|
2dbd784a6a
|
[IR] update testdata: print else -> ...
|
2020-11-26 00:14:55 +03:00 |
|
Zalim Bashorov
|
14dabed85a
|
[IR] KotlinLikeDumper.kt: move branch support to corresponding visit* methods
|
2020-11-26 00:14:54 +03:00 |
|
Zalim Bashorov
|
8f155c23a0
|
[IR] update testdata: better support for callable references
|
2020-11-26 00:14:53 +03:00 |
|
Zalim Bashorov
|
0d3d61862b
|
[IR] KotlinLikeDumper: better support for callable references
|
2020-11-26 00:14:52 +03:00 |
|
Zalim Bashorov
|
87eb06a21f
|
[IR] update testdata: improve annotations rendering in case when argument was not provided and there is default value
|
2020-11-26 00:14:51 +03:00 |
|