ShellQuotedStringSyntax Class

Represents a quoted section of a word.

public sealed class ShellQuotedStringSyntax : ShellWordPartSyntax
Inheritance
ShellWordPartSyntax ShellQuotedStringSyntax

Properties

NameDescription
CloseQuoteToken
IsAnsiCReturns true for the bash $'...' form, which resolves ANSI-C escapes.
IsVerbatimReturns true for single-quoted text, where neither expansion nor escaping happens.
OpenQuoteToken
Parts

CloseQuoteToken

Syntax.g.cs
public SyntaxToken CloseQuoteToken { get; }

Property value

SyntaxToken

No documentation is available.

Returns true for the bash $'...' form, which resolves ANSI-C escapes.

public bool IsAnsiC { get; }

Property value

bool

Returns true for single-quoted text, where neither expansion nor escaping happens.

public bool IsVerbatim { get; }

Property value

bool

OpenQuoteToken

Syntax.g.cs
public SyntaxToken OpenQuoteToken { get; }

Property value

SyntaxToken

No documentation is available.

public SyntaxList<ShellWordPartSyntax> Parts { get; }

No documentation is available.

Methods

NameDescription
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.cs
public override void Accept(ShellSyntaxVisitor visitor)
Parameters
visitor ShellSyntaxVisitor

No documentation is available.

Accept<TResult>(ShellSyntaxVisitor<TResult>)

Syntax.g.cs
public override TResult? Accept<TResult>(ShellSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor ShellSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.

Update(SyntaxToken, SyntaxList<ShellWordPartSyntax>, SyntaxToken)

Syntax.g.cs

Returns this node with the given parts, or itself when nothing changed.

public ShellQuotedStringSyntax Update(SyntaxToken openQuoteToken, SyntaxList<ShellWordPartSyntax> parts, SyntaxToken closeQuoteToken)

Parameters

openQuoteToken SyntaxToken
parts SyntaxList<ShellWordPartSyntax>
closeQuoteToken SyntaxToken

Returns

ShellQuotedStringSyntax

WithCloseQuoteToken(SyntaxToken)

Syntax.g.cs

Returns this node with closeQuoteToken in place of its ShellQuotedStringSyntax.CloseQuoteToken.

public ShellQuotedStringSyntax WithCloseQuoteToken(SyntaxToken closeQuoteToken)

Parameters

closeQuoteToken SyntaxToken

Returns

ShellQuotedStringSyntax

WithOpenQuoteToken(SyntaxToken)

Syntax.g.cs

Returns this node with openQuoteToken in place of its ShellQuotedStringSyntax.OpenQuoteToken.

public ShellQuotedStringSyntax WithOpenQuoteToken(SyntaxToken openQuoteToken)

Parameters

openQuoteToken SyntaxToken

Returns

ShellQuotedStringSyntax

WithParts(SyntaxList<ShellWordPartSyntax>)

Syntax.g.cs

Returns this node with parts in place of its ShellQuotedStringSyntax.Parts.