示例#1
0
func (g *Grammar) SymbolIsTerminal(sym_id SymbolID) int {
	return int(C.marpa_g_symbol_is_terminal(g.handle, C.Marpa_Symbol_ID(sym_id)))
}
示例#2
0
func (g Grammar) SymbolIsTerminal(sym_id SymbolID) int {
	return int(C.marpa_g_symbol_is_terminal(g.grammar, sym_id.id))
}