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 -
Method Summary
Modifier and TypeMethodDescriptionstatic com.oracle.truffle.api.library.LibraryFactory<NativeTypeLibrary> getNativeType(Object receiver) booleanhasNativeType(Object receiver) Methods inherited from class com.oracle.truffle.api.library.Library
acceptsMethods 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
-
Constructor Details
-
NativeTypeLibrary
public NativeTypeLibrary()
-
-
Method Details
-
hasNativeType
-
getNativeType
-
getFactory
-