PowerShellLiteralExpressionSyntax Class
Represents a number, a verbatim string, or a bare word used as a value.
public sealed class PowerShellLiteralExpressionSyntax : ShellExpressionSyntax- Inheritance
ShellExpressionSyntaxPowerShellLiteralExpressionSyntax
Properties
| Name | Description |
|---|---|
| Token | |
| Value | The literal value with quoting resolved. |
Token
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. |
| WithToken(SyntaxToken) | Returns this node with token in place of its PowerShellLiteralExpressionSyntax.Token. |
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 PowerShellLiteralExpressionSyntax Update(SyntaxToken token)WithToken(SyntaxToken)
Syntax.g.csReturns this node with token in place of its PowerShellLiteralExpressionSyntax.Token.
public PowerShellLiteralExpressionSyntax WithToken(SyntaxToken token)