Package convex.core.lang.impl
Class RecurValue
java.lang.Object
convex.core.lang.impl.AExceptional
convex.core.lang.impl.AReturn
convex.core.lang.impl.ATrampoline
convex.core.lang.impl.RecurValue
Class representing a function return value.
Contains argument values for each parameter to be substituted in the
surrounding function / loop
-
Field Summary
Fields inherited from class convex.core.lang.impl.ATrampoline
args
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Returns the Exception code for this exceptional valueGets the message for an exceptional value.toString()
static RecurValue
Wraps an object array as a RecurValueMethods inherited from class convex.core.lang.impl.ATrampoline
arity, getValue, getValues
-
Method Details
-
wrap
Wraps an object array as a RecurValue- Parameters:
values
- Values to recur with- Returns:
- new RecurValue
-
toString
-
getCode
Description copied from class:AExceptional
Returns the Exception code for this exceptional value- Specified by:
getCode
in classAExceptional
- Returns:
- Exception Code
-
getMessage
Description copied from class:AExceptional
Gets the message for an exceptional value. May or may not be meaningful.- Specified by:
getMessage
in classAExceptional
- Returns:
- Exception Message
-