Previous: Bocage reference counting, Up: Bocage methods [Contents][Index]
On success, returns an ambiguity metric. If the parse is unambiguous, the metric is 1. If the parse is ambiguous, the metric is 2 or greater, and is otherwise unspecified. See Better defined ambiguity metric.
Return value: On success, the ambiguity metric, which is always non-negative. On hard failure, -2.
Return value On success, a non-negative integer: 1 or greater if the bocage is for a null parse, and 0 if the bocage is not for a null parse. On hard failure, -2.