org.jetbrains.k2js.translate.intrinsic.operation
Class EqualsIntrinsic

java.lang.Object
  extended by org.jetbrains.k2js.translate.intrinsic.operation.EqualsIntrinsic
All Implemented Interfaces:
BinaryOperationIntrinsic

public final class EqualsIntrinsic
extends java.lang.Object
implements BinaryOperationIntrinsic


Constructor Summary
EqualsIntrinsic()
           
 
Method Summary
 com.google.dart.compiler.backend.js.ast.JsExpression apply(JetBinaryExpression expression, com.google.dart.compiler.backend.js.ast.JsExpression left, com.google.dart.compiler.backend.js.ast.JsExpression right, TranslationContext context)
           
 boolean isApplicable(JetBinaryExpression expression, TranslationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualsIntrinsic

public EqualsIntrinsic()
Method Detail

isApplicable

public boolean isApplicable(@NotNull
                            JetBinaryExpression expression,
                            @NotNull
                            TranslationContext context)
Specified by:
isApplicable in interface BinaryOperationIntrinsic

apply

@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression apply(@NotNull
                                                                          JetBinaryExpression expression,
                                                                          @NotNull
                                                                          com.google.dart.compiler.backend.js.ast.JsExpression left,
                                                                          @NotNull
                                                                          com.google.dart.compiler.backend.js.ast.JsExpression right,
                                                                          @NotNull
                                                                          TranslationContext context)
Specified by:
apply in interface BinaryOperationIntrinsic