Esempio n. 1
0
func (r *Recognizer) ProgressItem(position *int, origin *EarleySetID) RuleID {
	var esid C.Marpa_Earley_Set_ID
	var pos C.int
	ret := RuleID(C.marpa_r_progress_item(r.handle, &pos, &esid))
	*origin = EarleySetID(esid)
	*position = int(pos)
	return ret
}
Esempio n. 2
0
func (r *Recognizer) ProgressItem(position *int, origin *EarleySetID) RuleID {
	return RuleID(C.marpa_r_progress_item(r.handle, C.int*(position), C.Marpa_Earley_Set_ID*(origin)))
}