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.AllocatorCreate an allocator for static property creation.static Layoutstatic LayoutcreateLayout(EnumSet<Layout.ImplicitCast> allowedImplicitCasts) static LayoutcreateLayout(EnumSet<Layout.ImplicitCast> allowedImplicitCasts, NodeUtil.FieldOffsetProvider fieldOffsetProvider) abstract ShapecreateShape(ObjectType operations) abstract ShapecreateShape(ObjectType operations, Object sharedData) abstract ShapecreateShape(ObjectType operations, Object sharedData, int id) protected static LayoutFactoryabstract Class<? extends DynamicObject>getType()abstract DynamicObjectnewInstance(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
-