Module xl.compiler

Class Equals

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, TypeId, UserFields, XObject, Map, ExpressionFactory, ValueObserver, Serializable, Cloneable

public class Equals extends Comparison
See Also:
  • Constructor Details

    • Equals

      public Equals()
  • Method Details

    • getSupportedTypes

      public int getSupportedTypes()
      Specified by:
      getSupportedTypes in class Comparison
    • evaluateBooleanImpl

      protected boolean evaluateBooleanImpl(VMXState vm)
      Overrides:
      evaluateBooleanImpl in class Expression
    • getPromotedType

      public int getPromotedType(Expression expr1, Expression expr2)
      Description copied from class: Expression
      Determines the type id (see TypeId) of the binarily promoted type of the operands expr1 and expr2 (binary promotion is defined by the Java Language Specification, it includes unboxing).
      Overrides:
      getPromotedType in class Expression
      Parameters:
      expr1 - first operand
      expr2 - second operand
      Returns:
      type id of promoted type
    • writeConditional

      public int writeConditional(BytecodeWriter writer, org.objectweb.asm.Label falseLabel, org.objectweb.asm.Label trueLabel)
      Overrides:
      writeConditional in class Expression