PowerShellForStatementSyntax Class

public sealed class PowerShellForStatementSyntax : ShellStatementSyntax

No documentation is available.

Inheritance
ShellStatementSyntax PowerShellForStatementSyntax

Properties

NameDescription
Body
CloseParenToken
Condition
FirstSemicolonToken
ForKeyword
Initializer
Iterator
OpenParenToken
SecondSemicolonToken
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 ShellSyntaxNode? Condition { get; }

Property value

ShellSyntaxNode?

No documentation is available.

FirstSemicolonToken

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

Property value

SyntaxToken

No documentation is available.

ForKeyword

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

Property value

SyntaxToken

No documentation is available.

Initializer

Syntax.g.cs
public ShellSyntaxNode? Initializer { get; }

Property value

ShellSyntaxNode?

No documentation is available.

Iterator

Syntax.g.cs
public ShellSyntaxNode? Iterator { get; }

Property value

ShellSyntaxNode?

No documentation is available.

OpenParenToken

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

Property value

SyntaxToken

No documentation is available.

SecondSemicolonToken

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxToken, ShellSyntaxNode?, SyntaxToken, ShellSyntaxNode?, SyntaxToken, ShellSyntaxNode?, 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 PowerShellForStatementSyntax.Body.
WithCloseParenToken(SyntaxToken)Returns this node with closeParenToken in place of its PowerShellForStatementSyntax.CloseParenToken.
WithCondition(ShellSyntaxNode?)Returns this node with condition in place of its PowerShellForStatementSyntax.Condition.
WithFirstSemicolonToken(SyntaxToken)Returns this node with firstSemicolonToken in place of its PowerShellForStatementSyntax.FirstSemicolonToken.
WithForKeyword(SyntaxToken)Returns this node with forKeyword in place of its PowerShellForStatementSyntax.ForKeyword.
WithInitializer(ShellSyntaxNode?)Returns this node with initializer in place of its PowerShellForStatementSyntax.Initializer.
WithIterator(ShellSyntaxNode?)Returns this node with iterator in place of its PowerShellForStatementSyntax.Iterator.
WithOpenParenToken(SyntaxToken)Returns this node with openParenToken in place of its PowerShellForStatementSyntax.OpenParenToken.
WithSecondSemicolonToken(SyntaxToken)Returns this node with secondSemicolonToken in place of its PowerShellForStatementSyntax.SecondSemicolonToken.

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

Syntax.g.cs

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

public PowerShellForStatementSyntax Update(SyntaxToken forKeyword, SyntaxToken openParenToken, ShellSyntaxNode? initializer, SyntaxToken firstSemicolonToken, ShellSyntaxNode? condition, SyntaxToken secondSemicolonToken, ShellSyntaxNode? iterator, SyntaxToken closeParenToken, PowerShellScriptBlockSyntax body)

Parameters

forKeyword SyntaxToken
openParenToken SyntaxToken
initializer ShellSyntaxNode?
firstSemicolonToken SyntaxToken
condition ShellSyntaxNode?
secondSemicolonToken SyntaxToken
iterator ShellSyntaxNode?
closeParenToken SyntaxToken
body PowerShellScriptBlockSyntax

Returns

PowerShellForStatementSyntax

WithBody(PowerShellScriptBlockSyntax)

Syntax.g.cs

WithCloseParenToken(SyntaxToken)

Syntax.g.cs

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

public PowerShellForStatementSyntax WithCloseParenToken(SyntaxToken closeParenToken)

Parameters

closeParenToken SyntaxToken

Returns

PowerShellForStatementSyntax

WithCondition(ShellSyntaxNode?)

Syntax.g.cs

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

public PowerShellForStatementSyntax WithCondition(ShellSyntaxNode? condition)

WithFirstSemicolonToken(SyntaxToken)

Syntax.g.cs

Returns this node with firstSemicolonToken in place of its PowerShellForStatementSyntax.FirstSemicolonToken.

public PowerShellForStatementSyntax WithFirstSemicolonToken(SyntaxToken firstSemicolonToken)

Parameters

firstSemicolonToken SyntaxToken

Returns

PowerShellForStatementSyntax

WithForKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with forKeyword in place of its PowerShellForStatementSyntax.ForKeyword.

public PowerShellForStatementSyntax WithForKeyword(SyntaxToken forKeyword)

Parameters

forKeyword SyntaxToken

Returns

PowerShellForStatementSyntax

WithInitializer(ShellSyntaxNode?)

Syntax.g.cs

Returns this node with initializer in place of its PowerShellForStatementSyntax.Initializer.

public PowerShellForStatementSyntax WithInitializer(ShellSyntaxNode? initializer)

WithIterator(ShellSyntaxNode?)

Syntax.g.cs

Returns this node with iterator in place of its PowerShellForStatementSyntax.Iterator.

public PowerShellForStatementSyntax WithIterator(ShellSyntaxNode? iterator)

WithOpenParenToken(SyntaxToken)

Syntax.g.cs

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

public PowerShellForStatementSyntax WithOpenParenToken(SyntaxToken openParenToken)

Parameters

openParenToken SyntaxToken

Returns

PowerShellForStatementSyntax

WithSecondSemicolonToken(SyntaxToken)

Syntax.g.cs

Returns this node with secondSemicolonToken in place of its PowerShellForStatementSyntax.SecondSemicolonToken.

public PowerShellForStatementSyntax WithSecondSemicolonToken(SyntaxToken secondSemicolonToken)

Parameters

secondSemicolonToken SyntaxToken

Returns

PowerShellForStatementSyntax