PowerShellCatchClauseSyntax Class

public sealed class PowerShellCatchClauseSyntax : ShellSyntaxNode

No documentation is available.

Inheritance
ShellSyntaxNode PowerShellCatchClauseSyntax

Properties

NameDescription
Body
CatchKeyword
TypeFilters
public PowerShellScriptBlockSyntax Body { get; }

No documentation is available.

CatchKeyword

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

Property value

SyntaxToken

No documentation is available.

TypeFilters

Syntax.g.cs

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, SeparatedSyntaxList<PowerShellTypeLiteralSyntax>, PowerShellScriptBlockSyntax)Returns this node with the given parts, or itself when nothing changed.
WithBody(PowerShellScriptBlockSyntax)Returns this node with body in place of its PowerShellCatchClauseSyntax.Body.
WithCatchKeyword(SyntaxToken)Returns this node with catchKeyword in place of its PowerShellCatchClauseSyntax.CatchKeyword.
WithTypeFilters(SeparatedSyntaxList<PowerShellTypeLiteralSyntax>)Returns this node with typeFilters in place of its PowerShellCatchClauseSyntax.TypeFilters.

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

Syntax.g.cs

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

WithBody(PowerShellScriptBlockSyntax)

Syntax.g.cs

WithCatchKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with catchKeyword in place of its PowerShellCatchClauseSyntax.CatchKeyword.

public PowerShellCatchClauseSyntax WithCatchKeyword(SyntaxToken catchKeyword)

Parameters

catchKeyword SyntaxToken

Returns

PowerShellCatchClauseSyntax

WithTypeFilters(SeparatedSyntaxList<PowerShellTypeLiteralSyntax>)

Syntax.g.cs