Alexander Udalov
02f05a1d9a
Don't use private Sun API in JsContext
2015-04-20 18:57:30 +03:00
Alexey Tsvetkov
97a1a13235
JS: inline componentN functions
...
#KT-7294 fixed
2015-04-16 21:17:12 +03:00
Alexey Tsvetkov
616872558c
Minor in JS: made JsNew qualifier mutable
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
5eadac9750
Minor in JS: use acceptStatement where appropriate
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
fafd4ef805
Minor in JS: deleted unused function
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
a356847006
JS: added @NotNull annotation to JsVisitorWithContext
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
be5e73a5bc
JS: make qualifier mutable
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
24aa19bd49
JS: fixed nullability issues after conversion
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
1f705eb77a
JS: converted JsVisitor to Kotlin
2015-04-16 21:17:10 +03:00
Alexey Tsvetkov
cd92e2de73
JS: changed file extension JsVisitor(.java->.kt)
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
05c44db80f
JS: inline all calls in a statement in one pass
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
c8453ec0d9
JS: removed unused JsContext methods
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
e94c79f838
JS: added type parameter to JsContext
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
efba2a2372
JS: make JsEmpty singleton
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
dd13e91883
JS: converted JsEmpty to kotlin
2015-04-16 21:17:09 +03:00
Alexey Tsvetkov
ba1eb5f848
JS: changed extension JsEmpty.java->.kt
2015-04-16 21:17:09 +03:00
Alexander Udalov
16e6bc347f
Move inline-related stuff from 'descriptors' to 'frontend'
...
Move to package org.jetbrains.kotlin.resolve.inline
2015-04-16 14:35:06 +03:00
Denis Zharkov
a4018d9eae
Run "Add 'init' keyword in whole project" quickfix
2015-03-31 20:20:23 +03:00
Pavel V. Talanov
ed218c473a
Get rid of 'class object' usages in code and builtins
...
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Alexey Tsvetkov
1557111277
JS: fix issues with js() usage in inline functions
2015-03-23 16:43:49 +03:00
Alexey Tsvetkov
24f2121f9b
JS: report error from backend, when inline function is called recursively
2015-03-23 16:43:48 +03:00
Zalim Bashorov
8054f18287
Minor in JS backend: add @Nullable to JsNameRef#getQualifier and JsNameRef#getSymbol.
2015-03-17 19:00:51 +03:00
Zalim Bashorov
d6c70cc143
JS backend: added @Nullable to JsNameRef#getName and added assertion to get more information for reproduce #EA-66032
2015-03-17 19:00:50 +03:00
Pavel V. Talanov
2a6facaef6
default -> companion: default object -> class object in project code, builtins and libs code
2015-03-17 15:46:48 +03:00
Pavel V. Talanov
9ecf95532e
Replace 'class object' with default object in project code
2015-03-10 18:07:46 +03:00
Alexey Tsvetkov
843bc7956e
JS: made JsPropertyInitializer fields not nullable
2015-03-06 21:36:19 +03:00
Alexey Tsvetkov
bfd82e2dd2
JS: save function descriptor for inline calls
2015-03-06 21:36:18 +03:00
Alexander Udalov
5903b8c4a7
Reorder and optimize dependencies between modules and libraries
...
- drop 'kotlin-runtime' and other dependencies which are exported by
other modules ('util' and 'util.runtime' in case of 'kotlin-runtime')
- make all Kotlin modules from the compiler depend on 'util' for clarity
- put 'util' and 'util.runtime' to the bottom of the list everywhere: when
kotlin-runtime gets reflection, classes from core/ should have higher
priority than their previous versions from kotlin-runtime.jar
2015-01-28 19:58:35 +03:00
Alexander Udalov
e88f89d1c6
Rename jet -> kotlin in descriptors: built-ins
...
org.jetbrains.jet.lang.types.lang -> org.jetbrains.kotlin.builtins
2015-01-10 15:52:16 +03:00
Ilya Ryzhenkov
be717f48f8
Stop using deprecated APIs
2014-12-16 17:33:24 +03:00
Alexey Tsvetkov
21d51147bf
JS parser: fixed labelled break/continue
2014-12-15 19:16:20 +03:00
Zalim Bashorov
6b50d74056
JS backend: use special JsScope(JsDynamicScope) for names from dynamic calls instead of use containing scope to avoid the impact on local names.
2014-12-11 13:17:49 +03:00
Zalim Bashorov
2ccc027ba5
Minor in JS AST: drop unused constructors from JsBinaryOperation, JsUnaryOperation, JsPrefixOperation and JsPostfixOperation.
2014-12-10 22:48:01 +03:00
Zalim Bashorov
e9dbb97e22
Minor in JS backend: refactoring JsInvocation.
2014-12-01 15:27:34 +03:00
Alexey Tsvetkov
fb8918bbe6
JS backend: removed adding '$' to label suffix
2014-10-27 15:58:49 +03:00
Alexey Tsvetkov
1f87bea78f
JS backend: added support for nested labels with the same name
...
#KT-5891 fixed
2014-10-20 19:51:35 +04:00
Alexey Tsvetkov
be82d4c661
JS backend: increment counter for fresh names
2014-10-16 17:16:10 +04:00
Alexey Tsvetkov
5649797461
JS backend: catch fix refactoring
2014-10-09 19:31:57 +04:00
Michael Nedzelsky
787b8f72c5
JS backend: fix KT-5603 (Multiple catch): support for multiply catch clauses
2014-10-09 19:31:54 +04:00
nik
11d02e5485
use standard UnsupportedOperationException instead of NotImplementedException from internal packages
2014-10-07 20:57:47 +04:00
Alexey Tsvetkov
a795ee6218
JS backend minor: added @NotNull annotation to JsBinaryOperation's getOp()
2014-10-03 14:23:57 +04:00
Alexey Tsvetkov
0eedb0dc6b
JS backend: added @NotNull annotation to JsNameRef's getIdent() and constructor parameters
2014-10-03 14:23:56 +04:00
Alexey Tsvetkov
89d74d94c9
JS backend: added @NotNull annotation to JsName's getIdent()
2014-10-03 14:23:56 +04:00
Zalim Bashorov
3b9232e8d4
Drop extra fields which covered by metadata: hasDefaultValue from JsParameter.
2014-10-03 14:23:56 +04:00
Zalim Bashorov
aa6ab1ffee
Drop extra fields which covered by metadata: isLocal from JsFunction.
2014-10-03 14:23:56 +04:00
Zalim Bashorov
afdec6ecc4
Drop extra fields which covered by metadata: inlineStrategy from JsInvocation.
2014-10-03 14:23:56 +04:00
Zalim Bashorov
b5ab6cbad0
Drop extra fields which covered by metadata: staticRef from JsName.
2014-10-03 14:23:56 +04:00
Zalim Bashorov
d16ddd081a
JS backend: copy metdata when copy node.
2014-10-03 14:23:56 +04:00
Zalim Bashorov
1c5338ccf7
JS backend: added the ability to add metadata to js nodes.
2014-10-03 14:23:55 +04:00
Zalim Bashorov
03539c1945
Minor: removed unused ChameleonJsExpression.
2014-10-03 14:23:55 +04:00