public abstract class JSLeftShiftConstantNode extends JSUnaryNode
| Modifier and Type | Field and Description |
|---|---|
protected int |
shiftValue |
operandNodeINTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
JSLeftShiftConstantNode(JavaScriptNode operand,
int shiftValue) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JavaScriptNode |
create(JavaScriptNode left,
JavaScriptNode right) |
protected void |
doBigInt(BigInt a) |
protected int |
doDouble(double a,
JSToInt32Node leftInt32Node) |
protected Object |
doGeneric(Object a,
JSToNumericNode leftToNumericNode,
JSLeftShiftConstantNode innerShiftNode) |
protected int |
doInteger(int a) |
protected Object |
doOverloaded(JSOverloadedOperatorsObject a,
JSOverloadedBinaryNode overloadedOperatorNode) |
protected int |
doSafeInteger(SafeInteger a) |
abstract int |
executeInt(Object a) |
String |
expressionToString() |
protected com.oracle.truffle.api.strings.TruffleString |
getOverloadedOperatorName() |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
protected JSLeftShiftConstantNode |
makeCopy() |
com.oracle.truffle.api.instrumentation.InstrumentableNode |
materializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
createWrapper, execute, getNodeObject, getOperandaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected JSLeftShiftConstantNode(JavaScriptNode operand, int shiftValue)
public static JavaScriptNode create(JavaScriptNode left, JavaScriptNode right)
public boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
hasTag in interface com.oracle.truffle.api.instrumentation.InstrumentableNodehasTag in class JavaScriptNodepublic com.oracle.truffle.api.instrumentation.InstrumentableNode materializeInstrumentableNodes(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
public abstract int executeInt(Object a)
protected int doInteger(int a)
protected int doSafeInteger(SafeInteger a)
protected int doDouble(double a,
JSToInt32Node leftInt32Node)
protected void doBigInt(BigInt a)
protected Object doOverloaded(JSOverloadedOperatorsObject a, JSOverloadedBinaryNode overloadedOperatorNode)
protected com.oracle.truffle.api.strings.TruffleString getOverloadedOperatorName()
protected Object doGeneric(Object a, JSToNumericNode leftToNumericNode, JSLeftShiftConstantNode innerShiftNode)
protected JSLeftShiftConstantNode makeCopy()
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNodepublic String expressionToString()
expressionToString in class JSUnaryNode