PowerShellCastExpressionSyntax Class

public sealed class PowerShellCastExpressionSyntax : ShellExpressionSyntax

No documentation is available.

Inheritance
ShellExpressionSyntax PowerShellCastExpressionSyntax

Properties

NameDescription
Operand
Type
public ShellExpressionSyntax Operand { get; }

Property value

ShellExpressionSyntax

No documentation is available.

public PowerShellTypeLiteralSyntax Type { get; }

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(PowerShellTypeLiteralSyntax, ShellExpressionSyntax)Returns this node with the given parts, or itself when nothing changed.
WithOperand(ShellExpressionSyntax)Returns this node with operand in place of its PowerShellCastExpressionSyntax.Operand.
WithType(PowerShellTypeLiteralSyntax)Returns this node with type in place of its PowerShellCastExpressionSyntax.Type.

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

Syntax.g.cs

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

WithOperand(ShellExpressionSyntax)

Syntax.g.cs

Returns this node with operand in place of its PowerShellCastExpressionSyntax.Operand.

WithType(PowerShellTypeLiteralSyntax)

Syntax.g.cs