ShellPipelineSyntax Class
public sealed class ShellPipelineSyntax : ShellStatementSyntaxNo documentation is available.
- Inheritance
ShellStatementSyntaxShellPipelineSyntax
Properties
| Name | Description |
|---|---|
| BangToken | |
| Commands | |
| OperatorTokens | The operators joining the commands. |
BangToken
Syntax.g.csCommands
Syntax.g.cspublic SeparatedSyntaxList<ShellStatementSyntax> Commands { get; }Property value
No documentation is available.
OperatorTokens
ShellPipelineSyntax.csThe operators joining the commands.
public IReadOnlyList<SyntaxToken> OperatorTokens { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SeparatedSyntaxList<ShellStatementSyntax>) | Returns this node with the given parts, or itself when nothing changed. |
| WithBangToken(SyntaxToken) | Returns this node with bangToken in place of its ShellPipelineSyntax.BangToken. |
| WithCommands(SeparatedSyntaxList<ShellStatementSyntax>) | Returns this node with commands in place of its ShellPipelineSyntax.Commands. |
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, SeparatedSyntaxList<ShellStatementSyntax>)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public ShellPipelineSyntax Update(SyntaxToken bangToken, SeparatedSyntaxList<ShellStatementSyntax> commands)WithBangToken(SyntaxToken)
Syntax.g.csReturns this node with bangToken in place of its ShellPipelineSyntax.BangToken.
public ShellPipelineSyntax WithBangToken(SyntaxToken bangToken)WithCommands(SeparatedSyntaxList<ShellStatementSyntax>)
Syntax.g.csReturns this node with commands in place of its ShellPipelineSyntax.Commands.
public ShellPipelineSyntax WithCommands(SeparatedSyntaxList<ShellStatementSyntax> commands)