RegexSimpleQuantifierSyntax Class
Represents a *, +, or ? quantifier, with an optional lazy or possessive modifier.
public sealed class RegexSimpleQuantifierSyntax : RegexQuantifierSyntax- Inheritance
RegexQuantifierSyntaxRegexSimpleQuantifierSyntax
Properties
| Name | Description |
|---|---|
| MaxCount | |
| MinCount | |
| ModifierToken | |
| OperatorToken |
MaxCount
RegexSimpleQuantifierSyntax.csMinCount
RegexSimpleQuantifierSyntax.csModifierToken
Syntax.g.csOperatorToken
Syntax.g.csMethods
| Name | Description |
|---|---|
| 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.cspublic override void Accept(RegexSyntaxVisitor visitor)Parameters
visitorRegexSyntaxVisitor
No documentation is available.
Accept<TResult>(RegexSyntaxVisitor<TResult>)
Syntax.g.cspublic override TResult? Accept<TResult>(RegexSyntaxVisitor<TResult> visitor)No documentation is available.
Update(SyntaxToken, SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public RegexSimpleQuantifierSyntax Update(SyntaxToken operatorToken, SyntaxToken modifierToken)WithModifierToken(SyntaxToken)
Syntax.g.csReturns this node with modifierToken in place of its RegexSimpleQuantifierSyntax.ModifierToken.
public RegexSimpleQuantifierSyntax WithModifierToken(SyntaxToken modifierToken)WithOperatorToken(SyntaxToken)
Syntax.g.csReturns this node with operatorToken in place of its RegexSimpleQuantifierSyntax.OperatorToken.
public RegexSimpleQuantifierSyntax WithOperatorToken(SyntaxToken operatorToken)