func NewBocage(r *Recognizer, earley_set_ID EarleySetID) (*Bocage, error) { var _ret Bocage _ret.handle = C.marpa_b_new(r.handle, C.Marpa_Earley_Set_ID(earley_set_ID)) if _ret.handle == (C.Marpa_Bocage)(unsafe.Pointer(uintptr(0))) { return nil, errors.New("marpa_b_new failed") } return &_ret, nil }
func (r *Recognizer) ProgressReportStart(set_id EarleySetID) int { return int(C.marpa_r_progress_report_start(r.handle, C.Marpa_Earley_Set_ID(set_id))) }
func (r *Recognizer) Earleme(set_id EarleySetID) Earleme { return Earleme(C.marpa_r_earleme(r.handle, C.Marpa_Earley_Set_ID(set_id))) }
func (r *Recognizer) EarleySetValue(earley_set EarleySetID) int { return int(C.marpa_r_earley_set_value(r.handle, C.Marpa_Earley_Set_ID(earley_set))) }
func NewBocage(r *Recognizer, earley_set_ID EarleySetID) *Bocage { var _ret Bocage _ret.handle = C.marpa_b_new(r.handle, C.Marpa_Earley_Set_ID(earley_set_ID)) return _ret }