Exemple #1
0
 public static Rule operator |(Rule r1, Rule r2)
 {
     return(Grammar.Choice(r1, r2));
 }
Exemple #2
0
 public static Rule operator +(Rule r1, Rule r2)
 {
     return(Grammar.Seq(r1, r2));
 }