Class SLGetSizeBuiltin

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.sl.builtins.SLBuiltinNode
com.oracle.truffle.sl.builtins.SLGetSizeBuiltin
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class SLGetSizeBuiltin extends SLBuiltinNode
Built-in function that queries the size property of a foreign object. See Messages.GET_SIZE.
  • 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
    getSize(Object obj, com.oracle.truffle.api.interop.InteropLibrary arrays)
     

    Methods inherited from class com.oracle.truffle.sl.builtins.SLBuiltinNode

    execute

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

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

    Methods inherited from class java.lang.Object

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

    • SLGetSizeBuiltin

      public SLGetSizeBuiltin()
  • Method Details

    • getSize

      public Object getSize(Object obj, com.oracle.truffle.api.interop.InteropLibrary arrays)