org.jetbrains.k2js.translate.declaration
Class ClassDeclarationTranslator
java.lang.Object
org.jetbrains.k2js.translate.general.AbstractTranslator
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassDeclarationTranslator
public ClassDeclarationTranslator(@NotNull
TranslationContext context)
getDeclaration
@NotNull
public com.google.dart.compiler.backend.js.ast.JsVars.JsVar getDeclaration()
generateDeclarations
public void generateDeclarations()
getQualifiedReference
@Nullable
public com.google.dart.compiler.backend.js.ast.JsNameRef getQualifiedReference(ClassDescriptor descriptor)
translate
@Nullable
public com.google.dart.compiler.backend.js.ast.JsPropertyInitializer translate(@NotNull
JetClassOrObject declaration,
TranslationContext context)