Package com.oracle.truffle.api.object
Class Layout
java.lang.Object
com.oracle.truffle.api.object.Layout
- Direct Known Subclasses:
LayoutImpl
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumSet<Layout.ImplicitCast>
static final EnumSet<Layout.ImplicitCast>
static final EnumSet<Layout.ImplicitCast>
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Shape.Allocator
Create an allocator for static property creation.static Layout
static Layout
createLayout
(EnumSet<Layout.ImplicitCast> allowedImplicitCasts) static Layout
createLayout
(EnumSet<Layout.ImplicitCast> allowedImplicitCasts, NodeUtil.FieldOffsetProvider fieldOffsetProvider) abstract Shape
createShape
(ObjectType operations) abstract Shape
createShape
(ObjectType operations, Object sharedData) abstract Shape
createShape
(ObjectType operations, Object sharedData, int id) protected static LayoutFactory
abstract Class<? extends DynamicObject>
getType()
abstract DynamicObject
newInstance
(Shape shape)
-
Field Details
-
NONE
-
INT_TO_DOUBLE
-
INT_TO_LONG
-
OPTION_PREFIX
- See Also:
-
-
Constructor Details
-
Layout
public Layout()
-
-
Method Details
-
createLayout
-
createLayout
-
createLayout
public static Layout createLayout(EnumSet<Layout.ImplicitCast> allowedImplicitCasts, NodeUtil.FieldOffsetProvider fieldOffsetProvider) -
newInstance
-
getType
-
createShape
-
createShape
-
createShape
-
createAllocator
Create an allocator for static property creation. Reserves all array extension slots. -
getFactory
-