예제 #1
0
 public static Rule ParentBlock(Rule rule)
 {
     return(CharToken('(') + rule + WS + CharToken(')'));
 }
예제 #2
0
 public static Rule CommaUnlimited(Rule rule)
 {
     return(Opt(rule + (ZeroOrMore(CharToken(',') + rule) + Opt(CharToken(',')))));
 }