PosixPrefixedStatementSyntax Class

public sealed class PosixPrefixedStatementSyntax : ShellStatementSyntax

No documentation is available.

Inheritance
ShellStatementSyntax PosixPrefixedStatementSyntax

Properties

NameDescription
Keyword
NameToken
Statement
public SyntaxToken Keyword { get; }

Property value

SyntaxToken

No documentation is available.

NameToken

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

Property value

SyntaxToken

No documentation is available.

Statement

Syntax.g.cs
public ShellStatementSyntax Statement { get; }

Property value

ShellStatementSyntax

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, SyntaxToken, ShellStatementSyntax)Returns this node with the given parts, or itself when nothing changed.
WithKeyword(SyntaxToken)Returns this node with keyword in place of its PosixPrefixedStatementSyntax.Keyword.
WithNameToken(SyntaxToken)Returns this node with nameToken in place of its PosixPrefixedStatementSyntax.NameToken.
WithStatement(ShellStatementSyntax)Returns this node with statement in place of its PosixPrefixedStatementSyntax.Statement.

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, ShellStatementSyntax)

Syntax.g.cs

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

public PosixPrefixedStatementSyntax Update(SyntaxToken keyword, SyntaxToken nameToken, ShellStatementSyntax statement)

WithKeyword(SyntaxToken)

Syntax.g.cs

Returns this node with keyword in place of its PosixPrefixedStatementSyntax.Keyword.

public PosixPrefixedStatementSyntax WithKeyword(SyntaxToken keyword)

WithNameToken(SyntaxToken)

Syntax.g.cs

Returns this node with nameToken in place of its PosixPrefixedStatementSyntax.NameToken.

public PosixPrefixedStatementSyntax WithNameToken(SyntaxToken nameToken)

Parameters

nameToken SyntaxToken

Returns

PosixPrefixedStatementSyntax

WithStatement(ShellStatementSyntax)

Syntax.g.cs

Returns this node with statement in place of its PosixPrefixedStatementSyntax.Statement.

public PosixPrefixedStatementSyntax WithStatement(ShellStatementSyntax statement)