public final class InitializerUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static com.google.dart.compiler.backend.js.ast.JsStatement |
create(Named named,
com.google.dart.compiler.backend.js.ast.JsExpression value,
TranslationContext context) |
static com.google.dart.compiler.backend.js.ast.JsPropertyInitializer |
createPropertyInitializer(Named named,
com.google.dart.compiler.backend.js.ast.JsExpression value,
TranslationContext context) |
static void |
generate(JetObjectDeclaration declaration,
java.util.List<com.google.dart.compiler.backend.js.ast.JsStatement> initializers,
java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer> definitions,
TranslationContext context) |
static com.google.dart.compiler.backend.js.ast.JsStatement |
generateInitializerForProperty(TranslationContext context,
PropertyDescriptor descriptor,
com.google.dart.compiler.backend.js.ast.JsExpression value) |
static com.google.dart.compiler.backend.js.ast.JsExpression |
toDataDescriptor(com.google.dart.compiler.backend.js.ast.JsExpression value,
TranslationContext context) |
@NotNull public static com.google.dart.compiler.backend.js.ast.JsStatement generateInitializerForProperty(@NotNull TranslationContext context, @NotNull PropertyDescriptor descriptor, @NotNull com.google.dart.compiler.backend.js.ast.JsExpression value)
public static void generate(@NotNull JetObjectDeclaration declaration, @NotNull java.util.List<com.google.dart.compiler.backend.js.ast.JsStatement> initializers, @Nullable java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer> definitions, @NotNull TranslationContext context)
public static com.google.dart.compiler.backend.js.ast.JsStatement create(Named named, com.google.dart.compiler.backend.js.ast.JsExpression value, TranslationContext context)
public static com.google.dart.compiler.backend.js.ast.JsExpression toDataDescriptor(com.google.dart.compiler.backend.js.ast.JsExpression value, TranslationContext context)
public static com.google.dart.compiler.backend.js.ast.JsPropertyInitializer createPropertyInitializer(Named named, com.google.dart.compiler.backend.js.ast.JsExpression value, TranslationContext context)