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