ShellQuotedStringSyntax Class
Represents a quoted section of a word.
public sealed class ShellQuotedStringSyntax : ShellWordPartSyntax- Inheritance
ShellWordPartSyntaxShellQuotedStringSyntax
Properties
| Name | Description |
|---|---|
| CloseQuoteToken | |
| IsAnsiC | Returns true for the bash $'...' form, which resolves ANSI-C escapes. |
| IsVerbatim | Returns true for single-quoted text, where neither expansion nor escaping happens. |
| OpenQuoteToken | |
| Parts |
CloseQuoteToken
Syntax.g.csIsAnsiC
ShellQuotedStringSyntax.csIsVerbatim
ShellQuotedStringSyntax.csOpenQuoteToken
Syntax.g.csParts
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken, SyntaxList<ShellWordPartSyntax>, SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithCloseQuoteToken(SyntaxToken) | Returns this node with closeQuoteToken in place of its ShellQuotedStringSyntax.CloseQuoteToken. |
| WithOpenQuoteToken(SyntaxToken) | Returns this node with openQuoteToken in place of its ShellQuotedStringSyntax.OpenQuoteToken. |
| WithParts(SyntaxList<ShellWordPartSyntax>) | Returns this node with parts in place of its ShellQuotedStringSyntax.Parts. |
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, SyntaxList<ShellWordPartSyntax>, SyntaxToken)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public ShellQuotedStringSyntax Update(SyntaxToken openQuoteToken, SyntaxList<ShellWordPartSyntax> parts, SyntaxToken closeQuoteToken)Parameters
openQuoteTokenSyntaxTokenpartsSyntaxList<ShellWordPartSyntax>closeQuoteTokenSyntaxToken
Returns
WithCloseQuoteToken(SyntaxToken)
Syntax.g.csReturns this node with closeQuoteToken in place of its ShellQuotedStringSyntax.CloseQuoteToken.
public ShellQuotedStringSyntax WithCloseQuoteToken(SyntaxToken closeQuoteToken)WithOpenQuoteToken(SyntaxToken)
Syntax.g.csReturns this node with openQuoteToken in place of its ShellQuotedStringSyntax.OpenQuoteToken.
public ShellQuotedStringSyntax WithOpenQuoteToken(SyntaxToken openQuoteToken)WithParts(SyntaxList<ShellWordPartSyntax>)
Syntax.g.csReturns this node with parts in place of its ShellQuotedStringSyntax.Parts.
public ShellQuotedStringSyntax WithParts(SyntaxList<ShellWordPartSyntax> parts)