CmdLabelStatementSyntax Class
Represents a label, :name, which is a jump target for goto and call.
public sealed class CmdLabelStatementSyntax : ShellStatementSyntax- Inheritance
ShellStatementSyntaxCmdLabelStatementSyntax
Properties
| Name | Description |
|---|---|
| ColonToken | |
| Name | The label name without its leading colon. |
| NameToken |
ColonToken
Syntax.g.csNameToken
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. |
| WithColonToken(SyntaxToken) | Returns this node with colonToken in place of its CmdLabelStatementSyntax.ColonToken. |
| WithNameToken(SyntaxToken) | Returns this node with nameToken in place of its CmdLabelStatementSyntax.NameToken. |
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 CmdLabelStatementSyntax Update(SyntaxToken colonToken, SyntaxToken nameToken)WithColonToken(SyntaxToken)
Syntax.g.csReturns this node with colonToken in place of its CmdLabelStatementSyntax.ColonToken.
public CmdLabelStatementSyntax WithColonToken(SyntaxToken colonToken)WithNameToken(SyntaxToken)
Syntax.g.csReturns this node with nameToken in place of its CmdLabelStatementSyntax.NameToken.
public CmdLabelStatementSyntax WithNameToken(SyntaxToken nameToken)