PosixProcessSubstitutionSyntax Class

Represents process substitution, <(...) or >(...).

public sealed class PosixProcessSubstitutionSyntax : ShellWordPartSyntax
Inheritance
ShellWordPartSyntax PosixProcessSubstitutionSyntax

Properties

NameDescription
CloseToken
IsFileSubstitutionReturns true for the zsh =(...) form, which writes the output to a temporary file and passes its name rather than using a pipe.
IsInputReturns true for <(...), which the command reads from.
OpenToken
Statements

CloseToken

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

Property value

SyntaxToken

No documentation is available.

Returns true for the zsh =(...) form, which writes the output to a temporary file and passes its name rather than using a pipe.

public bool IsFileSubstitution { get; }

Property value

bool

Returns true for <(...), which the command reads from.

public bool IsInput { get; }

Property value

bool

OpenToken

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

Property value

SyntaxToken

No documentation is available.

Statements

Syntax.g.cs
public ShellStatementListSyntax Statements { get; }

No documentation is available.

Methods

NameDescription
Accept(ShellSyntaxVisitor)
Accept<TResult>(ShellSyntaxVisitor<TResult>)
Update(SyntaxToken, ShellStatementListSyntax, SyntaxToken)Returns this node with the given parts, or itself when nothing changed.
WithCloseToken(SyntaxToken)Returns this node with closeToken in place of its PosixProcessSubstitutionSyntax.CloseToken.
WithOpenToken(SyntaxToken)Returns this node with openToken in place of its PosixProcessSubstitutionSyntax.OpenToken.
WithStatements(ShellStatementListSyntax)Returns this node with statements in place of its PosixProcessSubstitutionSyntax.Statements.

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

Syntax.g.cs

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

public PosixProcessSubstitutionSyntax Update(SyntaxToken openToken, ShellStatementListSyntax statements, SyntaxToken closeToken)

WithCloseToken(SyntaxToken)

Syntax.g.cs

Returns this node with closeToken in place of its PosixProcessSubstitutionSyntax.CloseToken.

public PosixProcessSubstitutionSyntax WithCloseToken(SyntaxToken closeToken)

Parameters

closeToken SyntaxToken

Returns

PosixProcessSubstitutionSyntax

WithOpenToken(SyntaxToken)

Syntax.g.cs

Returns this node with openToken in place of its PosixProcessSubstitutionSyntax.OpenToken.

public PosixProcessSubstitutionSyntax WithOpenToken(SyntaxToken openToken)

WithStatements(ShellStatementListSyntax)

Syntax.g.cs

Returns this node with statements in place of its PosixProcessSubstitutionSyntax.Statements.