Class JSBitwiseAndConstantNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.JavaScriptNode
com.oracle.truffle.js.nodes.unary.JSUnaryNode
com.oracle.truffle.js.nodes.binary.JSBitwiseAndConstantNode
- All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode,com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenNested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final BigIntprotected final intFields inherited from class com.oracle.truffle.js.nodes.unary.JSUnaryNode
operandNodeFields inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
INTERMEDIATE_VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSBitwiseAndConstantNode(JavaScriptNode left, Object rightValue) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptNodecopyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) static JSBitwiseAndConstantNodecreate(JavaScriptNode left, Object right) protected BigIntprotected voidprotected intdoDouble(double a, JSToInt32Node leftInt32) protected voiddoDoubleThrows(double a) protected ObjectdoGeneric(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt, JavaScriptNode innerAndNode) protected BigIntdoGenericBigIntCase(Object a, JSToNumericNode toNumeric, com.oracle.truffle.api.profiles.InlinedConditionProfile profileIsBigInt) protected intdoInteger(int a) protected voiddoIntegerThrows(int a) protected ObjectdoOverloaded(JSOverloadedOperatorsObject a, JSOverloadedBinaryNode overloadedOperatorNode) protected intabstract Objectprotected com.oracle.truffle.api.strings.TruffleStringbooleancom.oracle.truffle.api.instrumentation.InstrumentableNodematerializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) Methods inherited from class com.oracle.truffle.js.nodes.unary.JSUnaryNode
getNodeObject, getOperandMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptNode
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperatorsMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode
findNearestNodeAt, findNearestNodeAt
-
Field Details
-
isInt
protected final boolean isInt -
rightIntValue
protected final int rightIntValue -
rightBigIntValue
-
-
Constructor Details
-
JSBitwiseAndConstantNode
-
-
Method Details
-
create
-
hasTag
- Specified by:
hasTagin interfacecom.oracle.truffle.api.instrumentation.InstrumentableNode- Overrides:
hasTagin classJavaScriptNode
-
materializeInstrumentableNodes
-
executeObject
-
doInteger
protected int doInteger(int a) -
doSafeInteger
-
doDouble
-
doIntegerThrows
protected void doIntegerThrows(int a) -
doDoubleThrows
protected void doDoubleThrows(double a) -
doBigIntThrows
-
doBigInt
-
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 innerAndNode) -
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:
copyUninitializedin classJavaScriptNode
-
expressionToString
- Overrides:
expressionToStringin classJSUnaryNode
-