Commit Graph

56677 Commits

Author SHA1 Message Date
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 8bcea1cf85 Change parseCharacter visibility to be visible from lightTree module 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
Ivan Cilcic c9d5202971 Add reference to parse value parameters methods in light tree converter 2019-08-01 15:14:20 +03:00
Ivan Cilcic bbf7263ddc Summarize methods that convert value parameter nodes 2019-08-01 15:14:20 +03:00
Ivan Cilcic 5fc3367c25 Write ClassWrapper class to transmit information to lower FIR nodes
Additionally a number of further optimization in Converter class
2019-08-01 15:14:20 +03:00
Ivan Cilcic b5d617492a Change modifiers parsing and some minor changes in fir conversion 2019-08-01 15:14:19 +03:00
Ivan Cilcic 05a2b2fac8 Add some minor changes to fix errors after merge in lightTree module 2019-08-01 15:14:19 +03:00
Ivan Cilcic d0dfcbb2f2 Add simple documentation to convert methods 2019-08-01 15:14:19 +03:00
Ivan Cilcic 311964acea Made some code refactoring to make it more readable 2019-08-01 15:14:19 +03:00
Ivan Cilcic f07d85eb83 Create benchmark for light tree FIR builder (including coroutines test) 2019-08-01 15:14:19 +03:00
Ivan Cilcic 0a8d0baa59 Write benchmarks for some generated cases 2019-08-01 15:14:18 +03:00
Ivan Cilcic c47a8e2025 Add JMH for benchmark 2019-08-01 15:14:18 +03:00
Ivan Cilcic 0e8bbab925 Change total kotlin tests architecture 2019-08-01 15:14:18 +03:00