org.jetbrains.k2js.translate.declaration
Class ClassTranslator
java.lang.Object
org.jetbrains.k2js.translate.general.AbstractTranslator
org.jetbrains.k2js.translate.declaration.ClassTranslator
public final class ClassTranslator
- extends AbstractTranslator
Generates a definition of a single class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generateClassCreation
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsExpression generateClassCreation(@NotNull
JetClassOrObject classDeclaration,
@NotNull
TranslationContext context)
generateClassCreation
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsExpression generateClassCreation(@NotNull
JetClassOrObject classDeclaration,
@NotNull
ClassDescriptor descriptor,
@NotNull
TranslationContext context)
generateObjectLiteral
@NotNull
public static com.google.dart.compiler.backend.js.ast.JsExpression generateObjectLiteral(@NotNull
JetObjectLiteralExpression objectLiteralExpression,
@NotNull
TranslationContext context)
translate
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression translate()
translate
@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull
TranslationContext declarationContext)
translate
public void translate(@NotNull
com.google.dart.compiler.backend.js.ast.JsInvocation createInvocation)