public Grammar(GrammarElement rootElement, GrammarIgnoreDelegate ignoreDelegate) { RootElement = rootElement ?? throw new ArgumentNullException(nameof(rootElement)); IgnoreDelegate = ignoreDelegate ?? throw new ArgumentNullException(nameof(ignoreDelegate)); }
public Grammar(GrammarElement rootElement) : this(rootElement, _neverIgnore) { }