RegexSimpleQuantifierSyntax Class

Represents a *, +, or ? quantifier, with an optional lazy or possessive modifier.

public sealed class RegexSimpleQuantifierSyntax : RegexQuantifierSyntax
Inheritance
RegexQuantifierSyntax RegexSimpleQuantifierSyntax

Properties

NameDescription
MaxCount
MinCount
ModifierToken
OperatorToken
public override int? MaxCount { get; }

Property value

int?

No documentation is available.

public override int MinCount { get; }

Property value

int

No documentation is available.

ModifierToken

Syntax.g.cs
public override SyntaxToken ModifierToken { get; }

Property value

SyntaxToken

No documentation is available.

OperatorToken

Syntax.g.cs
public SyntaxToken OperatorToken { get; }

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(RegexSyntaxVisitor)
Accept<TResult>(RegexSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithModifierToken(SyntaxToken)Returns this node with modifierToken in place of its RegexSimpleQuantifierSyntax.ModifierToken.
WithOperatorToken(SyntaxToken)Returns this node with operatorToken in place of its RegexSimpleQuantifierSyntax.OperatorToken.

Accept overloads

Accept(RegexSyntaxVisitor)

Syntax.g.cs
public override void Accept(RegexSyntaxVisitor visitor)
Parameters
visitor RegexSyntaxVisitor

No documentation is available.

Accept<TResult>(RegexSyntaxVisitor<TResult>)

Syntax.g.cs
public override TResult? Accept<TResult>(RegexSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor RegexSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.

Update(SyntaxToken, SyntaxToken)

Syntax.g.cs

Returns this node with the given parts, or itself when nothing changed.

public RegexSimpleQuantifierSyntax Update(SyntaxToken operatorToken, SyntaxToken modifierToken)

Parameters

operatorToken SyntaxToken
modifierToken SyntaxToken

Returns

RegexSimpleQuantifierSyntax

WithModifierToken(SyntaxToken)

Syntax.g.cs

Returns this node with modifierToken in place of its RegexSimpleQuantifierSyntax.ModifierToken.

public RegexSimpleQuantifierSyntax WithModifierToken(SyntaxToken modifierToken)

Parameters

modifierToken SyntaxToken

Returns

RegexSimpleQuantifierSyntax

WithOperatorToken(SyntaxToken)

Syntax.g.cs

Returns this node with operatorToken in place of its RegexSimpleQuantifierSyntax.OperatorToken.

public RegexSimpleQuantifierSyntax WithOperatorToken(SyntaxToken operatorToken)

Parameters

operatorToken SyntaxToken

Returns

RegexSimpleQuantifierSyntax