Antlr4.Codegen.Model.Choice.GetAltLookaheadAsStringLists C# (CSharp) Method

GetAltLookaheadAsStringLists() public method

public GetAltLookaheadAsStringLists ( Antlr4.Runtime.Misc.IntervalSet altLookSets ) : IList
altLookSets Antlr4.Runtime.Misc.IntervalSet
return IList
        public virtual IList<string[]> GetAltLookaheadAsStringLists(IntervalSet[] altLookSets)
        {
            IList<string[]> altLook = new List<string[]>();
            foreach (IntervalSet s in altLookSets)
            {
                altLook.Add(factory.GetTarget().GetTokenTypesAsTargetLabels(factory.GetGrammar(), s.ToArray()));
            }

            return altLook;
        }