예제 #1
0
 internal static Matcher <T> OneOrMore(Matcher <T> matcher)
 {
     // m+ is the same as (m m*)
     return(Sequence(matcher, Repeat(matcher)));
 }
예제 #2
0
 public RepeatMatcher(Matcher <T> matcher)
 {
     _matcher = matcher;
 }
예제 #3
0
 internal static Matcher <T> Repeat(Matcher <T> matcher)
 {
     return(new RepeatMatcher(matcher));
 }