PowerShellHashLiteralSyntax Class

public sealed class PowerShellHashLiteralSyntax : ShellExpressionSyntax

No documentation is available.

Inheritance
ShellExpressionSyntax PowerShellHashLiteralSyntax

Properties

NameDescription
CloseBraceToken
Entries
OpenToken

CloseBraceToken

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

Property value

SyntaxToken

No documentation is available.

public SyntaxList<PowerShellHashEntrySyntax> Entries { get; }

No documentation is available.

OpenToken

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxList<PowerShellHashEntrySyntax>, SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithCloseBraceToken(SyntaxToken)Returns this node with closeBraceToken in place of its PowerShellHashLiteralSyntax.CloseBraceToken.
WithEntries(SyntaxList<PowerShellHashEntrySyntax>)Returns this node with entries in place of its PowerShellHashLiteralSyntax.Entries.
WithOpenToken(SyntaxToken)Returns this node with openToken in place of its PowerShellHashLiteralSyntax.OpenToken.

Accept overloads

Accept(ShellSyntaxVisitor)

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

No documentation is available.

Accept<TResult>(ShellSyntaxVisitor<TResult>)

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

TResult?

No documentation is available.

Update(SyntaxToken, SyntaxList<PowerShellHashEntrySyntax>, SyntaxToken)

Syntax.g.cs

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

public PowerShellHashLiteralSyntax Update(SyntaxToken openToken, SyntaxList<PowerShellHashEntrySyntax> entries, SyntaxToken closeBraceToken)

WithCloseBraceToken(SyntaxToken)

Syntax.g.cs

Returns this node with closeBraceToken in place of its PowerShellHashLiteralSyntax.CloseBraceToken.

public PowerShellHashLiteralSyntax WithCloseBraceToken(SyntaxToken closeBraceToken)

Parameters

closeBraceToken SyntaxToken

Returns

PowerShellHashLiteralSyntax

WithEntries(SyntaxList<PowerShellHashEntrySyntax>)

Syntax.g.cs

WithOpenToken(SyntaxToken)

Syntax.g.cs

Returns this node with openToken in place of its PowerShellHashLiteralSyntax.OpenToken.

public PowerShellHashLiteralSyntax WithOpenToken(SyntaxToken openToken)

Parameters

openToken SyntaxToken

Returns

PowerShellHashLiteralSyntax