|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jetbrains.kotlin.js.translate.general.AbstractTranslator
org.jetbrains.kotlin.js.translate.declaration.ClassTranslator
public final class ClassTranslator
Generates a definition of a single class.
Method Summary | |
---|---|
static JsInvocation |
generateClassCreation(JetClassOrObject classDeclaration,
TranslationContext context)
|
static JsExpression |
generateObjectLiteral(JetObjectDeclaration objectDeclaration,
TranslationContext context)
|
JsInvocation |
translate()
|
JsInvocation |
translate(TranslationContext declarationContext)
|
Methods inherited from class org.jetbrains.kotlin.js.translate.general.AbstractTranslator |
---|
bindingContext, context, program |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@NotNull public static JsInvocation generateClassCreation(@NotNull JetClassOrObject classDeclaration, @NotNull TranslationContext context)
@NotNull public static JsExpression generateObjectLiteral(@NotNull JetObjectDeclaration objectDeclaration, @NotNull TranslationContext context)
@NotNull public JsInvocation translate()
@NotNull public JsInvocation translate(@NotNull TranslationContext declarationContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |