PosixElifClauseSyntax Class

public sealed class PosixElifClauseSyntax : ShellSyntaxNode

No documentation is available.

Inheritance
ShellSyntaxNode PosixElifClauseSyntax

Properties

NameDescription
Body
Condition
ElifKeyword
ThenKeyword
public ShellStatementListSyntax Body { get; }

No documentation is available.

Condition

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

No documentation is available.

ElifKeyword

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

Property value

SyntaxToken

No documentation is available.

ThenKeyword

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, ShellStatementListSyntax, SyntaxToken, ShellStatementListSyntax)Returns this node with the given parts, or itself when nothing changed.
WithBody(ShellStatementListSyntax)Returns this node with body in place of its PosixElifClauseSyntax.Body.
WithCondition(ShellStatementListSyntax)Returns this node with condition in place of its PosixElifClauseSyntax.Condition.
WithElifKeyword(SyntaxToken)Returns this node with elifKeyword in place of its PosixElifClauseSyntax.ElifKeyword.
WithThenKeyword(SyntaxToken)Returns this node with thenKeyword in place of its PosixElifClauseSyntax.ThenKeyword.

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

Syntax.g.cs

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

public PosixElifClauseSyntax Update(SyntaxToken elifKeyword, ShellStatementListSyntax condition, SyntaxToken thenKeyword, ShellStatementListSyntax body)

WithBody(ShellStatementListSyntax)

Syntax.g.cs

Returns this node with body in place of its PosixElifClauseSyntax.Body.

WithCondition(ShellStatementListSyntax)

Syntax.g.cs

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

public PosixElifClauseSyntax WithCondition(ShellStatementListSyntax condition)

WithElifKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with elifKeyword in place of its PosixElifClauseSyntax.ElifKeyword.

public PosixElifClauseSyntax WithElifKeyword(SyntaxToken elifKeyword)

Parameters

elifKeyword SyntaxToken

Returns

PosixElifClauseSyntax

WithThenKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with thenKeyword in place of its PosixElifClauseSyntax.ThenKeyword.

public PosixElifClauseSyntax WithThenKeyword(SyntaxToken thenKeyword)

Parameters

thenKeyword SyntaxToken

Returns

PosixElifClauseSyntax