ShellStatementListSyntax Class
public sealed class ShellStatementListSyntax : ShellSyntaxNodeNo documentation is available.
- Inheritance
ShellSyntaxNodeShellStatementListSyntax
Properties
| Name | Description |
|---|---|
| SeparatorTokens | The separators between the statements. |
| Statements |
SeparatorTokens
ShellStatementListSyntax.csThe separators between the statements.
public IReadOnlyList<SyntaxToken> SeparatorTokens { get; }Property value
Statements
Syntax.g.cspublic SeparatedSyntaxList<ShellStatementSyntax> Statements { get; }Property value
No documentation is available.
Methods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SeparatedSyntaxList<ShellStatementSyntax>) | Returns this node with the given parts, or itself when nothing changed. |
| WithStatements(SeparatedSyntaxList<ShellStatementSyntax>) | Returns this node with statements in place of its ShellStatementListSyntax.Statements. |
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(SeparatedSyntaxList<ShellStatementSyntax>)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public ShellStatementListSyntax Update(SeparatedSyntaxList<ShellStatementSyntax> statements)WithStatements(SeparatedSyntaxList<ShellStatementSyntax>)
Syntax.g.csReturns this node with statements in place of its ShellStatementListSyntax.Statements.
public ShellStatementListSyntax WithStatements(SeparatedSyntaxList<ShellStatementSyntax> statements)