Class NativeTypeLibrary

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.library.Library
com.oracle.truffle.llvm.spi.NativeTypeLibrary
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class NativeTypeLibrary extends com.oracle.truffle.api.library.Library
Library for objects that want to simulate the behavior of native memory. If an object implements this interface, raw memory access to this object will simulate the layout of the given type.
  • 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
    static com.oracle.truffle.api.library.LibraryFactory<NativeTypeLibrary>
     
     
    boolean
     

    Methods inherited from class com.oracle.truffle.api.library.Library

    accepts

    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

    • NativeTypeLibrary

      public NativeTypeLibrary()
  • Method Details

    • hasNativeType

      public boolean hasNativeType(Object receiver)
    • getNativeType

      public Object getNativeType(Object receiver)
    • getFactory

      public static com.oracle.truffle.api.library.LibraryFactory<NativeTypeLibrary> getFactory()