Class GetNumberOptionNode

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

public abstract class GetNumberOptionNode extends JavaScriptBaseNode
  • 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
    Modifier
    Constructor
    Description
    protected
    GetNumberOptionNode(JSContext context, com.oracle.truffle.api.strings.TruffleString property)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(JSContext context, com.oracle.truffle.api.strings.TruffleString property)
     
    abstract int
    executeInt(Object options, int minimum, int maximum, int fallback)
     
    int
    getOption(Object options, int minimum, int maximum, int fallback)
     

    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, reportReplace, toString

    Methods inherited from class java.lang.Object

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

    • GetNumberOptionNode

      protected GetNumberOptionNode(JSContext context, com.oracle.truffle.api.strings.TruffleString property)
  • Method Details

    • executeInt

      public abstract int executeInt(Object options, int minimum, int maximum, int fallback)
    • create

      public static GetNumberOptionNode create(JSContext context, com.oracle.truffle.api.strings.TruffleString property)
    • getOption

      public int getOption(Object options, int minimum, int maximum, int fallback)