C# Class Pegasus.Expressions.Quantifier

Represents the rules for repeating an expression.
Show file Open project: otac0n/Pegasus Class Usage Examples

Public Methods

Method Description
Quantifier ( Cursor start, Cursor end, int min, int max = null, Expression delimiter = null ) : System

Initializes a new instance of the Quantifier class.

Method Details

Quantifier() public method

Initializes a new instance of the Quantifier class.
public Quantifier ( Cursor start, Cursor end, int min, int max = null, Expression delimiter = null ) : System
start Cursor The cursor just before the .
end Cursor The cursor just after the .
min int The minimum number of times to match.
max int The maximum number of times to match, if limited; or null, otherwise.
delimiter Expression The expression to use as a delimiter.
return System