PowerShellUnaryExpressionSyntax Class
public sealed class PowerShellUnaryExpressionSyntax : ShellExpressionSyntaxNo documentation is available.
- Inheritance
ShellExpressionSyntaxPowerShellUnaryExpressionSyntax
Properties
| Name | Description |
|---|---|
| Operand | |
| PostfixOperatorToken | |
| PrefixOperatorToken |
Operand
Syntax.g.csPostfixOperatorToken
Syntax.g.csPrefixOperatorToken
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, ShellExpressionSyntax, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithOperand(ShellExpressionSyntax) | Returns this node with operand in place of its PowerShellUnaryExpressionSyntax.Operand. |
| WithPostfixOperatorToken(SyntaxToken) | Returns this node with postfixOperatorToken in place of its PowerShellUnaryExpressionSyntax.PostfixOperatorToken. |
| WithPrefixOperatorToken(SyntaxToken) | Returns this node with prefixOperatorToken in place of its PowerShellUnaryExpressionSyntax.PrefixOperatorToken. |
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(SyntaxToken, ShellExpressionSyntax, SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PowerShellUnaryExpressionSyntax Update(SyntaxToken prefixOperatorToken, ShellExpressionSyntax operand, SyntaxToken postfixOperatorToken)Parameters
prefixOperatorTokenSyntaxTokenoperandShellExpressionSyntaxpostfixOperatorTokenSyntaxToken
Returns
WithOperand(ShellExpressionSyntax)
Syntax.g.csReturns this node with operand in place of its PowerShellUnaryExpressionSyntax.Operand.
public PowerShellUnaryExpressionSyntax WithOperand(ShellExpressionSyntax operand)WithPostfixOperatorToken(SyntaxToken)
Syntax.g.csReturns this node with postfixOperatorToken in place of its PowerShellUnaryExpressionSyntax.PostfixOperatorToken.
public PowerShellUnaryExpressionSyntax WithPostfixOperatorToken(SyntaxToken postfixOperatorToken)WithPrefixOperatorToken(SyntaxToken)
Syntax.g.csReturns this node with prefixOperatorToken in place of its PowerShellUnaryExpressionSyntax.PrefixOperatorToken.
public PowerShellUnaryExpressionSyntax WithPrefixOperatorToken(SyntaxToken prefixOperatorToken)