public abstract class PropertyAccessTranslator extends AbstractTranslator implements AccessTranslator
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyAccessTranslator(TranslationContext context) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canBePropertyAccess(JetExpression expression,
TranslationContext context) |
static boolean |
canBePropertyGetterCall(JetExpression expression,
TranslationContext context) |
protected CallType |
getCallType() |
static PropertyAccessTranslator |
newInstance(JetSimpleNameExpression expression,
com.google.dart.compiler.backend.js.ast.JsExpression qualifier,
CallType callType,
TranslationContext context) |
void |
setCallType(CallType callType) |
protected abstract com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsGet(com.google.dart.compiler.backend.js.ast.JsExpression receiver) |
static com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsPropertyGetterCall(JetSimpleNameExpression expression,
com.google.dart.compiler.backend.js.ast.JsExpression qualifier,
CallType callType,
TranslationContext context) |
protected abstract com.google.dart.compiler.backend.js.ast.JsExpression |
translateAsSet(com.google.dart.compiler.backend.js.ast.JsExpression receiver,
com.google.dart.compiler.backend.js.ast.JsExpression setTo) |
bindingContext, context, programclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCached, translateAsGet, translateAsSetprotected PropertyAccessTranslator(@NotNull TranslationContext context)
@NotNull public static PropertyAccessTranslator newInstance(@NotNull JetSimpleNameExpression expression, @Nullable com.google.dart.compiler.backend.js.ast.JsExpression qualifier, @NotNull CallType callType, @NotNull TranslationContext context)
@NotNull public static com.google.dart.compiler.backend.js.ast.JsExpression translateAsPropertyGetterCall(@NotNull JetSimpleNameExpression expression, @Nullable com.google.dart.compiler.backend.js.ast.JsExpression qualifier, @NotNull CallType callType, @NotNull TranslationContext context)
public static boolean canBePropertyGetterCall(@NotNull JetExpression expression, @NotNull TranslationContext context)
public static boolean canBePropertyAccess(@NotNull JetExpression expression, @NotNull TranslationContext context)
public void setCallType(@NotNull CallType callType)
@NotNull protected CallType getCallType()
@NotNull protected abstract com.google.dart.compiler.backend.js.ast.JsExpression translateAsGet(@Nullable com.google.dart.compiler.backend.js.ast.JsExpression receiver)
@NotNull protected abstract com.google.dart.compiler.backend.js.ast.JsExpression translateAsSet(@Nullable com.google.dart.compiler.backend.js.ast.JsExpression receiver, @NotNull com.google.dart.compiler.backend.js.ast.JsExpression setTo)