Dmitriy Novozhilov
54eb4cf928
[FIR] Add synthetic else branch to when if it's missing to LightTreeFirBuilder
2019-09-02 11:12:35 +03:00
Mikhail Glukhikh
13d14df8ae
FIR: set dispatch receiver for data class generated functions
2019-08-30 11:47:31 +03:00
Mikhail Glukhikh
8633a33108
FIR: add new qualified access implementation (FirThisReceiverExpression)
2019-08-30 11:47:30 +03:00
Dmitriy Novozhilov
5846db4eab
[FIR] Add symbol to FirFunction and all it's inheritors
2019-08-22 14:14:55 +03:00
Dmitriy Novozhilov
317e3edba8
[FIR] Add default upper bound to type parameter in fir deserializer
2019-08-22 10:55:07 +03:00
Ilya Chernikov
315a9d66a0
Refactor more tasks to lazy API
2019-08-21 20:20:08 +02:00
Simon Ogorodnik
7c24ad39ea
Remove fir:lightTree test on kotlinx.coroutines as it caused problems in IDEA
2019-08-02 17:33:29 +03:00
Ivan Cilcic
00f880a5a0
Make all necessary refactoring after merge
...
1) Removed all unnecessary sessions
2) Added delegation converter
3) Moved property accessor initialization to apply block instead of constructor
4) Removed unnecessary AnotationContainer class
2019-08-01 15:14:29 +03:00
Ivan Cilcic
f3a7db2428
Add auto test in gradle (light tree)
...
Additionally removed benchmarks from auto test because they require manual setting.
Instruction was also added.
2019-08-01 15:14:29 +03:00
Ivan Cilcic
2ca7978544
Remove duplicate code from convertIsExpresion and convertBinaryWithType
2019-08-01 15:14:29 +03:00
Ivan Cilcic
d03b6cc014
Remove extra test methods (light tree)
2019-08-01 15:14:29 +03:00
Ivan Cilcic
250d86b692
Rename "MyKotlinParser" to "KotlinLightParser"
2019-08-01 15:14:28 +03:00
Ivan Cilcic
2e05fe9976
Remove extra method toFirExpression
2019-08-01 15:14:28 +03:00
Ivan Cilcic
f3299c4636
Delete extra files with util methods (raw FIR)
2019-08-01 15:14:28 +03:00
Ivan Cilcic
01daa90f5c
Extract bangbang and bindLabel methods (raw FIR)
2019-08-01 15:14:28 +03:00
Ivan Cilcic
c5547a2229
Extract some information to separate Context class
2019-08-01 15:14:28 +03:00
Ivan Cilcic
cad0dbf087
Rewrite RawFirBuilder and its utils to be able to reuse it in LightTree converter
2019-08-01 15:14:27 +03:00
Ivan Cilcic
084bad4c25
Fix bug in import directives converter (light tree to FIR)
2019-08-01 15:14:27 +03:00
Ivan Cilcic
1af7063a47
Made primary constructor wrapper to avoid recreating value parameter instances
2019-08-01 15:14:27 +03:00
Ivan Cilcic
2a60f95a32
Add FIR session argument to LightTree2Fir constructor
2019-08-01 15:14:27 +03:00
Ivan Cilcic
c253ff7953
Write syntactically incorrect constructions processing (light tree to FIR)
2019-08-01 15:14:26 +03:00
Ivan Cilcic
ef535a2d85
Resolve converter errors after merge (light tree to FIR)
2019-08-01 15:14:26 +03:00
Ivan Cilcic
86097bdcce
Write method to test data from diagnostic test folder (light tree)
2019-08-01 15:14:26 +03:00
Ivan Cilcic
b5293e7df7
Edit light tree to FIR benchmarks to support off stub mode
2019-08-01 15:14:26 +03:00
Ivan Cilcic
c8c37fd86e
Move object literal parsing, rewrite the determination that member is local
2019-08-01 15:14:26 +03:00
Ivan Cilcic
531ee03a92
Write if and when parsing (light tree to FIR)
2019-08-01 15:14:25 +03:00
Ivan Cilcic
b7d57690c5
Write try expression parsing (light tree to FIR)
2019-08-01 15:14:25 +03:00
Ivan Cilcic
a0e79449fd
Write throw expression parsing (light tree to FIR)
2019-08-01 15:14:25 +03:00
Ivan Cilcic
a714515527
Write break and continue parsing (light tree to FIR)
2019-08-01 15:14:25 +03:00
Ivan Cilcic
e0a92c5ed5
Write local variable parsing (light tree to FIR)
2019-08-01 15:14:25 +03:00
Ivan Cilcic
c0fdbec358
Write loops parsing (light tree to FIR)
2019-08-01 15:14:24 +03:00
Ivan Cilcic
26290746f3
Write object literal parsing (light tree to FIR)
2019-08-01 15:14:24 +03:00
Ivan Cilcic
8dd72a5cf2
Write lambda expressions and local members parsing (light tree to FIR)
2019-08-01 15:14:24 +03:00
Ivan Cilcic
50573066fe
Write double colon suffix parsing (light tree to FIR)
2019-08-01 15:14:24 +03:00
Ivan Cilcic
e15b91ea16
Write arrayOf call parsing (light tree to FIR)
2019-08-01 15:14:24 +03:00
Ivan Cilcic
9d36855cb6
Write type operator call parsing (light tree to FIR)
2019-08-01 15:14:23 +03:00
Ivan Cilcic
e0bebba42e
Fix some light tree to FIR converter bugs after testing
2019-08-01 15:14:23 +03:00
Ivan Cilcic
08ab530ef0
Write this and super expression parsing (light tree to FIR)
2019-08-01 15:14:23 +03:00
Ivan Cilcic
a13a043169
Write binary and unary expressions parsing (light tree to FIR)
2019-08-01 15:14:23 +03:00
Ivan Cilcic
be073ce2e6
Reformat LightTree2Fir class to be able to parse block of code
2019-08-01 15:14:23 +03:00
Ivan Cilcic
bfe83d0bfd
Write some simple FIR dummy comparator
2019-08-01 15:14:22 +03:00
Ivan Cilcic
5a24c2253a
Write annotation's conversion (light tree to FIR)
2019-08-01 15:14:22 +03:00
Ivan Cilcic
b0a04b1061
Fix bug in abstract benchmark class (light tree)
2019-08-01 15:14:22 +03:00
Ivan Cilcic
a66adffdcf
Create ExpressionsConverter class and took out light tree node handlers
2019-08-01 15:14:21 +03:00
Ivan Cilcic
05757c1ada
Write basis for separate testing some of fir nodes
2019-08-01 15:14:21 +03:00
Ivan Cilcic
e9ddbc412c
Took out common code of dir walking
2019-08-01 15:14:21 +03:00
Ivan Cilcic
5b5eadeeaa
Change method's order in converter according to KotlinParsing class
2019-08-01 15:14:21 +03:00
Ivan Cilcic
840e627f1f
Add annotation processing in joinTypeParameters method
2019-08-01 15:14:21 +03:00
Ivan Cilcic
8b1a63b54d
Move modifiers enum set to separate file
2019-08-01 15:14:20 +03:00
Ivan Cilcic
7cbd838720
Change AbstractBenchmark code to avoid collisions in files map
2019-08-01 15:14:20 +03:00