PowerShellParamBlockSyntax Class

public sealed class PowerShellParamBlockSyntax : ShellStatementSyntax

No documentation is available.

Inheritance
ShellStatementSyntax PowerShellParamBlockSyntax

Properties

NameDescription
Attributes
CloseParenToken
OpenParenToken
ParamKeyword
Parameters

Attributes

Syntax.g.cs
public SyntaxList<PowerShellAttributeSyntax> Attributes { get; }

No documentation is available.

CloseParenToken

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

Property value

SyntaxToken

No documentation is available.

OpenParenToken

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

Property value

SyntaxToken

No documentation is available.

ParamKeyword

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

Property value

SyntaxToken

No documentation is available.

Parameters

Syntax.g.cs

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxList<PowerShellAttributeSyntax>, SyntaxToken, SyntaxToken, SeparatedSyntaxList<PowerShellParameterSyntax>, SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithAttributes(SyntaxList<PowerShellAttributeSyntax>)Returns this node with attributes in place of its PowerShellParamBlockSyntax.Attributes.
WithCloseParenToken(SyntaxToken)Returns this node with closeParenToken in place of its PowerShellParamBlockSyntax.CloseParenToken.
WithOpenParenToken(SyntaxToken)Returns this node with openParenToken in place of its PowerShellParamBlockSyntax.OpenParenToken.
WithParamKeyword(SyntaxToken)Returns this node with paramKeyword in place of its PowerShellParamBlockSyntax.ParamKeyword.
WithParameters(SeparatedSyntaxList<PowerShellParameterSyntax>)Returns this node with parameters in place of its PowerShellParamBlockSyntax.Parameters.

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(SyntaxList<PowerShellAttributeSyntax>, SyntaxToken, SyntaxToken, SeparatedSyntaxList<PowerShellParameterSyntax>, SyntaxToken)

Syntax.g.cs

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

public PowerShellParamBlockSyntax Update(SyntaxList<PowerShellAttributeSyntax> attributes, SyntaxToken paramKeyword, SyntaxToken openParenToken, SeparatedSyntaxList<PowerShellParameterSyntax> parameters, SyntaxToken closeParenToken)

WithAttributes(SyntaxList<PowerShellAttributeSyntax>)

Syntax.g.cs

Returns this node with attributes in place of its PowerShellParamBlockSyntax.Attributes.

WithCloseParenToken(SyntaxToken)

Syntax.g.cs

Returns this node with closeParenToken in place of its PowerShellParamBlockSyntax.CloseParenToken.

public PowerShellParamBlockSyntax WithCloseParenToken(SyntaxToken closeParenToken)

Parameters

closeParenToken SyntaxToken

Returns

PowerShellParamBlockSyntax

WithOpenParenToken(SyntaxToken)

Syntax.g.cs

Returns this node with openParenToken in place of its PowerShellParamBlockSyntax.OpenParenToken.

public PowerShellParamBlockSyntax WithOpenParenToken(SyntaxToken openParenToken)

Parameters

openParenToken SyntaxToken

Returns

PowerShellParamBlockSyntax

WithParamKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with paramKeyword in place of its PowerShellParamBlockSyntax.ParamKeyword.

public PowerShellParamBlockSyntax WithParamKeyword(SyntaxToken paramKeyword)

Parameters

paramKeyword SyntaxToken

Returns

PowerShellParamBlockSyntax

WithParameters(SeparatedSyntaxList<PowerShellParameterSyntax>)

Syntax.g.cs