PowerShellUsingStatementSyntax Class

public sealed class PowerShellUsingStatementSyntax : ShellStatementSyntax

No documentation is available.

Inheritance
ShellStatementSyntax PowerShellUsingStatementSyntax

Properties

NameDescription
KindToken
Target
UsingKeyword

KindToken

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

Property value

SyntaxToken

No documentation is available.

public ShellSyntaxNode Target { get; }

Property value

ShellSyntaxNode

No documentation is available.

UsingKeyword

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

Property value

SyntaxToken

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxToken, ShellSyntaxNode)Returns this node with the given parts, or itself when nothing changed.
WithKindToken(SyntaxToken)Returns this node with kindToken in place of its PowerShellUsingStatementSyntax.KindToken.
WithTarget(ShellSyntaxNode)Returns this node with target in place of its PowerShellUsingStatementSyntax.Target.
WithUsingKeyword(SyntaxToken)Returns this node with usingKeyword in place of its PowerShellUsingStatementSyntax.UsingKeyword.

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, SyntaxToken, ShellSyntaxNode)

Syntax.g.cs

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

public PowerShellUsingStatementSyntax Update(SyntaxToken usingKeyword, SyntaxToken kindToken, ShellSyntaxNode target)

Parameters

usingKeyword SyntaxToken
kindToken SyntaxToken
target ShellSyntaxNode

Returns

PowerShellUsingStatementSyntax

WithKindToken(SyntaxToken)

Syntax.g.cs

Returns this node with kindToken in place of its PowerShellUsingStatementSyntax.KindToken.

public PowerShellUsingStatementSyntax WithKindToken(SyntaxToken kindToken)

WithTarget(ShellSyntaxNode)

Syntax.g.cs

Returns this node with target in place of its PowerShellUsingStatementSyntax.Target.

WithUsingKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with usingKeyword in place of its PowerShellUsingStatementSyntax.UsingKeyword.

public PowerShellUsingStatementSyntax WithUsingKeyword(SyntaxToken usingKeyword)

Parameters

usingKeyword SyntaxToken

Returns

PowerShellUsingStatementSyntax