Esempio n. 1
0
 public Grammar(GrammarElement rootElement, GrammarIgnoreDelegate ignoreDelegate)
 {
     RootElement    = rootElement ?? throw new ArgumentNullException(nameof(rootElement));
     IgnoreDelegate = ignoreDelegate ?? throw new ArgumentNullException(nameof(ignoreDelegate));
 }
Esempio n. 2
0
 public Grammar(GrammarElement rootElement)
     : this(rootElement, _neverIgnore)
 {
 }