Пример #1
0
 public bool isDistinguishedSymbol(Symbol s)
 {
     return (s is Nonterminal && s.Sym == DistinguishedSymbol.Sym);
 }
Пример #2
0
 public bool isVanishingSymbol(Symbol s)
 {
     return _vanishingSymbols.Exists(vs => vs.Sym == s.Sym);
 }
Пример #3
0
 public bool hasSymbolInRight(Symbol s)
 {
     return Right.Exists(rr => rr.Sym == s.Sym);
 }