PowerShellTernaryExpressionSyntax Class

public sealed class PowerShellTernaryExpressionSyntax : ShellExpressionSyntax

No documentation is available.

Inheritance
ShellExpressionSyntax PowerShellTernaryExpressionSyntax

Properties

NameDescription
ColonToken
Condition
QuestionToken
WhenFalse
WhenTrue

ColonToken

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

Property value

SyntaxToken

No documentation is available.

Condition

Syntax.g.cs
public ShellExpressionSyntax Condition { get; }

Property value

ShellExpressionSyntax

No documentation is available.

QuestionToken

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

Property value

SyntaxToken

No documentation is available.

WhenFalse

Syntax.g.cs
public ShellExpressionSyntax WhenFalse { get; }

Property value

ShellExpressionSyntax

No documentation is available.

WhenTrue

Syntax.g.cs
public ShellExpressionSyntax WhenTrue { get; }

Property value

ShellExpressionSyntax

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(ShellExpressionSyntax, SyntaxToken, ShellExpressionSyntax, SyntaxToken, ShellExpressionSyntax)Returns this node with the given parts, or itself when nothing changed.
WithColonToken(SyntaxToken)Returns this node with colonToken in place of its PowerShellTernaryExpressionSyntax.ColonToken.
WithCondition(ShellExpressionSyntax)Returns this node with condition in place of its PowerShellTernaryExpressionSyntax.Condition.
WithQuestionToken(SyntaxToken)Returns this node with questionToken in place of its PowerShellTernaryExpressionSyntax.QuestionToken.
WithWhenFalse(ShellExpressionSyntax)Returns this node with whenFalse in place of its PowerShellTernaryExpressionSyntax.WhenFalse.
WithWhenTrue(ShellExpressionSyntax)Returns this node with whenTrue in place of its PowerShellTernaryExpressionSyntax.WhenTrue.

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

Syntax.g.cs

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

WithColonToken(SyntaxToken)

Syntax.g.cs

Returns this node with colonToken in place of its PowerShellTernaryExpressionSyntax.ColonToken.

public PowerShellTernaryExpressionSyntax WithColonToken(SyntaxToken colonToken)

WithCondition(ShellExpressionSyntax)

Syntax.g.cs

Returns this node with condition in place of its PowerShellTernaryExpressionSyntax.Condition.

WithQuestionToken(SyntaxToken)

Syntax.g.cs

Returns this node with questionToken in place of its PowerShellTernaryExpressionSyntax.QuestionToken.

public PowerShellTernaryExpressionSyntax WithQuestionToken(SyntaxToken questionToken)

Parameters

questionToken SyntaxToken

Returns

PowerShellTernaryExpressionSyntax

WithWhenFalse(ShellExpressionSyntax)

Syntax.g.cs

Returns this node with whenFalse in place of its PowerShellTernaryExpressionSyntax.WhenFalse.

WithWhenTrue(ShellExpressionSyntax)

Syntax.g.cs

Returns this node with whenTrue in place of its PowerShellTernaryExpressionSyntax.WhenTrue.