CFGLib.Parsers.Earley.StateSet.StateSet C# (CSharp) Method

StateSet() public method

public StateSet ( Nonterminal predictionSeedNonterminal = null ) : System
predictionSeedNonterminal Nonterminal
return System
		public StateSet(Nonterminal predictionSeedNonterminal = null) {
			_items = new List<Item>();
			_seenItems = new Dictionary<Item, Item>(new ItemComparer());
			_nonterminalsPredicted = new HashSet<Nonterminal>();
			if (predictionSeedNonterminal != null) {
				_nonterminalsPredicted.Add(predictionSeedNonterminal);
			}
			_magicItems = new List<Item>();
		}