public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body) : base(extent, label, expression, body) { if ((expression == null) || (variable == null)) { throw PSTraceSource.NewArgumentNullException((expression == null) ? "expression" : "variablePath"); } this.Flags = flags; this.Variable = variable; base.SetParent(variable); }
public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body) : base(extent, label, expression, body) { if ((expression == null) || (variable == null)) { throw PSTraceSource.NewArgumentNullException((expression == null) ? "expression" : "variablePath"); } this.Flags = flags; this.Variable = variable; base.SetParent(variable); }
public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body) : base(extent, label, expression, body) { this.Flags = flags; this.Variable = variable; }
public ForEachStatementAst(IScriptExtent extent, string label, ForEachFlags flags, VariableExpressionAst variable, PipelineBaseAst expression, StatementBlockAst body) : base(extent, label, expression, body) { this.Flags = flags; this.Variable = variable; }