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


19.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 (Valuator steps by type). When the iteration through the steps is finished, marpa_v_step() returns MARPA_STEP_INACTIVE.

Return value: On success, a Marpa_Step_Type, which always be a non-negative integer. On failure, -2.