Permalink
Browse files

KJS: relocate com.google.dart.compiler -> org.jetbrains.kotlin

  • Loading branch information...
1 parent cb4c3ed commit 316da8331f748f29a2d0b6df5ec67e33a7329373 @bashor bashor committed Jan 3, 2017
Showing with 623 additions and 545 deletions.
  1. +1 −1 generators/src/org/jetbrains/kotlin/generators/tests/generateTestDataForReservedWords.kt
  2. +0 −20 js/js.ast/src/com/google/dart/compiler/backend/js/ast/AbstractNode.java
  3. +0 −10 js/js.ast/src/com/google/dart/compiler/backend/js/ast/RecursiveJsVisitor.java
  4. +0 −25 js/js.ast/src/com/google/dart/compiler/backend/js/ast/SourceInfoAwareJsNode.java
  5. +1 −1 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/Source.java
  6. +2 −2 ...gle/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/JsConstructExpressionVisitor.java
  7. +3 −3 .../google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/JsFirstExpressionVisitor.java
  8. +2 −2 .../{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/JsPrecedenceVisitor.java
  9. +2 −2 ...com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/JsRequiresSemiVisitor.java
  10. +1 −1 ...com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/JsReservedIdentifiers.java
  11. +6 −7 ...ogle/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/JsToStringGenerationVisitor.java
  12. +36 −0 js/js.ast/src/org/jetbrains/kotlin/js/backend/ast/AbstractNode.java
  13. +1 −1 ...src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/HasArguments.java
  14. +1 −1 ...src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/HasCondition.java
  15. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/HasName.java
  16. +2 −2 ...rc/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsArrayAccess.java
  17. +2 −2 ...c/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsArrayLiteral.java
  18. +2 −2 ...com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsBinaryOperation.java
  19. +1 −1 ...{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsBinaryOperator.java
  20. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsBlock.java
  21. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsBreak.java
  22. +2 −2 ...s.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsCase.java
  23. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsCatch.java
  24. +1 −1 ...src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsCatchScope.java
  25. +2 −2 ...rc/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsConditional.java
  26. +1 −1 ...st/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsContext.java
  27. +2 −2 ...t/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsContinue.java
  28. +1 −1 ...t/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsDebugger.java
  29. +2 −2 ...st/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsDefault.java
  30. +2 −2 ...st/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsDoWhile.java
  31. +17 −1 ...src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsDocComment.java
  32. +1 −1 js/js.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsEmpty.kt
  33. +1 −1 ...src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsExpression.java
  34. +1 −1 ...google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsExpressionStatement.java
  35. +2 −2 js/js.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsFor.java
  36. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsForIn.java
  37. +3 −3 ...t/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsFunction.java
  38. +2 −2 ...rc/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsGlobalBlock.java
  39. +2 −2 js/js.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsIf.java
  40. +2 −2 ...src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsInvocation.java
  41. +3 −3 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsLabel.java
  42. +1 −1 ...st/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsLiteral.java
  43. +3 −3 ...s.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsName.java
  44. +3 −3 ...st/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsNameRef.java
  45. +2 −2 js/js.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsNew.java
  46. +1 −1 ...s.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsNode.java
  47. +1 −1 ...rc/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsNullLiteral.java
  48. +1 −1 .../{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsNumberLiteral.java
  49. +2 −2 .../{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsObjectLiteral.java
  50. +1 −1 ...t/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsOperator.java
  51. +2 −2 .../src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsParameter.java
  52. +2 −2 ...om/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsPostfixOperation.java
  53. +2 −2 ...com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsPrefixOperation.java
  54. +3 −4 ...st/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsProgram.java
  55. +1 −1 ...com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsProgramFragment.java
  56. +1 −1 ...google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsPropertyInitializer.java
  57. +1 −1 ...ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsRegExp.java
  58. +2 −2 ...ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsReturn.java
  59. +2 −2 .../src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsRootScope.java
  60. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsScope.java
  61. +1 −1 .../src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsStatement.java
  62. +1 −1 .../{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsStringLiteral.java
  63. +2 −2 ...ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsSwitch.java
  64. +1 −1 ...c/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsSwitchMember.java
  65. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsThrow.java
  66. +2 −2 js/js.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsTry.java
  67. +1 −1 ...{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsUnaryOperation.java
  68. +1 −1 .../{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsUnaryOperator.java
  69. +3 −3 ...s.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsVars.java
  70. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsVisitor.kt
  71. +1 −1 .../google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsVisitorWithContext.java
  72. +1 −1 ...gle/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsVisitorWithContextImpl.java
  73. +2 −2 ....ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/JsWhile.java
  74. +26 −0 js/js.ast/src/org/jetbrains/kotlin/js/backend/ast/RecursiveJsVisitor.java
  75. +41 −0 js/js.ast/src/org/jetbrains/kotlin/js/backend/ast/SourceInfoAwareJsNode.java
  76. +2 −2 ...s.ast/src/{com/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/jsScopes.kt
  77. +2 −2 ...om/google/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/metadata/HasMetadata.kt
  78. +2 −2 ...ogle/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/metadata/MetadataProperty.kt
  79. +4 −3 ...le/dart/compiler/backend/js → org/jetbrains/kotlin/js/backend}/ast/metadata/metadataProperties.kt
  80. +1 −1 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/common/HasSymbol.java
  81. +2 −2 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/common/SourceInfo.java
  82. +19 −3 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/common/SourceInfoImpl.java
  83. +1 −1 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/common/Symbol.java
  84. +5 −2 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/util/AstUtil.java
  85. +1 −1 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/util/Maps.java
  86. +1 −1 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/util/TextOutput.java
  87. +1 −1 js/js.ast/src/{com/google/dart/compiler → org/jetbrains/kotlin/js}/util/TextOutputImpl.java
  88. +3 −3 js/js.frontend/src/org/jetbrains/kotlin/js/resolve/diagnostics/JsCallChecker.kt
  89. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutineBlock.kt
  90. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutineBodyTransformer.kt
  91. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutineFunctionTransformer.kt
  92. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutineMetadataProperties.kt
  93. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutinePasses.kt
  94. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutineTransformationContext.kt
  95. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/coroutine/CoroutineTransformer.kt
  96. +5 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/ExpressionDecomposer.kt
  97. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/FunctionInlineMutator.kt
  98. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/FunctionReader.kt
  99. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/InlineableResult.kt
  100. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/JsInliner.java
  101. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/CoroutineStateElimination.kt
  102. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/DeadCodeElimination.kt
  103. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/DoWhileGuardElimination.kt
  104. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/FunctionPostProcessor.kt
  105. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/IfStatementReduction.kt
  106. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/NodeRemover.kt
  107. +4 −4 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/RedundantBindElimination.kt
  108. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/RedundantLabelRemoval.kt
  109. +4 −4 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/RedundantStatementElimination.kt
  110. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/RedundantVariableDeclarationElimination.kt
  111. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/ReferenceTracker.kt
  112. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/TemporaryAssignmentElimination.kt
  113. +5 −5 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/TemporaryVariableElimination.kt
  114. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/WhileConditionFolding.kt
  115. +5 −5 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/coroutines.kt
  116. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/removeDefaultInitializers.kt
  117. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/removeUnusedFunctionDefinitions.kt
  118. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/removeUnusedImports.kt
  119. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/removeUnusedLocalFunctionDeclarations.kt
  120. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/clean/resolveTemporaryNames.kt
  121. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/context/FunctionContext.kt
  122. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/context/InliningContext.kt
  123. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/context/NamingContext.kt
  124. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/collectUtils.kt
  125. +4 −4 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/collectors/InstanceCollector.kt
  126. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/functionUtils.kt
  127. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/invocationUtils.kt
  128. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/namingUtils.kt
  129. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/rewriteUtils.kt
  130. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/rewriters/ContinueReplacingVisitor.kt
  131. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/rewriters/LabelNameRefreshingVisitor.kt
  132. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/rewriters/NameReplacingVisitor.kt
  133. +2 −2 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/rewriters/ReturnReplacingVisitor.kt
  134. +1 −1 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/rewriters/ThisReplacingVisitor.kt
  135. +3 −3 js/js.inliner/src/org/jetbrains/kotlin/js/inline/util/sideEffectUtils.kt
  136. +3 −3 js/js.parser/src/com/google/gwt/dev/js/JsAstMapper.java
  137. +1 −1 js/js.parser/src/com/google/gwt/dev/js/ScopeContext.kt
  138. +5 −3 js/js.parser/src/org/jetbrains/kotlin/js/parser/parserUtils.kt
  139. +1 −1 js/js.tests/test/org/jetbrains/kotlin/js/test/BasicBoxTest.kt
  140. +1 −1 js/js.tests/test/org/jetbrains/kotlin/js/test/BasicTest.java
  141. +2 −2 js/js.tests/test/org/jetbrains/kotlin/js/test/ast/JsScopeTest.java
  142. +3 −3 js/js.tests/test/org/jetbrains/kotlin/js/test/optimizer/BasicOptimizerTest.kt
  143. +4 −4 js/js.tests/test/org/jetbrains/kotlin/js/test/utils/AstSearchUtil.java
  144. +1 −1 js/js.tests/test/org/jetbrains/kotlin/js/test/utils/CallCounter.java
  145. +1 −1 js/js.tests/test/org/jetbrains/kotlin/js/test/utils/DirectiveTestUtils.java
  146. +4 −1 js/js.tests/test/org/jetbrains/kotlin/js/test/utils/PropertyReferenceCollector.kt
  147. +4 −4 js/js.tests/test/org/jetbrains/kotlin/js/test/utils/jsVerification.kt
  148. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/facade/K2JSTranslator.java
  149. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/facade/TranslationResult.kt
  150. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/sourceMap/JsSourceGenerationVisitor.java
  151. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/sourceMap/SourceMap3Builder.java
  152. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallInfo.kt
  153. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallInfoExtensions.kt
  154. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/CallTranslator.kt
  155. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/FunctionCallCases.kt
  156. +5 −5 js/js.translator/src/org/jetbrains/kotlin/js/translate/callTranslator/VariableCallCases.kt
  157. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/AliasingContext.java
  158. +2 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/DeclarationExporter.kt
  159. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/DeferredCallSite.kt
  160. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/DynamicContext.java
  161. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/Namer.java
  162. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/StaticContext.java
  163. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/TemporaryConstVariable.java
  164. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/TemporaryVariable.java
  165. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/TranslationContext.java
  166. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/context/UsageTracker.kt
  167. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/AbstractDeclarationVisitor.kt
  168. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/ClassTranslator.kt
  169. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/DeclarationBodyVisitor.kt
  170. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/DelegationTranslator.kt
  171. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/EnumTranslator.kt
  172. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/FileDeclarationVisitor.kt
  173. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/InterfaceFunctionCopier.kt
  174. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/JsDataClassGenerator.java
  175. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/declaration/PropertyTranslator.kt
  176. +1 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/CatchTranslator.kt
  177. +4 −4 ...anslator/src/org/jetbrains/kotlin/js/translate/expression/DestructuringDeclarationTranslator.java
  178. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/ExpressionVisitor.java
  179. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/FunctionTranslator.java
  180. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/InlineMetadata.kt
  181. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/LiteralFunctionTranslator.kt
  182. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/LoopTranslator.kt
  183. +4 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/PatternTranslator.java
  184. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/StringTemplateTranslator.java
  185. +2 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/TryTranslator.kt
  186. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/WhenTranslator.java
  187. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/general/AbstractTranslator.java
  188. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/general/ModuleWrapperTranslation.kt
  189. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/general/Translation.java
  190. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/initializer/ClassInitializerTranslator.java
  191. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/initializer/InitializerUtils.java
  192. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/initializer/InitializerVisitor.java
  193. +2 −2 ...tor/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/basic/BuiltInFunctionIntrinsic.java
  194. +1 −1 ...tor/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/basic/BuiltInPropertyIntrinsic.java
  195. +1 −1 ...translator/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/basic/FunctionIntrinsic.java
  196. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/basic/RangeToIntrinsic.kt
  197. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/ArrayFIF.java
  198. +0 −4 ....translator/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/CompositeFIF.java
  199. +2 −2 .../src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/KotlinFunctionIntrinsic.java
  200. +1 −1 ...ranslator/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/LongOperationFIF.kt
  201. +1 −1 ...src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/NumberAndCharConversionFIF.kt
  202. +1 −1 .../org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/PrimitiveBinaryOperationFIF.java
  203. +1 −1 ...c/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/PrimitiveUnaryOperationFIF.java
  204. +3 −3 ...s.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/functions/factories/TopLevelFIF.java
  205. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/objects/objectsIntrinsics.kt
  206. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/operation/CompareToBOIF.kt
  207. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/operation/EqualsBOIF.kt
  208. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/intrinsic/operation/LongCompareToBOIF.kt
  209. +1 −1 ...translator/src/org/jetbrains/kotlin/js/translate/intrinsic/operation/binaryOperationIntrinsics.kt
  210. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/AssignmentTranslator.java
  211. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/BinaryOperationTranslator.java
  212. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/CompareToTranslator.java
  213. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/DynamicIncrementTranslator.java
  214. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/InOperationTranslator.java
  215. +5 −5 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/IncrementTranslator.java
  216. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/IntrinsicAssignmentTranslator.java
  217. +1 −8 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/IntrinsicIncrementTranslator.java
  218. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/OperatorTable.java
  219. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/OverloadedAssignmentTranslator.java
  220. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/OverloadedIncrementTranslator.java
  221. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/operation/UnaryOperationTranslator.java
  222. +1 −1 ....translator/src/org/jetbrains/kotlin/js/translate/reference/AbstractCallExpressionTranslator.java
  223. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/AccessTranslationUtils.java
  224. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/AccessTranslator.java
  225. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/ArrayAccessTranslator.java
  226. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/BackingFieldAccessTranslator.java
  227. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/CallArgumentTranslator.kt
  228. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/CallExpressionTranslator.java
  229. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/CallableReferenceTranslator.kt
  230. +1 −1 ...tor/src/org/jetbrains/kotlin/js/translate/reference/CompanionObjectIntrinsicAccessTranslator.java
  231. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/DefaultAccessTranslator.java
  232. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/QualifiedExpressionTranslator.java
  233. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/ReferenceAccessTranslator.java
  234. +6 −6 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/ReferenceTranslator.java
  235. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/reference/VariableAccessTranslator.java
  236. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/test/CommonUnitTester.java
  237. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/test/JSRhinoUnitTester.java
  238. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/test/JSTestGenerator.java
  239. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/test/JSTester.java
  240. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/test/QUnitTester.java
  241. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/FunctionBodyTranslator.java
  242. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/JsAstUtils.java
  243. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/TemporariesUtils.java
  244. +2 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/TranslationUtils.java
  245. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/astUtils.kt
  246. +3 −3 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/expandIsCalls.kt
  247. +4 −4 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/inlineUtils.kt
  248. +2 −2 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/mutator/AssignToExpressionMutator.java
  249. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/mutator/LastExpressionMutator.java
  250. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/mutator/Mutator.java
  251. +1 −1 js/js.translator/src/org/jetbrains/kotlin/js/translate/utils/utils.kt
@@ -16,7 +16,7 @@
package org.jetbrains.kotlin.generators.tests
-import com.google.dart.compiler.backend.js.ast.JsFunctionScope
+import org.jetbrains.kotlin.js.backend.ast.JsFunctionScope
import org.jetbrains.kotlin.generators.util.GeneratorsFileUtil
import org.jetbrains.kotlin.lexer.KtTokens
import org.jetbrains.kotlin.renderer.KeywordStringsGenerated
@@ -1,20 +0,0 @@
-package com.google.dart.compiler.backend.js.ast;
-
-import com.google.dart.compiler.backend.js.JsToStringGenerationVisitor;
-import com.google.dart.compiler.backend.js.ast.metadata.HasMetadata;
-import com.google.dart.compiler.util.TextOutputImpl;
-
-abstract class AbstractNode extends HasMetadata implements JsNode {
- @Override
- public String toString() {
- TextOutputImpl out = new TextOutputImpl();
- new JsToStringGenerationVisitor(out).accept(this);
- return out.toString();
- }
-
- protected <T extends HasMetadata> T withMetadataFrom(T other) {
- this.copyMetadataFrom(other);
- //noinspection unchecked
- return (T) this;
- }
-}
@@ -1,10 +0,0 @@
-package com.google.dart.compiler.backend.js.ast;
-
-import org.jetbrains.annotations.NotNull;
-
-public abstract class RecursiveJsVisitor extends JsVisitor {
- @Override
- protected void visitElement(@NotNull JsNode node) {
- node.acceptChildren(this);
- }
-}
@@ -1,25 +0,0 @@
-package com.google.dart.compiler.backend.js.ast;
-
-public abstract class SourceInfoAwareJsNode extends AbstractNode {
- private Object source;
-
- @Override
- public Object getSource() {
- return source;
- }
-
- @Override
- public void setSource(Object info) {
- source = info;
- }
-
- @Override
- public void acceptChildren(JsVisitor visitor) {
- }
-
- @Override
- public JsNode source(Object info) {
- source = info;
- return this;
- }
-}
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler;
+package org.jetbrains.kotlin.js;
import java.io.IOException;
import java.io.Reader;
@@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js;
+package org.jetbrains.kotlin.js.backend;
-import com.google.dart.compiler.backend.js.ast.*;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.kotlin.js.backend.ast.*;
/**
* Searches for method invocations in constructor expressions that would not
@@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js;
+package org.jetbrains.kotlin.js.backend;
-import com.google.dart.compiler.backend.js.ast.*;
-import com.google.dart.compiler.backend.js.ast.JsExpressionStatement;
+import org.jetbrains.kotlin.js.backend.ast.*;
+import org.jetbrains.kotlin.js.backend.ast.JsExpressionStatement;
import org.jetbrains.annotations.NotNull;
/**
@@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js;
+package org.jetbrains.kotlin.js.backend;
-import com.google.dart.compiler.backend.js.ast.*;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.kotlin.js.backend.ast.*;
/**
* Precedence indices from "JavaScript - The Definitive Guide" 4th Edition (page
@@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js;
+package org.jetbrains.kotlin.js.backend;
-import com.google.dart.compiler.backend.js.ast.*;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.kotlin.js.backend.ast.*;
/**
* Determines if a statement at the end of a block requires a semicolon.
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js;
+package org.jetbrains.kotlin.js.backend;
import gnu.trove.THashSet;
@@ -2,11 +2,13 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js;
+package org.jetbrains.kotlin.js.backend;
-import com.google.dart.compiler.backend.js.ast.*;
-import com.google.dart.compiler.backend.js.ast.JsVars.JsVar;
-import com.google.dart.compiler.util.TextOutput;
+import org.jetbrains.kotlin.js.backend.ast.*;
+import org.jetbrains.kotlin.js.backend.ast.JsNumberLiteral.JsDoubleLiteral;
+import org.jetbrains.kotlin.js.backend.ast.JsNumberLiteral.JsIntLiteral;
+import org.jetbrains.kotlin.js.backend.ast.JsVars.JsVar;
+import org.jetbrains.kotlin.js.util.TextOutput;
import gnu.trove.THashSet;
import org.jetbrains.annotations.NotNull;
@@ -15,9 +17,6 @@
import java.util.Map;
import java.util.Set;
-import static com.google.dart.compiler.backend.js.ast.JsNumberLiteral.JsDoubleLiteral;
-import static com.google.dart.compiler.backend.js.ast.JsNumberLiteral.JsIntLiteral;
-
/**
* Produces text output from a JavaScript AST.
*/
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2010-2017 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.jetbrains.kotlin.js.backend.ast;
+
+import org.jetbrains.kotlin.js.backend.JsToStringGenerationVisitor;
+import org.jetbrains.kotlin.js.backend.ast.metadata.HasMetadata;
+import org.jetbrains.kotlin.js.util.TextOutputImpl;
+
+abstract class AbstractNode extends HasMetadata implements JsNode {
+ @Override
+ public String toString() {
+ TextOutputImpl out = new TextOutputImpl();
+ new JsToStringGenerationVisitor(out).accept(this);
+ return out.toString();
+ }
+
+ protected <T extends HasMetadata> T withMetadataFrom(T other) {
+ this.copyMetadataFrom(other);
+ //noinspection unchecked
+ return (T) this;
+ }
+}
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
import java.util.List;
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
/**
* Implemented by JavaScript objects with conditional execution.
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.common.HasSymbol;
+import org.jetbrains.kotlin.js.common.HasSymbol;
/**
* Implemented by JavaScript objects that have a name.
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
/**
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import com.intellij.util.SmartList;
import org.jetbrains.annotations.NotNull;
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
/**
* Represents the operator in a JavaScript binary operation.
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
import com.intellij.util.SmartList;
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
/**
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
/**
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
/**
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
import org.jetbrains.annotations.NotNull;
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
public final class JsConditional extends JsExpression {
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
import org.jetbrains.annotations.Nullable;
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
import org.jetbrains.annotations.NotNull;
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-package com.google.dart.compiler.backend.js.ast;
+package org.jetbrains.kotlin.js.backend.ast;
-import com.google.dart.compiler.util.AstUtil;
+import org.jetbrains.kotlin.js.util.AstUtil;
import org.jetbrains.annotations.NotNull;
/**
Oops, something went wrong.

0 comments on commit 316da83

Please sign in to comment.