Package com.oracle.truffle.api.object
Interface BooleanLocation
-
- All Superinterfaces:
BaseLocation,TypedLocation
- All Known Implementing Classes:
BasicLocations.BooleanLocationDecorator
public interface BooleanLocation extends TypedLocation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBoolean(DynamicObject store, boolean condition)booleangetBoolean(DynamicObject store, Shape shape)java.lang.Class<java.lang.Boolean>getType()The type of this location.voidsetBoolean(DynamicObject store, boolean value)voidsetBoolean(DynamicObject store, boolean value, Shape shape)voidsetBoolean(DynamicObject store, boolean value, Shape oldShape, Shape newShape)
-
-
-
Method Detail
-
getBoolean
boolean getBoolean(DynamicObject store, Shape shape)
- See Also:
BaseLocation.get(DynamicObject, Shape)
-
getBoolean
boolean getBoolean(DynamicObject store, boolean condition)
- See Also:
BaseLocation.get(DynamicObject, boolean)
-
setBoolean
void setBoolean(DynamicObject store, boolean value) throws FinalLocationException
- Throws:
FinalLocationException- See Also:
BaseLocation.set(DynamicObject, Object)
-
setBoolean
void setBoolean(DynamicObject store, boolean value, Shape shape) throws FinalLocationException
- Throws:
FinalLocationException- See Also:
BaseLocation.set(DynamicObject, Object, Shape)
-
setBoolean
void setBoolean(DynamicObject store, boolean value, Shape oldShape, Shape newShape)
-
getType
java.lang.Class<java.lang.Boolean> getType()
Description copied from interface:TypedLocationThe type of this location.- Specified by:
getTypein interfaceTypedLocation
-
-