PipelineChainAst Constructor

Definition

Initializes a new instance of the new statement chain AST from two statements and an operator.

public PipelineChainAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ChainableAst lhsChain, System.Management.Automation.Language.PipelineAst rhsPipeline, System.Management.Automation.Language.TokenKind chainOperator, bool background = false);
new System.Management.Automation.Language.PipelineChainAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ChainableAst * System.Management.Automation.Language.PipelineAst * System.Management.Automation.Language.TokenKind * bool -> System.Management.Automation.Language.PipelineChainAst
Public Sub New (extent As IScriptExtent, lhsChain As ChainableAst, rhsPipeline As PipelineAst, chainOperator As TokenKind, Optional background As Boolean = false)

Parameters

extent
IScriptExtent

The extent of the chained statement.

lhsChain
ChainableAst

The pipeline or pipeline chain to the left of the operator.

rhsPipeline
PipelineAst

The pipeline to the right of the operator.

chainOperator
TokenKind

The operator used.

background
Boolean

True when this chain has been invoked with the background operator, false otherwise.

Applies to