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 RecurValueWraps 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:AExceptionalReturns the Exception code for this exceptional value- Specified by:
getCodein classAExceptional- Returns:
- Exception Code
-
getMessage
Description copied from class:AExceptionalGets the message for an exceptional value. May or may not be meaningful.- Specified by:
getMessagein classAExceptional- Returns:
- Exception Message
-