Package org.rumbledb.runtime.functions
Class FunctionCoercion
java.lang.Object
org.rumbledb.runtime.functions.FunctionCoercion
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanBeFunctionCoercedTo(SequenceType sourceType, SequenceType targetType) static booleancanItemTypeBeFunctionCoercedTo(ItemType sourceItemType, ItemType targetItemType) static ItemcoerceToFunctionItem(Item item, ItemType targetItemType, RuntimeStaticContext staticContext, String exceptionMessage)
-
Method Details
-
canBeFunctionCoercedTo
-
canItemTypeBeFunctionCoercedTo
-
coerceToFunctionItem
public static Item coerceToFunctionItem(Item item, ItemType targetItemType, RuntimeStaticContext staticContext, String exceptionMessage)
-