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

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

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


Constructor Summary
CompareToInstrinsic()
           
 
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

CompareToInstrinsic

public CompareToInstrinsic()
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