예제 #1
0
 internal override T Accept <T>(RegularExpressionConverter <T> converter)
 {
     return(converter.ConvertAlternation(this));
 }
예제 #2
0
 /// <summary>
 /// 获取转换后的类型值
 /// </summary>
 /// <typeparam name="T">目标类型</typeparam>
 /// <param name="converter">正则转换器</param>
 /// <returns>转换后的类型值</returns>
 internal abstract T Accept <T>(RegularExpressionConverter <T> converter);
예제 #3
0
 internal override T Accept <T>(RegularExpressionConverter <T> converter)
 {
     return(converter.ConvertKleeneStar(this));
 }
 internal override T Accept <T>(RegularExpressionConverter <T> converter)
 {
     return(converter.ConvertStringLiteral(this));
 }