Пример #1
0
 /// <summary>
 /// Matcher equivalent to (m_1|m_2|...|m_n)
 /// </summary>
 public static Matcher <T> Choice <T>(params Matcher <T>[] matchers)
 => Matcher <T> .Choice(matchers);
Пример #2
0
 /// <summary>
 /// Matcher equivalent to (m_1|m_2)
 /// </summary>
 public static Matcher <T> Choice <T>(Matcher <T> matcher1, Matcher <T> matcher2)
 {
     return(Matcher <T> .Choice(matcher1, matcher2));
 }
Пример #3
0
 /// <summary>
 /// Matcher equivalent to (m_1|m_2|...|m_n)
 /// </summary>
 public static Matcher <T> Choice <T>(params Matcher <T>[] matchers)
 {
     return(Matcher <T> .Choice(matchers));
 }