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