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