Example #1
0
func (g *Grammar) NewSymbol() SymbolID {
	return SymbolID(C.marpa_g_symbol_new(g.handle))
}
Example #2
0
func (g Grammar) SymbolNew() SymbolID {
	var symbol SymbolID
	symbol.id = C.marpa_g_symbol_new(g.grammar)
	return symbol
}