AppendMaybe() public method

Appends a quantifier that matches previous element zero or one time.
public AppendMaybe ( ) : void
return void
 internal override void AppendTo(PatternBuilder builder)
 {
     builder.AppendMaybe();
 }
            protected override void AppendQuantifierTo(PatternBuilder builder)
            {
                if (builder == null)
                    throw new ArgumentNullException(nameof(builder));

                builder.AppendMaybe();
            }