PowerShellInvocationExpressionSyntax Class

public sealed class PowerShellInvocationExpressionSyntax : ShellExpressionSyntax

No documentation is available.

Inheritance
ShellExpressionSyntax PowerShellInvocationExpressionSyntax

Properties

NameDescription
Arguments
CloseParenToken
OpenParenToken
Target

Arguments

Syntax.g.cs
public SeparatedSyntaxList<ShellExpressionSyntax> Arguments { get; }

No documentation is available.

CloseParenToken

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

Property value

SyntaxToken

No documentation is available.

OpenParenToken

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

Property value

SyntaxToken

No documentation is available.

public ShellExpressionSyntax Target { get; }

Property value

ShellExpressionSyntax

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(ShellExpressionSyntax, SyntaxToken, SeparatedSyntaxList<ShellExpressionSyntax>, SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithArguments(SeparatedSyntaxList<ShellExpressionSyntax>)Returns this node with arguments in place of its PowerShellInvocationExpressionSyntax.Arguments.
WithCloseParenToken(SyntaxToken)Returns this node with closeParenToken in place of its PowerShellInvocationExpressionSyntax.CloseParenToken.
WithOpenParenToken(SyntaxToken)Returns this node with openParenToken in place of its PowerShellInvocationExpressionSyntax.OpenParenToken.
WithTarget(ShellExpressionSyntax)Returns this node with target in place of its PowerShellInvocationExpressionSyntax.Target.

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(ShellExpressionSyntax, SyntaxToken, SeparatedSyntaxList<ShellExpressionSyntax>, SyntaxToken)

Syntax.g.cs

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

WithArguments(SeparatedSyntaxList<ShellExpressionSyntax>)

Syntax.g.cs

WithCloseParenToken(SyntaxToken)

Syntax.g.cs

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

public PowerShellInvocationExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken)

Parameters

closeParenToken SyntaxToken

Returns

PowerShellInvocationExpressionSyntax

WithOpenParenToken(SyntaxToken)

Syntax.g.cs

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

public PowerShellInvocationExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken)

Parameters

openParenToken SyntaxToken

Returns

PowerShellInvocationExpressionSyntax

WithTarget(ShellExpressionSyntax)

Syntax.g.cs