PowerShellWhileStatementSyntax Class

public sealed class PowerShellWhileStatementSyntax : ShellStatementSyntax

No documentation is available.

Inheritance
ShellStatementSyntax PowerShellWhileStatementSyntax

Properties

NameDescription
Body
CloseParenToken
Condition
OpenParenToken
WhileKeyword
public PowerShellScriptBlockSyntax Body { get; }

No documentation is available.

CloseParenToken

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

Property value

SyntaxToken

No documentation is available.

Condition

Syntax.g.cs
public ShellStatementListSyntax Condition { get; }

No documentation is available.

OpenParenToken

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

Property value

SyntaxToken

No documentation is available.

WhileKeyword

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxToken, ShellStatementListSyntax, 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 PowerShellWhileStatementSyntax.Body.
WithCloseParenToken(SyntaxToken)Returns this node with closeParenToken in place of its PowerShellWhileStatementSyntax.CloseParenToken.
WithCondition(ShellStatementListSyntax)Returns this node with condition in place of its PowerShellWhileStatementSyntax.Condition.
WithOpenParenToken(SyntaxToken)Returns this node with openParenToken in place of its PowerShellWhileStatementSyntax.OpenParenToken.
WithWhileKeyword(SyntaxToken)Returns this node with whileKeyword in place of its PowerShellWhileStatementSyntax.WhileKeyword.

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

Syntax.g.cs

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

public PowerShellWhileStatementSyntax Update(SyntaxToken whileKeyword, SyntaxToken openParenToken, ShellStatementListSyntax condition, SyntaxToken closeParenToken, PowerShellScriptBlockSyntax body)

Parameters

whileKeyword SyntaxToken
openParenToken SyntaxToken
condition ShellStatementListSyntax
closeParenToken SyntaxToken
body PowerShellScriptBlockSyntax

Returns

PowerShellWhileStatementSyntax

WithBody(PowerShellScriptBlockSyntax)

Syntax.g.cs

WithCloseParenToken(SyntaxToken)

Syntax.g.cs

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

public PowerShellWhileStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken)

Parameters

closeParenToken SyntaxToken

Returns

PowerShellWhileStatementSyntax

WithCondition(ShellStatementListSyntax)

Syntax.g.cs

Returns this node with condition in place of its PowerShellWhileStatementSyntax.Condition.

WithOpenParenToken(SyntaxToken)

Syntax.g.cs

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

public PowerShellWhileStatementSyntax WithOpenParenToken(SyntaxToken openParenToken)

Parameters

openParenToken SyntaxToken

Returns

PowerShellWhileStatementSyntax

WithWhileKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with whileKeyword in place of its PowerShellWhileStatementSyntax.WhileKeyword.

public PowerShellWhileStatementSyntax WithWhileKeyword(SyntaxToken whileKeyword)

Parameters

whileKeyword SyntaxToken

Returns

PowerShellWhileStatementSyntax