Class JSToUInt16Node

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.cast.JSToUInt16Node
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class JSToUInt16Node extends JavaScriptBaseNode
Implementation of ToUInt16.
  • 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.Children
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
    doDouble(double value, com.oracle.truffle.api.profiles.InlinedBranchProfile needPositiveInfinityBranch)
     
    protected int
    doGeneric(Object value, JSToNumberNode toNumberNode)
     
    protected int
    doInt(int value)
     
    final char
     
    abstract int
     

    Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode

    copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace

    Methods inherited from class com.oracle.truffle.api.nodes.Node

    accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JSToUInt16Node

      public JSToUInt16Node()
  • Method Details

    • executeInt

      public abstract int executeInt(Object value)
    • executeChar

      public final char executeChar(Object value)
    • doInt

      protected int doInt(int value)
    • doDouble

      protected int doDouble(double value, com.oracle.truffle.api.profiles.InlinedBranchProfile needPositiveInfinityBranch)
    • doGeneric

      protected int doGeneric(Object value, JSToNumberNode toNumberNode)