Dmitry Petrov
|
b19bcc0587
|
IrElementTransformerVoid
|
2016-10-18 09:09:27 +03:00 |
|
Dmitry Petrov
|
e0129ef33b
|
IrDeclaration.transform(transformer, data) returns IrStatement.
Declaration containers assume that transformers maintain declaration structure.
|
2016-10-18 09:09:26 +03:00 |
|
Dmitry Petrov
|
2b5cb0f722
|
Make statement containers mutable.
|
2016-10-18 09:09:26 +03:00 |
|
Dmitry Petrov
|
4c88ad408f
|
Make declaration containers mutable.
|
2016-10-18 09:09:25 +03:00 |
|
Dmitry Petrov
|
4b9c5effd3
|
Minor: irElement rendering
|
2016-10-18 09:09:25 +03:00 |
|
Dmitry Petrov
|
90119880c5
|
IrCatch element.
|
2016-10-18 09:09:24 +03:00 |
|
Dmitry Petrov
|
001b95473a
|
Drop 'parent' and 'slot'.
|
2016-10-18 09:09:21 +03:00 |
|
Dmitry Petrov
|
a8a6477ce5
|
IrOperator -> IrStatementOrigin
|
2016-10-18 09:09:21 +03:00 |
|
Dmitry Petrov
|
5386d27284
|
File class lowering
|
2016-10-18 09:09:20 +03:00 |
|
Dmitry Petrov
|
a25e781ee9
|
Minor: IrFieldAccessExpression, visitor methods.
|
2016-10-18 09:09:19 +03:00 |
|
Dmitry Petrov
|
c699e2d24c
|
Include declaration origin in testData.
|
2016-10-18 09:09:19 +03:00 |
|
Dmitry Petrov
|
0cdf831bf0
|
IrDeclarationContainer as a super-interface for IrFile and IrClass.
Builder for IrDeclarationContainer (initial implementation; TODO more flexible builders).
|
2016-10-18 09:09:16 +03:00 |
|
Dmitry Petrov
|
5c720845a8
|
Drop IrPropertyAccessor (and subclasses).
Drop IrLocalPropertyAccessor (and subclasses).
Introduce IrField.
|
2016-10-18 09:09:15 +03:00 |
|
Dmitry Petrov
|
aee2a58385
|
Drop assertDetached, unneeded ceremony.
|
2016-10-18 09:09:14 +03:00 |
|
Dmitry Petrov
|
00a74699e2
|
SourceLocationManager -> SourceManager
|
2016-10-18 09:09:13 +03:00 |
|
Dmitry Petrov
|
1e00561b6f
|
IrModule -> IrModuleFragment
|
2016-10-18 09:09:13 +03:00 |
|
Dmitry Petrov
|
838b639692
|
IrComposite - block introducing immediate declarations to the surrounding scope.
E.g., destructuring declaration is represented as IrComposite.
|
2016-10-18 09:09:12 +03:00 |
|
Dmitry Petrov
|
da4079bfe7
|
Move implementation classes to 'impl' packages.
|
2016-10-18 09:09:11 +03:00 |
|
Dmitry Petrov
|
d6a3246586
|
Use throwNoSuchSlot consistently.
|
2016-10-18 09:09:10 +03:00 |
|
Dmitry Petrov
|
40a60e430f
|
- Compact representation for empty blocks.
- Fix some issues in IrBlockImpl.
|
2016-10-18 09:09:10 +03:00 |
|
Dmitry Petrov
|
09c52696a5
|
Unique numbers for "special" slots.
|
2016-10-18 09:09:09 +03:00 |
|
Dmitry Petrov
|
4e270ef487
|
Store file-level annotations in IrFile (should be on some descriptor, really).
|
2016-10-18 09:09:09 +03:00 |
|
Dmitry Petrov
|
4e112b3f88
|
testData format update: detailed descriptor rendering.
|
2016-10-18 09:09:04 +03:00 |
|
Dmitry Petrov
|
993c3fe51e
|
- Render IrModule.
- Dump IR for box tests to .txt.
|
2016-10-18 09:09:03 +03:00 |
|
Dmitry Petrov
|
ec2cfd2389
|
AbstractClosureAnnotator for IR.
|
2016-10-18 09:09:02 +03:00 |
|
Dmitry Petrov
|
ceeccfa1b7
|
Properties without accessors are generated as
IrGetBackingField / IrSetBackingField expressions.
|
2016-10-18 09:09:01 +03:00 |
|
Dmitry Petrov
|
a1ad828ea8
|
IrElementVisitorVoid
|
2016-10-18 09:09:01 +03:00 |
|
Dmitry Petrov
|
d623c70778
|
Handle break/continue in loop header (condition for 'while', range for 'for').
|
2016-10-18 09:08:59 +03:00 |
|
Dmitry Petrov
|
28b3ea27f3
|
Generate explicit call to 'Any()' if no superclass found.
Generate call super-constructor calls as IrDelegatedConstructorCall.
|
2016-10-18 09:08:57 +03:00 |
|
Dmitry Petrov
|
ea83407dce
|
Multiple minor fixes.
|
2016-10-18 09:08:56 +03:00 |
|
Dmitry Petrov
|
fed09f059b
|
Byte and Short literals.
|
2016-10-18 09:08:55 +03:00 |
|
Dmitry Petrov
|
a3dadd9e3f
|
Callable references now can have receivers and arguments
(for bound references implementation).
|
2016-10-18 09:08:53 +03:00 |
|
Dmitry Petrov
|
fe397eddbe
|
Handle erroneous code (initial drop, TBD).
|
2016-10-18 09:08:53 +03:00 |
|
Dmitry Petrov
|
3c0cce4c48
|
Reflection literals (no bound member references yet).
|
2016-10-18 09:08:52 +03:00 |
|
Dmitry Petrov
|
8b95992af1
|
Generate get/set for local delegated properties as accessor calls.
|
2016-10-18 09:08:51 +03:00 |
|
Dmitry Petrov
|
42988383e0
|
Local delegated properties.
|
2016-10-18 09:08:50 +03:00 |
|
Dmitry Petrov
|
e42116bb6a
|
Delegated implementations for properties and extension properties.
|
2016-10-18 09:08:50 +03:00 |
|
Dmitry Petrov
|
d27f22ae0e
|
Delegated implementations for functions and extension functions.
|
2016-10-18 09:08:49 +03:00 |
|
Dmitry Petrov
|
2438876173
|
Implementing interface by delegation: creating delegates in class.
|
2016-10-18 09:08:49 +03:00 |
|
Dmitry Petrov
|
1b5dd50359
|
Represent class instance initialization "as from resolve".
|
2016-10-18 09:08:48 +03:00 |
|
Dmitry Petrov
|
c3c758c7cc
|
Do not generate underlying classes for enum entries without member declarations.
|
2016-10-18 09:08:47 +03:00 |
|
Dmitry Petrov
|
759f0168c2
|
Delegated properties.
|
2016-10-18 09:08:47 +03:00 |
|
Dmitry Petrov
|
865d2c43c7
|
Default arguments stored in function declarations.
|
2016-10-18 09:08:46 +03:00 |
|
Dmitry Petrov
|
2d2100b1b5
|
IrSyntheticBody (for 'values', 'valueOf').
|
2016-10-18 09:08:46 +03:00 |
|
Dmitry Petrov
|
c47e82f965
|
Cleaner IrBuiltIns.
|
2016-10-18 09:08:45 +03:00 |
|
Dmitry Petrov
|
93618ebb12
|
IrClassReference
|
2016-10-18 09:08:45 +03:00 |
|
Dmitry Petrov
|
9eeb492fe3
|
Underlying classes for enum entries.
|
2016-10-18 09:08:44 +03:00 |
|
Dmitry Petrov
|
bd76e39a8c
|
Enum entries generation (no underlying classes yet)
|
2016-10-18 09:08:44 +03:00 |
|
Dmitry Petrov
|
917e7bffbd
|
Property accessors are now children of IrProperty.
|
2016-10-18 09:08:43 +03:00 |
|
Dmitry Petrov
|
1022725fd1
|
Data class members generation.
Builder-style API for desugaring expressions.
|
2016-10-18 09:08:42 +03:00 |
|