Exemple #1
0
 public ReplaceRule(ParseBlock Block, List <Operator <T> > Operators, Dictionary <string, Generator <T> > Generators)
 {
     string[] def = Block.String.Split(new string[] { "=>" }, StringSplitOptions.None);
     _Match       = new MatchRule <T>(def[0], Operators, Generators);
     _Replacement = new SingleGenerator <T>(def[1], Operators, Generators);
 }