CmdGotoStatementSyntax Class
Represents a goto statement.
public sealed class CmdGotoStatementSyntax : ShellStatementSyntax- Inheritance
ShellStatementSyntaxCmdGotoStatementSyntax
Properties
| Name | Description |
|---|---|
| GotoKeyword | |
| Label | The target label without any leading colon. |
| LabelToken |
GotoKeyword
Syntax.g.csLabelToken
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithGotoKeyword(SyntaxToken) | Returns this node with gotoKeyword in place of its CmdGotoStatementSyntax.GotoKeyword. |
| WithLabelToken(SyntaxToken) | Returns this node with labelToken in place of its CmdGotoStatementSyntax.LabelToken. |
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, SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public CmdGotoStatementSyntax Update(SyntaxToken gotoKeyword, SyntaxToken labelToken)WithGotoKeyword(SyntaxToken)
Syntax.g.csReturns this node with gotoKeyword in place of its CmdGotoStatementSyntax.GotoKeyword.
public CmdGotoStatementSyntax WithGotoKeyword(SyntaxToken gotoKeyword)WithLabelToken(SyntaxToken)
Syntax.g.csReturns this node with labelToken in place of its CmdGotoStatementSyntax.LabelToken.
public CmdGotoStatementSyntax WithLabelToken(SyntaxToken labelToken)