Next: Nulling terminals, Previous: LHS terminal methods, Up: LHS terminals [Contents][Index]
On success,
marpa_g_precompute()
sets and locks the terminal status of every symbol.
More precisely,
x
;
x
when
marpa_g_precompute()
was called
be v_before
; and
x
when
marpa_g_precompute()
returns success
be v_after
.
The effect of the successful call of
marpa_g_precompute()
will be as follows:
x
is locked when
marpa_g_precompute()
was called,
then v_after = v_before
.
x
is not locked, and x
appears on
the LHS of some rule
then v_after
is false.
x
is not locked, and x
does not appear on
the LHS of any rule
then v_after
is true.
The terminal status of all symbols is locked
after a successful call to
marpa_g_precompute()
.
See marpa_g_precompute().