Class JSBitwiseXorConstantNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class JSBitwiseXorConstantNode extends JSUnaryNode
  • Field Details

    • isInt

      protected final boolean isInt
    • rightIntValue

      protected final int rightIntValue
    • rightBigIntValue

      protected final BigInt rightBigIntValue
  • Constructor Details

    • JSBitwiseXorConstantNode

      protected JSBitwiseXorConstantNode(JavaScriptNode left, Object rightValue)
  • Method Details

    • create

      public static JavaScriptNode create(JavaScriptNode left, Object rightValue)
    • hasTag

      public boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
      Specified by:
      hasTag in interface com.oracle.truffle.api.instrumentation.InstrumentableNode
      Overrides:
      hasTag in class JavaScriptNode
    • materializeInstrumentableNodes

      public com.oracle.truffle.api.instrumentation.InstrumentableNode materializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
    • executeObject

      public abstract Object executeObject(Object a)
    • doInteger

      protected int doInteger(int a)
    • doSafeInteger

      protected int doSafeInteger(SafeInteger a)
    • doDouble

      protected int doDouble(double a, JSToInt32Node leftInt32)
    • doIntegerThrows

      protected void doIntegerThrows(int a)
    • doDoubleThrows

      protected void doDoubleThrows(double a)
    • doBigIntThrows

      protected void doBigIntThrows(BigInt a)
    • doBigInt

      protected BigInt doBigInt(BigInt a)
    • doOverloaded

      protected Object doOverloaded(JSOverloadedOperatorsObject a, JSOverloadedBinaryNode overloadedOperatorNode)
    • getOverloadedOperatorName

      protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName()
    • doGeneric

      protected Object doGeneric(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt, JavaScriptNode innerXorNode)
    • doGenericBigIntCase

      protected BigInt doGenericBigIntCase(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt)
    • copyUninitialized

      protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
      Overrides:
      copyUninitialized in class JavaScriptNode
    • expressionToString

      public String expressionToString()
      Overrides:
      expressionToString in class JSUnaryNode