PowerShellFinallyClauseSyntax Class

public sealed class PowerShellFinallyClauseSyntax : ShellSyntaxNode

No documentation is available.

Inheritance
ShellSyntaxNode PowerShellFinallyClauseSyntax

Properties

NameDescription
Body
FinallyKeyword
public PowerShellScriptBlockSyntax Body { get; }

No documentation is available.

FinallyKeyword

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, PowerShellScriptBlockSyntax)Returns this node with the given parts, or itself when nothing changed.
WithBody(PowerShellScriptBlockSyntax)Returns this node with body in place of its PowerShellFinallyClauseSyntax.Body.
WithFinallyKeyword(SyntaxToken)Returns this node with finallyKeyword in place of its PowerShellFinallyClauseSyntax.FinallyKeyword.

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

Syntax.g.cs

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

WithBody(PowerShellScriptBlockSyntax)

Syntax.g.cs

WithFinallyKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with finallyKeyword in place of its PowerShellFinallyClauseSyntax.FinallyKeyword.

public PowerShellFinallyClauseSyntax WithFinallyKeyword(SyntaxToken finallyKeyword)

Parameters

finallyKeyword SyntaxToken

Returns

PowerShellFinallyClauseSyntax