PosixElseClauseSyntax Class
public sealed class PosixElseClauseSyntax : ShellSyntaxNodeNo documentation is available.
- Inheritance
ShellSyntaxNodePosixElseClauseSyntax
Properties
| Name | Description |
|---|---|
| Body | |
| ElseKeyword |
Body
Syntax.g.csElseKeyword
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(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 PosixElseClauseSyntax.Body. |
| WithElseKeyword(SyntaxToken) | Returns this node with elseKeyword in place of its PosixElseClauseSyntax.ElseKeyword. |
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, ShellStatementListSyntax)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PosixElseClauseSyntax Update(SyntaxToken elseKeyword, ShellStatementListSyntax body)WithBody(ShellStatementListSyntax)
Syntax.g.csReturns this node with body in place of its PosixElseClauseSyntax.Body.
public PosixElseClauseSyntax WithBody(ShellStatementListSyntax body)WithElseKeyword(SyntaxToken)
Syntax.g.csReturns this node with elseKeyword in place of its PosixElseClauseSyntax.ElseKeyword.
public PosixElseClauseSyntax WithElseKeyword(SyntaxToken elseKeyword)