Class RecurValue


public class RecurValue extends ATrampoline
Class representing a function return value. Contains argument values for each parameter to be substituted in the surrounding function / loop
  • Method Details

    • wrap

      public static RecurValue wrap(ACell... values)
      Wraps an object array as a RecurValue
      Parameters:
      values - Values to recur with
      Returns:
      new RecurValue
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCode

      public ACell getCode()
      Description copied from class: AExceptional
      Returns the Exception code for this exceptional value
      Specified by:
      getCode in class AExceptional
      Returns:
      Exception Code
    • getMessage

      public ACell getMessage()
      Description copied from class: AExceptional
      Gets the message for an exceptional value. May or may not be meaningful.
      Specified by:
      getMessage in class AExceptional
      Returns:
      Exception Message