PowerShellExpressionStatementSyntax Class

public sealed class PowerShellExpressionStatementSyntax : ShellStatementSyntax

No documentation is available.

Inheritance
ShellStatementSyntax PowerShellExpressionStatementSyntax

Properties

NameDescription
Expression
Redirections

Expression

Syntax.g.cs
public ShellSyntaxNode Expression { get; }

Property value

ShellSyntaxNode

No documentation is available.

Redirections

Syntax.g.cs
public SyntaxList<ShellRedirectionSyntax> Redirections { get; }

No documentation is available.

Methods

NameDescription
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.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(ShellSyntaxNode, SyntaxList<ShellRedirectionSyntax>)

Syntax.g.cs

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

WithExpression(ShellSyntaxNode)

Syntax.g.cs

Returns this node with expression in place of its PowerShellExpressionStatementSyntax.Expression.

public PowerShellExpressionStatementSyntax WithExpression(ShellSyntaxNode expression)

WithRedirections(SyntaxList<ShellRedirectionSyntax>)

Syntax.g.cs

Returns this node with redirections in place of its PowerShellExpressionStatementSyntax.Redirections.