PowerShellWhileStatementSyntax Class
public sealed class PowerShellWhileStatementSyntax : ShellStatementSyntaxNo documentation is available.
- Inheritance
ShellStatementSyntaxPowerShellWhileStatementSyntax
Properties
| Name | Description |
|---|---|
| Body | |
| CloseParenToken | |
| Condition | |
| OpenParenToken | |
| WhileKeyword |
Body
Syntax.g.csCloseParenToken
Syntax.g.csCondition
Syntax.g.csOpenParenToken
Syntax.g.csWhileKeyword
Syntax.g.csMethods
| Name | Description |
|---|---|
| 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.cspublic override void Accept(ShellSyntaxVisitor visitor)Parameters
visitorShellSyntaxVisitor
No documentation is available.
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Syntax.g.cspublic override TResult? Accept<TResult>(ShellSyntaxVisitor<TResult> visitor)No documentation is available.
Update(SyntaxToken, SyntaxToken, ShellStatementListSyntax, SyntaxToken, PowerShellScriptBlockSyntax)
Syntax.g.csReturns 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
whileKeywordSyntaxTokenopenParenTokenSyntaxTokenconditionShellStatementListSyntaxcloseParenTokenSyntaxTokenbodyPowerShellScriptBlockSyntax
Returns
WithBody(PowerShellScriptBlockSyntax)
Syntax.g.csReturns this node with body in place of its PowerShellWhileStatementSyntax.Body.
public PowerShellWhileStatementSyntax WithBody(PowerShellScriptBlockSyntax body)WithCloseParenToken(SyntaxToken)
Syntax.g.csReturns this node with closeParenToken in place of its PowerShellWhileStatementSyntax.CloseParenToken.
public PowerShellWhileStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken)WithCondition(ShellStatementListSyntax)
Syntax.g.csReturns this node with condition in place of its PowerShellWhileStatementSyntax.Condition.
public PowerShellWhileStatementSyntax WithCondition(ShellStatementListSyntax condition)WithOpenParenToken(SyntaxToken)
Syntax.g.csReturns this node with openParenToken in place of its PowerShellWhileStatementSyntax.OpenParenToken.
public PowerShellWhileStatementSyntax WithOpenParenToken(SyntaxToken openParenToken)WithWhileKeyword(SyntaxToken)
Syntax.g.csReturns this node with whileKeyword in place of its PowerShellWhileStatementSyntax.WhileKeyword.
public PowerShellWhileStatementSyntax WithWhileKeyword(SyntaxToken whileKeyword)