RegexCollatingElementSyntax Class

Represents a POSIX collating element, [.ch.], or an equivalence class, [=a=].

public sealed class RegexCollatingElementSyntax : RegexSyntaxNode
Inheritance
RegexSyntaxNode RegexCollatingElementSyntax

Properties

NameDescription
EndToken
StartToken
TextToken
ValueThe text between the delimiters.

EndToken

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

Property value

SyntaxToken

No documentation is available.

StartToken

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

Property value

SyntaxToken

No documentation is available.

TextToken

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

Property value

SyntaxToken

No documentation is available.

The text between the delimiters.

public string Value { get; }

Property value

string

Methods

NameDescription
Accept(RegexSyntaxVisitor)
Accept<TResult>(RegexSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxToken, SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithEndToken(SyntaxToken)Returns this node with endToken in place of its RegexCollatingElementSyntax.EndToken.
WithStartToken(SyntaxToken)Returns this node with startToken in place of its RegexCollatingElementSyntax.StartToken.
WithTextToken(SyntaxToken)Returns this node with textToken in place of its RegexCollatingElementSyntax.TextToken.

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, SyntaxToken)

Syntax.g.cs

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

public RegexCollatingElementSyntax Update(SyntaxToken startToken, SyntaxToken textToken, SyntaxToken endToken)

Parameters

startToken SyntaxToken
textToken SyntaxToken
endToken SyntaxToken

Returns

RegexCollatingElementSyntax

WithEndToken(SyntaxToken)

Syntax.g.cs

Returns this node with endToken in place of its RegexCollatingElementSyntax.EndToken.

public RegexCollatingElementSyntax WithEndToken(SyntaxToken endToken)

Parameters

endToken SyntaxToken

Returns

RegexCollatingElementSyntax

WithStartToken(SyntaxToken)

Syntax.g.cs

Returns this node with startToken in place of its RegexCollatingElementSyntax.StartToken.

public RegexCollatingElementSyntax WithStartToken(SyntaxToken startToken)

Parameters

startToken SyntaxToken

Returns

RegexCollatingElementSyntax

WithTextToken(SyntaxToken)

Syntax.g.cs

Returns this node with textToken in place of its RegexCollatingElementSyntax.TextToken.

public RegexCollatingElementSyntax WithTextToken(SyntaxToken textToken)

Parameters

textToken SyntaxToken

Returns

RegexCollatingElementSyntax