org.jetbrains.k2js.translate.reference
Class NativePropertyAccessTranslator

java.lang.Object
  extended by org.jetbrains.k2js.translate.general.AbstractTranslator
      extended by org.jetbrains.k2js.translate.reference.PropertyAccessTranslator
          extended by org.jetbrains.k2js.translate.reference.NativePropertyAccessTranslator
All Implemented Interfaces:
AccessTranslator

public final class NativePropertyAccessTranslator
extends PropertyAccessTranslator

For native apis that use .property notation for access.


Method Summary
 CachedAccessTranslator getCached()
           
 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 receiver)
           
 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 receiver, com.google.dart.compiler.backend.js.ast.JsExpression setTo)
           
 
Methods inherited from class org.jetbrains.k2js.translate.reference.PropertyAccessTranslator
canBePropertyAccess, canBePropertyGetterCall, getCallType, newInstance, setCallType, translateAsPropertyGetterCall
 
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
 

Method Detail

translateAsGet

@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression translateAsGet()

translateAsGet

@NotNull
protected com.google.dart.compiler.backend.js.ast.JsExpression translateAsGet(@Nullable
                                                                                      com.google.dart.compiler.backend.js.ast.JsExpression receiver)
Specified by:
translateAsGet in class PropertyAccessTranslator

translateAsSet

@NotNull
protected 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)
Specified by:
translateAsSet in class PropertyAccessTranslator

translateAsSet

@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression translateAsSet(@NotNull
                                                                                   com.google.dart.compiler.backend.js.ast.JsExpression setTo)

getCached

@NotNull
public CachedAccessTranslator getCached()