示例#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
文件: Rule.cs 项目: sunny-hell/bmstu
 public bool hasSymbolInRight(Symbol s)
 {
     return Right.Exists(rr => rr.Sym == s.Sym);
 }