Esempio n. 1
0
 internal override void AppendTo(PatternBuilder builder)
 {
     if (_count2 == -1)
     {
         builder.AppendCountInternal(_count1);
     }
     else
     {
         builder.AppendCountInternal(_count1, _count2);
     }
 }
Esempio n. 2
0
            protected override void AppendQuantifierTo(PatternBuilder builder)
            {
                if (builder == null)
                {
                    throw new ArgumentNullException(nameof(builder));
                }

                if (_count2 == -1)
                {
                    builder.AppendCountInternal(_count1);
                }
                else
                {
                    builder.AppendCountInternal(_count1, _count2);
                }
            }