Table of Contents

Class Quantifier

Namespace
Utils.Parser.Model
Assembly
Utils.Parser.dll

A quantified repetition: , +, ?, or {n,m}. Greedy is true by default; setting it to false enables non-greedy matching (the ??, ?, +? suffixes).

public record Quantifier : RuleContent, IEquatable<RuleContent>, IEquatable<Quantifier>
Inheritance
Quantifier
Implements
Inherited Members
Extension Methods

Constructors

Quantifier(RuleContent, int, int?, bool)

A quantified repetition: , +, ?, or {n,m}. Greedy is true by default; setting it to false enables non-greedy matching (the ??, ?, +? suffixes).

public Quantifier(RuleContent Inner, int Min, int? Max, bool Greedy = true)

Parameters

Inner RuleContent
Min int
Max int?
Greedy bool

Properties

Greedy

public bool Greedy { get; init; }

Property Value

bool

Inner

public RuleContent Inner { get; init; }

Property Value

RuleContent

Max

public int? Max { get; init; }

Property Value

int?

Min

public int Min { get; init; }

Property Value

int