Esempio n. 1
0
func (r *Recognizer) TerminalsExpected(buffer *SymbolID) int {
	var sid C.Marpa_Symbol_ID
	ret := int(C.marpa_r_terminals_expected(r.handle, &sid))
	*buffer = SymbolID(sid)
	return ret
}
Esempio n. 2
0
func (r *Recognizer) TerminalsExpected(buffer []SymbolID) int {
	return int(C.marpa_r_terminals_expected(r.handle, C.Marpa_Symbol_ID*(buffer)))
}