public class ArrayAccessTranslator extends AbstractTranslator implements AccessTranslator
Modifier | Constructor and Description |
---|---|
protected |
ArrayAccessTranslator(JetArrayAccessExpression expression,
TranslationContext context) |
Modifier and Type | Method and Description |
---|---|
CachedAccessTranslator |
getCached() |
protected com.google.dart.compiler.backend.js.ast.JsExpression |
translateArrayExpression() |
com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsGet() |
protected com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsGet(com.google.dart.compiler.backend.js.ast.JsExpression arrayExpression,
java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> indexExpression) |
com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsSet(com.google.dart.compiler.backend.js.ast.JsExpression setTo) |
protected com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsSet(com.google.dart.compiler.backend.js.ast.JsExpression arrayExpression,
java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> indexExpressions,
com.google.dart.compiler.backend.js.ast.JsExpression toSetTo) |
protected java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> |
translateIndexExpressions() |
bindingContext, context, program
protected ArrayAccessTranslator(@NotNull JetArrayAccessExpression expression, @NotNull TranslationContext context)
@NotNull public com.google.dart.compiler.backend.js.ast.JsExpression translateAsGet()
translateAsGet
in interface AccessTranslator
@NotNull protected com.google.dart.compiler.backend.js.ast.JsExpression translateAsGet(@NotNull com.google.dart.compiler.backend.js.ast.JsExpression arrayExpression, @NotNull java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> indexExpression)
@NotNull public com.google.dart.compiler.backend.js.ast.JsExpression translateAsSet(@NotNull com.google.dart.compiler.backend.js.ast.JsExpression setTo)
translateAsSet
in interface AccessTranslator
@NotNull protected com.google.dart.compiler.backend.js.ast.JsExpression translateAsSet(@NotNull com.google.dart.compiler.backend.js.ast.JsExpression arrayExpression, @NotNull java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> indexExpressions, @NotNull com.google.dart.compiler.backend.js.ast.JsExpression toSetTo)
@NotNull protected java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> translateIndexExpressions()
@NotNull protected com.google.dart.compiler.backend.js.ast.JsExpression translateArrayExpression()
@NotNull public CachedAccessTranslator getCached()
getCached
in interface AccessTranslator