org.jetbrains.k2js.translate.declaration
Class ClassDeclarationTranslator

java.lang.Object
  extended by org.jetbrains.k2js.translate.general.AbstractTranslator
      extended by org.jetbrains.k2js.translate.declaration.ClassDeclarationTranslator

public final class ClassDeclarationTranslator
extends AbstractTranslator

Generates a big block where are all the classes(objects representing them) are created.


Constructor Summary
ClassDeclarationTranslator(TranslationContext context)
           
 
Method Summary
 void generateDeclarations()
           
 com.google.dart.compiler.backend.js.ast.JsVars.JsVar getDeclaration()
           
 com.google.dart.compiler.backend.js.ast.JsPropertyInitializer translate(JetClassOrObject declaration)
           
 
Methods inherited from class org.jetbrains.k2js.translate.general.AbstractTranslator
bindingContext, context, program
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDeclarationTranslator

public ClassDeclarationTranslator(@NotNull
                                  TranslationContext context)
Method Detail

getDeclaration

@NotNull
public com.google.dart.compiler.backend.js.ast.JsVars.JsVar getDeclaration()

generateDeclarations

public void generateDeclarations()

translate

@NotNull
public com.google.dart.compiler.backend.js.ast.JsPropertyInitializer translate(@NotNull
                                                                                       JetClassOrObject declaration)