RegexAnchorSyntax Class

Represents a zero-width assertion such as ^, $, \b, or \A.

public sealed class RegexAnchorSyntax : RegexAtomSyntax
Inheritance
RegexAtomSyntax RegexAnchorSyntax

Properties

NameDescription
AnchorKindWhich assertion this is.
AnchorToken

Which assertion this is.

public RegexAnchorKind AnchorKind { get; }

Property value

RegexAnchorKind

AnchorToken

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(RegexSyntaxVisitor)
Accept<TResult>(RegexSyntaxVisitor<TResult>)
Update(SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithAnchorToken(SyntaxToken)Returns this node with anchorToken in place of its RegexAnchorSyntax.AnchorToken.

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)

Syntax.g.cs

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

public RegexAnchorSyntax Update(SyntaxToken anchorToken)

Parameters

anchorToken SyntaxToken

Returns

RegexAnchorSyntax

WithAnchorToken(SyntaxToken)

Syntax.g.cs

Returns this node with anchorToken in place of its RegexAnchorSyntax.AnchorToken.

public RegexAnchorSyntax WithAnchorToken(SyntaxToken anchorToken)

Parameters

anchorToken SyntaxToken

Returns

RegexAnchorSyntax