예제 #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
파일: Matcher.cs 프로젝트: khm1600/CJing
 /// <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));
 }