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