PowerShellExpressionStatementSyntax Class
public sealed class PowerShellExpressionStatementSyntax : ShellStatementSyntaxNo documentation is available.
- Inheritance
ShellStatementSyntaxPowerShellExpressionStatementSyntax
Properties
| Name | Description |
|---|---|
| Expression | |
| Redirections |
Expression
Syntax.g.csRedirections
Syntax.g.cspublic SyntaxList<ShellRedirectionSyntax> Redirections { get; }Property value
No documentation is available.
Methods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(ShellSyntaxNode, SyntaxList<ShellRedirectionSyntax>) | Returns this node with the given parts, or itself when nothing changed. |
| WithExpression(ShellSyntaxNode) | Returns this node with expression in place of its PowerShellExpressionStatementSyntax.Expression. |
| WithRedirections(SyntaxList<ShellRedirectionSyntax>) | Returns this node with redirections in place of its PowerShellExpressionStatementSyntax.Redirections. |
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(ShellSyntaxNode, SyntaxList<ShellRedirectionSyntax>)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PowerShellExpressionStatementSyntax Update(ShellSyntaxNode expression, SyntaxList<ShellRedirectionSyntax> redirections)WithExpression(ShellSyntaxNode)
Syntax.g.csReturns this node with expression in place of its PowerShellExpressionStatementSyntax.Expression.
public PowerShellExpressionStatementSyntax WithExpression(ShellSyntaxNode expression)WithRedirections(SyntaxList<ShellRedirectionSyntax>)
Syntax.g.csReturns this node with redirections in place of its PowerShellExpressionStatementSyntax.Redirections.
public PowerShellExpressionStatementSyntax WithRedirections(SyntaxList<ShellRedirectionSyntax> redirections)