Exemplo n.º 1
0
 internal override T Accept <T>(RegularExpressionConverter <T> converter)
 {
     return(converter.ConvertAlternation(this));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 获取转换后的类型值
 /// </summary>
 /// <typeparam name="T">目标类型</typeparam>
 /// <param name="converter">正则转换器</param>
 /// <returns>转换后的类型值</returns>
 internal abstract T Accept <T>(RegularExpressionConverter <T> converter);
Exemplo n.º 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));
 }