Next: , Previous: , Up: Value methods   [Contents]


17.7 Stepping through the valuator

Function: Marpa_Step_Type marpa_v_step ( Marpa_Value v)

This method “steps through” the valuator. The return value is a Marpa_Step_Type, an integer which indicates the type of step. How the application is expected to act on each step is described below. See Valuator steps by type. When the iteration through the steps is finished, marpa_v_step returns MARPA_STEP_INACTIVE.

Return value: On success, the type of the step to be performed. This will always be a non-negative number. On failure, -2.