|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.k2js.translate.general.AbstractTranslator
org.jetbrains.k2js.translate.reference.PropertyAccessTranslator
public abstract class PropertyAccessTranslator
| Constructor Summary | |
|---|---|
protected |
PropertyAccessTranslator(TranslationContext context)
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.jetbrains.k2js.translate.general.AbstractTranslator |
|---|
bindingContext, context, program |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jetbrains.k2js.translate.reference.AccessTranslator |
|---|
getCached, translateAsGet, translateAsSet |
| Constructor Detail |
|---|
protected PropertyAccessTranslator(@NotNull
TranslationContext context)
| Method Detail |
|---|
@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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||