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