PosixCaseClauseSyntax Class
public sealed class PosixCaseClauseSyntax : ShellSyntaxNodeNo documentation is available.
- Inheritance
ShellSyntaxNodePosixCaseClauseSyntax
Properties
| Name | Description |
|---|---|
| Body | |
| CloseParenToken | |
| OpenParenToken | |
| PatternSeparatorTokens | The | tokens separating alternative patterns. |
| Patterns | |
| TerminatorToken |
Body
Syntax.g.csCloseParenToken
Syntax.g.csOpenParenToken
Syntax.g.csPatternSeparatorTokens
PosixCaseClauseSyntax.csThe | tokens separating alternative patterns.
public IReadOnlyList<SyntaxToken> PatternSeparatorTokens { get; }Property value
Patterns
Syntax.g.cspublic SeparatedSyntaxList<ShellWordSyntax> Patterns { get; }Property value
No documentation is available.
TerminatorToken
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SeparatedSyntaxList<ShellWordSyntax>, SyntaxToken, ShellStatementListSyntax, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithBody(ShellStatementListSyntax) | Returns this node with body in place of its PosixCaseClauseSyntax.Body. |
| WithCloseParenToken(SyntaxToken) | Returns this node with closeParenToken in place of its PosixCaseClauseSyntax.CloseParenToken. |
| WithOpenParenToken(SyntaxToken) | Returns this node with openParenToken in place of its PosixCaseClauseSyntax.OpenParenToken. |
| WithPatterns(SeparatedSyntaxList<ShellWordSyntax>) | Returns this node with patterns in place of its PosixCaseClauseSyntax.Patterns. |
| WithTerminatorToken(SyntaxToken) | Returns this node with terminatorToken in place of its PosixCaseClauseSyntax.TerminatorToken. |
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<ShellWordSyntax>, SyntaxToken, ShellStatementListSyntax, SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public PosixCaseClauseSyntax Update(SyntaxToken openParenToken, SeparatedSyntaxList<ShellWordSyntax> patterns, SyntaxToken closeParenToken, ShellStatementListSyntax body, SyntaxToken terminatorToken)Parameters
openParenTokenSyntaxTokenpatternsSeparatedSyntaxList<ShellWordSyntax>closeParenTokenSyntaxTokenbodyShellStatementListSyntaxterminatorTokenSyntaxToken
Returns
WithBody(ShellStatementListSyntax)
Syntax.g.csReturns this node with body in place of its PosixCaseClauseSyntax.Body.
public PosixCaseClauseSyntax WithBody(ShellStatementListSyntax body)WithCloseParenToken(SyntaxToken)
Syntax.g.csReturns this node with closeParenToken in place of its PosixCaseClauseSyntax.CloseParenToken.
public PosixCaseClauseSyntax WithCloseParenToken(SyntaxToken closeParenToken)WithOpenParenToken(SyntaxToken)
Syntax.g.csReturns this node with openParenToken in place of its PosixCaseClauseSyntax.OpenParenToken.
public PosixCaseClauseSyntax WithOpenParenToken(SyntaxToken openParenToken)WithPatterns(SeparatedSyntaxList<ShellWordSyntax>)
Syntax.g.csReturns this node with patterns in place of its PosixCaseClauseSyntax.Patterns.
public PosixCaseClauseSyntax WithPatterns(SeparatedSyntaxList<ShellWordSyntax> patterns)WithTerminatorToken(SyntaxToken)
Syntax.g.csReturns this node with terminatorToken in place of its PosixCaseClauseSyntax.TerminatorToken.
public PosixCaseClauseSyntax WithTerminatorToken(SyntaxToken terminatorToken)