org.jetbrains.k2js.translate.expression
Class FunctionTranslator
java.lang.Object
org.jetbrains.k2js.translate.general.AbstractTranslator
org.jetbrains.k2js.translate.expression.FunctionTranslator
public final class FunctionTranslator
- extends AbstractTranslator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
@NotNull
public static FunctionTranslator newInstance(@NotNull
JetDeclarationWithBody function,
@NotNull
TranslationContext context)
translateAsLocalFunction
@NotNull
public com.google.dart.compiler.backend.js.ast.JsFunction translateAsLocalFunction()
translateAsEcma5PropertyDescriptor
@NotNull
public com.google.dart.compiler.backend.js.ast.JsPropertyInitializer translateAsEcma5PropertyDescriptor()
translateAsMethod
@NotNull
public com.google.dart.compiler.backend.js.ast.JsPropertyInitializer translateAsMethod()
addParameters
public static void addParameters(java.util.List<com.google.dart.compiler.backend.js.ast.JsParameter> list,
FunctionDescriptor descriptor,
TranslationContext context)