public static GotoTable From(GotoTableDefinition definition) => new GotoTable(definition.ToDictionary( @goto => new StateIndexAndLabel(@goto.From, @goto.Symbol.Value), @goto => @goto.To));
public static string ToString(GotoTableDefinition @goto) => $"GOTO{Environment.NewLine}{ToString((TransitionTable<int, NonTerminal, int>)@goto)}";