ShellRawExpressionSyntax Class
Represents expression text kept verbatim, without further structure. Used for constructs whose inner grammar the tree does not model, and as the never-throw fallback when text cannot be parsed as an expression.
public sealed class ShellRawExpressionSyntax : ShellExpressionSyntax- Inheritance
ShellExpressionSyntaxShellRawExpressionSyntax
Properties
| Name | Description |
|---|---|
| Text | The raw expression text. |
| TextToken |
TextToken
Syntax.g.csMethods
| Name | Description |
|---|---|
| Accept(ShellSyntaxVisitor) | |
| Accept<TResult>(ShellSyntaxVisitor<TResult>) | |
| Update(SyntaxToken) | Returns this node with the given parts, or itself when nothing changed. |
| WithTextToken(SyntaxToken) | Returns this node with textToken in place of its ShellRawExpressionSyntax.TextToken. |
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)
Syntax.g.csReturns this node with the given parts, or itself when nothing changed.
public ShellRawExpressionSyntax Update(SyntaxToken textToken)WithTextToken(SyntaxToken)
Syntax.g.csReturns this node with textToken in place of its ShellRawExpressionSyntax.TextToken.
public ShellRawExpressionSyntax WithTextToken(SyntaxToken textToken)