public static BnfiTermCollection <List <TElementType>, TElementType> StarList <TElementType>(this BnfTerm bnfTermElement, BnfTerm delimiter = null) { return(BnfiTermCollection.StarList <TElementType>(bnfTermElement, delimiter)); }
public static BnfiTermCollection <TCollectionType, TElementType> StarList <TCollectionType, TElementType>(this BnfTerm bnfTermElement, BnfTerm delimiter = null) where TCollectionType : ICollection <TElementType>, new() { return(BnfiTermCollection.StarList <TCollectionType, TElementType>(bnfTermElement, delimiter)); }